Function at 0x4a38c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x29c
push ebx
push esi
mov ebx, ecx
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x50], ebx
call fcn.004c4320
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
mov ecx, ebx
call fcn.0049a920
lea ecx, [esp + 0x14]
call fcn.004c46f0
test eax, eax
jne 0x4a5f56
push 0x100bcd24
lea ecx, [esp + 0x18]
call fcn.004c4860
test eax, eax
jne 0x4a5f56
push 0x100bccfc
lea ecx, [esp + 0x18]
call fcn.004c4860
test eax, eax
jne 0x4a5f56
push 0x100bccd8
lea ecx, [esp + 0x18]
call fcn.004c4860
test eax, eax
jne 0x4a5f56
push 0x100bccc0
lea ecx, [esp + 0x18]
call fcn.004c4860
test eax, eax
jne 0x4a5f56
push 0x100bcca8
lea ecx, [esp + 0x18]
call fcn.004c4860
test eax, eax
jne 0x4a5f56
push 0x100bcc84
lea ecx, [esp + 0x18]
call fcn.004c4860
test eax, eax
jne 0x4a5f56
push 0x100bcc60
lea ecx, [esp + 0x18]
call fcn.004c4860
test eax, eax
jne 0x4a5f56
push 0x100bcc48
lea ecx, [esp + 0x18]
call fcn.004c4860
test eax, eax
jne 0x4a5f56
push 0x100bcc28
lea ecx, [esp + 0x18]
call fcn.004c4860
test eax, eax
jne 0x4a5f56
push 0x100bcc00
lea ecx, [esp + 0x18]
call fcn.004c4860
test eax, eax
jne 0x4a5f56
push 0x100bcbe0
lea ecx, [esp + 0x18]
call fcn.004c4860
test eax, eax
jne 0x4a5f56
push 0x100bcbc0
lea ecx, [esp + 0x18]
call fcn.004c4860
test eax, eax
jne 0x4a5f56
push 0x100bcc48
lea ecx, [esp + 0x18]
call fcn.004c4860
test eax, eax
jne 0x4a5f56
push 0x100bcba4
lea ecx, [esp + 0x18]
call fcn.004c4860
test eax, eax
jne 0x4a5f56
push 0x100bcb64
lea ecx, [esp + 0x18]
call fcn.004c4860
test eax, eax
jne 0x4a5f56
push 0x100bcb38
lea ecx, [esp + 0x18]
call fcn.004c4860
test eax, eax
jne 0x4a5f56
push 0x100bcb14
lea ecx, [esp + 0x18]
call fcn.004c4860
test eax, eax
jne 0x4a5f56
push 0x100bcaf0
lea ecx, [esp + 0x18]
call fcn.004c4860
test eax, eax
jne 0x4a5f56
lea edx, [esp + 0x150]
push 0xc
push edx
call fcn.00484f10
xor esi, esi
add esp, 8
lea ecx, [esp + 0x14]
mov dword [esp + 0x154], esi
mov dword [esp + 0x158], esi
call fcn.004f47c0
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0046b740
mov ecx, dword [esp + 0x30]
add esp, 8
lea edx, [esp + 0x150]
push edx
mov dword [esp + 0x154], ecx
mov ecx, dword [ebx + 0x40]
push 2
call fcn.00478010
cmp dword [esp + 0x154], esi
je 0x4a3b21
mov eax, dword [esp + 0x158]
push eax
lea ecx, [esp + 0x160]
call fcn.004c4370
push eax
lea ecx, [esp + 0x18]
call fcn.004c4420
lea ecx, [esp + 0x15c]
call fcn.004c4440
mov ecx, dword [esp + 0x158]
push ecx
call fcn.0047cdf0
mov esi, dword [ebp + 0xc]
test esi, 0x100000
mov edi, dword [ebp + 0x28]
je 0x4a3b3f
test edi, 0x30
mov dword [esp + 0x68], 1
je 0x4a3b47
mov dword [esp + 0x68], 0
lea edx, [esp + 0x10]
push 4
push edx
call fcn.00484f10
mov eax, dword [ebp + 0x10]
add eax, 4
add esp, 8
cmp dword [eax], 0
je 0x4a3bd7
lea ecx, [esp + 0x10]
push ecx
push eax
lea ecx, [ebx + 0x9c]
call fcn.004939c0
test eax, eax
je 0x4a3bd7
mov edx, dword [ebp + 0x38]
mov eax, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x30]
push edx
mov edx, dword [ebp + 0x2c]
push eax
mov eax, dword [ebp + 0x24]
push ecx
mov ecx, dword [ebp + 0x20]
push edx
mov edx, dword [ebp + 0x1c]
push edi
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [edx + 8]
mov edx, dword [ebp + 8]
push ecx
mov ecx, dword [esp + 0x38]
push eax
push ecx
push esi
push edx
mov ecx, ebx
call fcn.004953e0
lea ecx, [esp + 0x10]
call fcn.004ba940
lea ecx, [esp + 0x28]
call fcn.0046a810
lea ecx, [esp + 0x14]
call fcn.004c4440
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x34
lea ecx, [esp + 0x88]
call fcn.004c07b0
mov edx, dword [ebp + 0x10]
mov eax, dword [ebx + 0x48]
lea ecx, [esp + 0x88]
push ecx
push edx
push eax
mov ecx, ebx
call fcn.0049a9b0
test eax, eax
je 0x4a5129
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x8c]
call fcn.004c4020
lea ecx, [esp + 0x88]
call fcn.004f26e0
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov dword [esp + 0x40], eax
mov eax, dword [edx + 0x28]
call eax
cmp eax, 3
jne 0x4a41b0
mov ecx, dword [esp + 0x40]
call fcn.004b16d0
test eax, eax
jne 0x4a5143
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
call eax
test eax, eax
mov ecx, dword [esp + 0xc]
je 0x4a4016
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
test eax, eax
mov eax, dword [ebp + 0x24]
je 0x4a3de4
test eax, eax
je 0x4a3c88
cmp eax, 2
je 0x4a3c88
cmp eax, 3
je 0x4a3c88
cmp eax, 5
jne 0x4a516f
lea ecx, [esp + 0x1d8]
push ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0x1c4]
push eax
call edx
mov ecx, eax
call fcn.004c4450
mov eax, dword [ebx + 0x48]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x50]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x190]
push eax
call edx
mov eax, dword [eax]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov edx, dword [edx + 0xa4]
push eax
lea eax, [esp + 0x1dc]
push eax
lea eax, [esp + 0xd0]
push eax
call edx
lea ecx, [esp + 0x190]
call fcn.004ba940
lea ecx, [esp + 0x1c0]
call fcn.004c4440
mov ecx, dword [esp + 0xc8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
lea edx, [esp + 0x110]
push edx
call eax
lea ecx, [esp + 0xf4]
push 4
push ecx
call fcn.00484f10
mov ecx, dword [esp + 0x118]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
add esp, 8
lea eax, [esp + 0xf4]
push eax
call edx
mov eax, dword [ebx + 0x48]
push eax
lea ecx, [esp + 0x14c]
call fcn.004c4080
lea ecx, [esp + 0xe8]
push 4
push ecx
call fcn.00484f10
mov eax, dword [ebp + 0x10]
add esp, 8
lea edx, [esp + 0xe8]
push edx
push eax
mov ecx, ebx
call fcn.004a1160
test eax, eax
jne 0x4a3da3
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov ebx, dword [esp + 0xe8]
call eax
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
mov ecx, ebx
mov dword [esp + 0x20], eax
call edx
mov ecx, dword [esp + 0x20]
cmp ecx, eax
je 0x4a51a1
mov ebx, dword [esp + 0x50]
lea ecx, [esp + 0xe8]
call fcn.004ba940
lea ecx, [esp + 0x148]
call fcn.004c40b0
lea ecx, [esp + 0xf4]
call fcn.004ba940
lea ecx, [esp + 0x110]
call fcn.004ba940
lea ecx, [esp + 0xc8]
call fcn.004ba940
jmp 0x4a50e9
test eax, eax
je 0x4a3dfb
cmp eax, 2
je 0x4a3dfb
cmp eax, 3
je 0x4a3dfb
cmp eax, 5
jne 0x4a52a5
cmp dword [ebx + 0x44], 1
jne 0x4a3f48
lea eax, [esp + 0xc4]
push 4
push eax
call fcn.00484f10
lea ecx, [esp + 0xcc]
push ecx
call fcn.004bf080
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
add esp, 0xc
lea edx, [esp + 0x1d0]
push edx
lea edx, [esp + 0x1f4]
push edx
call eax
mov ecx, eax
call fcn.004c4450
mov eax, dword [esp + 0xc4]
mov ecx, dword [ebx + 0x48]
mov edx, dword [ecx]
mov edx, dword [edx + 0xa4]
push eax
lea eax, [esp + 0x1d4]
push eax
lea eax, [esp + 0xec]
push eax
call edx
lea ecx, [esp + 0x1f0]
call fcn.004c4440
lea eax, [esp + 0xfc]
push 4
push eax
call fcn.00484f10
mov ecx, dword [esp + 0xcc]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
add esp, 8
lea eax, [esp + 0xfc]
push eax
call edx
mov eax, dword [ebx + 0x48]
push eax
lea ecx, [esp + 0x150]
call fcn.004c4080
lea ecx, [esp + 0xec]
push 4
push ecx
call fcn.00484f10
mov eax, dword [ebp + 0x10]
add esp, 8
lea edx, [esp + 0xec]
push edx
push eax
mov ecx, ebx
call fcn.004a1160
test eax, eax
jne 0x4a3f07
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov ebx, dword [esp + 0xec]
call eax
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
mov ecx, ebx
mov dword [esp + 0x20], eax
call edx
mov ecx, dword [esp + 0x20]
cmp ecx, eax
je 0x4a52dd
mov ebx, dword [esp + 0x50]
lea ecx, [esp + 0xec]
call fcn.004ba940
lea ecx, [esp + 0x14c]
call fcn.004c40b0
lea ecx, [esp + 0xfc]
call fcn.004ba940
lea ecx, [esp + 0xe4]
call fcn.004ba940
lea ecx, [esp + 0xc4]
call fcn.004ba940
jmp 0x4a50e9
mov eax, dword [ebp + 0x30]
mov edx, dword [ebp + 0x2c]
mov ecx, dword [0x100cca70]
push eax
mov eax, dword [ebp + 0x20]
push edx
mov edx, dword [ebp + 0x1c]
push edi
push 0
push eax
mov eax, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 8]
push eax
mov eax, dword [ecx + 0x18c]
add ecx, 0x18c
push esi
push edx
mov edx, dword [eax + 0x24]
call edx
call eax
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x4a53ef
mov eax, dword [ebx + 0x48]
push eax
lea ecx, [esp + 0x13c]
call fcn.004c4080
lea ecx, [esp + 0xd8]
push 4
push ecx
call fcn.00484f10
mov eax, dword [ebp + 0x10]
add esp, 8
lea edx, [esp + 0xd8]
push edx
push eax
mov ecx, ebx
call fcn.004a1160
test eax, eax
jne 0x4a3ff9
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov ebx, dword [esp + 0xd8]
call eax
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
mov ecx, ebx
mov dword [esp + 0x20], eax
call edx
mov ecx, dword [esp + 0x20]
cmp ecx, eax
je 0x4a53c8
mov ebx, dword [esp + 0x50]
lea ecx, [esp + 0xd8]
call fcn.004ba940
lea ecx, [esp + 0x138]
call fcn.004c40b0
jmp 0x4a50e9
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
test eax, eax
je 0x4a55f8
mov eax, dword [ebp + 0x24]
test eax, eax
jne 0x4a4183
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0x200]
push eax
lea eax, [esp + 0x214]
push eax
call edx
mov ecx, eax
call fcn.004c4450
mov eax, dword [ebx + 0x48]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x50]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x194]
push eax
call edx
mov eax, dword [eax]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov edx, dword [edx + 0xa4]
push eax
lea eax, [esp + 0x204]
push eax
lea eax, [esp + 0xd4]
push eax
call edx
lea ecx, [esp + 0x194]
call fcn.004ba940
lea ecx, [esp + 0x210]
call fcn.004c4440
mov ecx, dword [esp + 0xcc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
lea edx, [esp + 0x5c]
push edx
call eax
lea ecx, [esp + 0xdc]
push 4
push ecx
call fcn.00484f10
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
add esp, 8
lea eax, [esp + 0xdc]
push eax
call edx
mov eax, dword [ebx + 0x48]
push eax
lea ecx, [esp + 0xbc]
call fcn.004c4080
lea ecx, [esp + 0xf0]
push 4
push ecx
call fcn.00484f10
mov eax, dword [ebp + 0x10]
add esp, 8
lea edx, [esp + 0xf0]
push edx
push eax
mov ecx, ebx
call fcn.004a1160
test eax, eax
jne 0x4a4145
mov ecx, dword [esp + 0xf0]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov ebx, dword [esp + 0xc]
call eax
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
mov ecx, ebx
mov dword [esp + 0x20], eax
call edx
mov ecx, dword [esp + 0x20]
cmp eax, ecx
je 0x4a5402
mov ebx, dword [esp + 0x50]
lea ecx, [esp + 0xf0]
call fcn.004ba940
lea ecx, [esp + 0xb8]
call fcn.004c40b0
lea ecx, [esp + 0xdc]
call fcn.004ba940
lea ecx, [esp + 0x5c]
call fcn.004ba940
lea ecx, [esp + 0xcc]
call fcn.004ba940
jmp 0x4a50e9
cmp eax, 2
je 0x4a5503
cmp eax, 1
je 0x4a551a
cmp eax, 3
je 0x4a551a
cmp eax, 4
je 0x4a551a
cmp eax, 5
je 0x4a551a
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x60]
call edx
test eax, eax
mov ecx, dword [esp + 0xc]
je 0x4a4e3b
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
test eax, eax
je 0x4a47c1
push esi
push edi
call fcn.004b1ec0
add esp, 8
test eax, eax
je 0x4a5179
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x4a41f9
cmp eax, 4
je 0x4a41f9
cmp eax, 5
jne 0x4a4205
test edi, 1
jne 0x4a52af
test eax, eax
je 0x4a421c
cmp eax, 2
je 0x4a421c
cmp eax, 3
je 0x4a421c
cmp eax, 5
jne 0x4a5606
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x19c]
call fcn.004b1740
lea ecx, [esp + 0x240]
call fcn.004b1880
lea ecx, [esp + 0x240]
push ecx
mov ecx, dword [esp + 0x44]
call fcn.004b1770
test eax, eax
je 0x4a425c
cmp dword [esp + 0x24c], 0
je 0x4a5688
lea ecx, [esp + 0x198]
call fcn.004b1760
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x4c]
lea eax, [esp + 0x3c]
push eax
call edx
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0xbc]
push eax
call fcn.004b1500
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
call eax
mov dword [esp + 0x1c], eax
mov eax, edi
and eax, 1
mov dword [esp + 0x24], eax
je 0x4a431b
cmp word [esp + 0xbc], 0
mov eax, dword [ebp + 0x24]
ja 0x4a56ab
test eax, eax
je 0x4a56f5
cmp eax, 5
je 0x4a56f5
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
call eax
cmp eax, 2
je 0x4a431b
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x20], 0
call fcn.0048ff90
lea ecx, [esp + 0x1c]
call fcn.004ba940
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x3c]
push edx
push 1
push eax
call fcn.004b1ea0
add esp, 8
push eax
push 1
call fcn.004bda80
add esp, 0xc
mov dword [esp + 0x1c], 2
test edi, 0x40
jne 0x4a432a
cmp dword [esp + 0x24], 0
jne 0x4a437f
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
call eax
cmp eax, 2
jne 0x4a437f
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x20], 0
call fcn.0048ff90
lea ecx, [esp + 0x1c]
call fcn.004ba940
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x3c]
push edx
push 0
push eax
call fcn.004b1ea0
add esp, 8
push eax
push 0
call fcn.004bda80
add esp, 0xc
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x238]
push ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x1e4]
push eax
call edx
mov ecx, eax
call fcn.004c4450
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0x230]
push eax
lea eax, [esp + 0x1bc]
push eax
call edx
mov ecx, eax
call fcn.004c4450
mov edx, dword [esp + 0x3c]
mov ecx, dword [ebx + 0x48]
mov eax, dword [ecx]
mov eax, dword [eax + 0xa8]
push edx
mov edx, dword [esp + 0x20]
push edx
lea edx, [esp + 0x240]
push edx
lea edx, [esp + 0x23c]
push edx
lea edx, [esp + 0x90]
push edx
call eax
lea ecx, [esp + 0x1b8]
call fcn.004c4440
lea ecx, [esp + 0x1e0]
call fcn.004c4440
lea ecx, [esp + 0x78]
push 4
push ecx
call fcn.00484f10
lea edx, [esp + 0x78]
push 4
push edx
call fcn.00484f10
mov eax, dword [esp + 0x4c]
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x30], eax
mov eax, dword [eax]
add esp, 0x10
add eax, 0x10
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x70]
push eax
push edi
push ecx
push esi
push 0x100b0384
lea ecx, [esp + 0x264]
call fcn.004c4160
mov ecx, eax
call fcn.004f47c0
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [edx]
call eax
test eax, eax
jne 0x4a5715
cmp word [esp + 0xbc], ax
jbe 0x4a4653
lea ecx, [esp + 0x84]
push 4
push ecx
call fcn.00484f10
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
add esp, 8
lea eax, [esp + 0x84]
push eax
mov eax, dword [ebp + 0x20]
push edi
push eax
push esi
lea eax, [esp + 0xcc]
push eax
call edx
mov ecx, eax
and ecx, 0xefffffff
cmp ecx, 0xc0000034
jne 0x4a45de
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x84]
push eax
mov eax, dword [ebp + 0x20]
push edi
push eax
mov eax, dword [ebp + 0x1c]
push eax
push esi
lea eax, [esp + 0xd0]
push eax
call edx
test eax, eax
jne 0x4a5754
mov ecx, dword [esp + 0x40]
call fcn.004b16e0
test eax, eax
je 0x4a45e6
lea ecx, [esp + 0x174]
call fcn.004f47c0
mov eax, dword [0x100bd2c0]
push eax
lea ecx, [esp + 0xc0]
push ecx
lea ecx, [esp + 0x17c]
call fcn.004b1390
lea edx, [esp + 0x260]
push edx
lea ecx, [esp + 0x178]
call fcn.004b16f0
mov eax, dword [eax + 4]
push eax
lea ecx, [esp + 0x274]
push ecx
lea ecx, [esp + 0x17c]
call fcn.004b1560
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x1a8]
call fcn.004c4180
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
mov eax, dword [eax]
lea ecx, [esp + 0x140]
add eax, 0x18
push ecx
lea ecx, [esp + 0x1a4]
mov dword [esp + 0x20], eax
call fcn.004f47c0
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [edx]
call eax
test eax, eax
jne 0x4a45e6
mov eax, dword [esp + 0x140]
test al, 0x20
jne 0x4a45e6
mov ecx, dword [esp + 0x3c]
or eax, 0x20
mov dword [esp + 0x20], ecx
mov dword [esp + 0x140], eax
mov ecx, dword [ecx]
add ecx, 0x1c
mov dword [esp + 0x1c], ecx
push eax
lea ecx, [esp + 0x1a4]
call fcn.004f47c0
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [edx]
call eax
jmp 0x4a45e6
test eax, eax
jne 0x4a5754
lea ecx, [esp + 0x11c]
push 4
push ecx
call fcn.00484f10
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
add esp, 8
lea eax, [esp + 0x11c]
push eax
call edx
mov ecx, dword [esp + 0x11c]
mov edx, dword [ecx]
xor eax, eax
push eax
push eax
mov dword [esp + 0x22c], eax
mov eax, dword [edx + 0x18]
push ecx
call eax
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0x7c]
call fcn.0048ff90
lea ecx, [esp + 0x11c]
call fcn.004ba940
lea ecx, [esp + 0x84]
call fcn.004ba940
jmp 0x4a4661
lea edx, [esp + 0x70]
push edx
lea ecx, [esp + 0x7c]
call fcn.0048ff90
mov ecx, dword [esp + 0x80]
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
call edx
cmp eax, 2
je 0x4a46bf
lea eax, [esp + 0x120]
push 4
push eax
call fcn.00484f10
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
add esp, 8
lea eax, [esp + 0x120]
push eax
call edx
mov ecx, dword [esp + 0x120]
mov edx, dword [ecx]
xor eax, eax
push eax
push eax
mov dword [esp + 0x1d4], eax
mov eax, dword [edx + 0x18]
push ecx
call eax
lea ecx, [esp + 0x120]
call fcn.004ba940
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x80]
push edi
push esi
push ecx
lea edx, [esp + 0xc8]
push edx
push eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.004ae870
mov eax, dword [eax]
add esp, 0x18
test eax, eax
mov dword [esp + 0x24], eax
je 0x4a46f5
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x38]
call fcn.004ba940
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x24]
push ecx
push edx
mov ecx, ebx
call fcn.00495350
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebx + 0x48]
push edx
lea ecx, [esp + 0x148]
call fcn.004c4080
lea eax, [esp + 0xe0]
push 4
push eax
call fcn.00484f10
mov edx, dword [ebp + 0x10]
add esp, 8
lea ecx, [esp + 0xe0]
push ecx
push edx
mov ecx, ebx
call fcn.004a1160
test eax, eax
jne 0x4a4774
mov ecx, dword [esp + 0xe0]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov ecx, dword [esp + 0xc]
mov ebx, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, ebx
je 0x4a5775
mov ebx, dword [esp + 0x50]
lea ecx, [esp + 0xe0]
call fcn.004ba940
lea ecx, [esp + 0x144]
call fcn.004c40b0
lea ecx, [esp + 0x24]
call fcn.004ba940
lea ecx, [esp + 0x70]
call fcn.004ba940
lea ecx, [esp + 0x78]
call fcn.004ba940
lea ecx, [esp + 0x80]
call fcn.004ba940
lea ecx, [esp + 0x3c]
call fcn.004ba940
jmp 0x4a50e9
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x4a47db
cmp eax, 2
je 0x4a47db
cmp eax, 3
je 0x4a47db
cmp eax, 5
jne 0x4a57fe
mov ecx, edi
and ecx, 1
mov dword [esp + 0x24], ecx
je 0x4a47f2
test edi, 0x40
jne 0x4a5143
test eax, eax
je 0x4a47fb
cmp eax, 5
jne 0x4a4803
test ecx, ecx
jne 0x4a5179
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x160]
call fcn.004b1740
lea ecx, [esp + 0x164]
call fcn.004b1880
lea ecx, [esp + 0x164]
push ecx
mov ecx, dword [esp + 0x44]
call fcn.004b1770
test eax, eax
je 0x4a4843
cmp dword [esp + 0x170], 0
je 0x4a5876
lea ecx, [esp + 0x15c]
call fcn.004b1760
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x60]
push edx
call fcn.004b1500
cmp dword [esp + 0x24], 0
je 0x4a4884
cmp word [esp + 0x60], 0
mov eax, dword [ebp + 0x24]
ja 0x4a5899
test eax, eax
je 0x4a52af
cmp eax, 5
je 0x4a52af
cmp dword [ebx + 0x44], 1
jne 0x4a4d0b
lea eax, [esp + 0x4c]
push 4
push eax
call fcn.00484f10
mov edx, dword [esp + 0x2c]
mov eax, dword [ebp + 0x1c]
add esp, 8
lea ecx, [esp + 0x4c]
push ecx
push edx
push eax
call fcn.004b1ea0
mov ecx, dword [esp + 0x30]
add esp, 8
push eax
push ecx
call fcn.004bda80
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
add esp, 0xc
lea edx, [esp + 0x208]
push edx
lea edx, [esp + 0x1ec]
push edx
call eax
mov ecx, eax
call fcn.004c4450
lea ecx, [esp + 0x1a8]
push ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0x22c]
push eax
call edx
mov ecx, eax
call fcn.004c4450
mov ecx, dword [esp + 0x4c]
mov eax, dword [ebx + 0x48]
mov eax, dword [eax]
xor edx, edx
cmp dword [esp + 0x24], edx
push ecx
setne dl
lea ecx, [esp + 0x20c]
add edx, 1
push edx
push ecx
lea edx, [esp + 0x1b4]
push edx
mov edx, dword [eax + 0xa8]
lea ecx, [esp + 0x7c]
push ecx
mov ecx, dword [ebx + 0x48]
call edx
lea ecx, [esp + 0x228]
call fcn.004c4440
lea ecx, [esp + 0x1e8]
call fcn.004c4440
lea eax, [esp + 0x74]
push 4
push eax
call fcn.00484f10
lea ecx, [esp + 0x84]
push 4
push ecx
call fcn.00484f10
mov eax, dword [esp + 0x5c]
add esp, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [eax]
add eax, 0x10
lea edx, [esp + 0x7c]
push edx
push edi
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x20]
push eax
push esi
push 0x100b0384
lea ecx, [esp + 0x28c]
call fcn.004c4160
mov ecx, eax
call fcn.004f47c0
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [edx]
call eax
test eax, eax
jne 0x4a58be
cmp word [esp + 0x60], ax
jbe 0x4a4ba6
lea ecx, [esp + 0x44]
push 4
push ecx
call fcn.00484f10
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
add esp, 8
lea eax, [esp + 0x44]
push eax
mov eax, dword [ebp + 0x20]
push edi
push eax
push esi
lea eax, [esp + 0x70]
push eax
call edx
mov ecx, eax
and ecx, 0xefffffff
cmp ecx, 0xc0000034
jne 0x4a4b3a
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x20], eax
mov eax, dword [eax]
add eax, 0xc
lea edx, [esp + 0x44]
push edx
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x20]
push edi
push eax
push ecx
push edx
call fcn.004b1ea0
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
add esp, 8
push eax
push esi
lea eax, [esp + 0x74]
push eax
mov eax, dword [edx]
call eax
test eax, eax
jne 0x4a58fa
lea ecx, [esp + 0x174]
call fcn.004f47c0
mov ecx, dword [0x100bd2c0]
push ecx
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x17c]
call fcn.004b1390
lea ecx, [esp + 0x174]
call fcn.004b16e0
test eax, eax
je 0x4a4b42
lea eax, [esp + 0x268]
push eax
lea ecx, [esp + 0x178]
call fcn.004b16f0
mov ecx, dword [eax + 4]
push ecx
lea edx, [esp + 0x25c]
push edx
lea ecx, [esp + 0x17c]
call fcn.004b1560
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
lea ecx, [esp + 0xd8]
call fcn.004c4180
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
mov eax, dword [eax]
add eax, 0x18
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0xd4]
call fcn.004f47c0
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [edx]
call eax
test eax, eax
jne 0x4a4b42
mov eax, dword [esp + 0x134]
test al, 0x20
jne 0x4a4b42
mov ecx, dword [esp + 0x4c]
or eax, 0x20
mov dword [esp + 0x20], ecx
mov dword [esp + 0x134], eax
mov ecx, dword [ecx]
add ecx, 0x1c
mov dword [esp + 0x1c], ecx
push eax
lea ecx, [esp + 0xd4]
call fcn.004f47c0
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [edx]
call eax
jmp 0x4a4b42
test eax, eax
jne 0x4a58fa
lea ecx, [esp + 0x124]
push 4
push ecx
call fcn.00484f10
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
add esp, 8
lea eax, [esp + 0x124]
push eax
call edx
mov ecx, dword [esp + 0x124]
mov edx, dword [ecx]
xor eax, eax
push eax
push eax
mov dword [esp + 0x224], eax
mov eax, dword [edx + 0x18]
push ecx
call eax
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x78]
call fcn.0048ff90
lea ecx, [esp + 0x124]
call fcn.004ba940
lea ecx, [esp + 0x44]
call fcn.004ba940
jmp 0x4a4bb4
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x78]
call fcn.0048ff90
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
call edx
cmp eax, 2
je 0x4a4c12
lea eax, [esp + 0x104]
push 4
push eax
call fcn.00484f10
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
add esp, 8
lea eax, [esp + 0x104]
push eax
call edx
mov ecx, dword [esp + 0x104]
mov edx, dword [ecx]
xor eax, eax
push eax
push eax
mov dword [esp + 0x204], eax
mov eax, dword [edx + 0x18]
push ecx
call eax
lea ecx, [esp + 0x104]
call fcn.004ba940
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x6c]
push edi
push esi
push ecx
lea edx, [esp + 0x6c]
push edx
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.004ae870
mov eax, dword [eax]
add esp, 0x18
test eax, eax
mov dword [esp + 0x24], eax
je 0x4a4c42
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x34]
call fcn.004ba940
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x24]
push ecx
push edx
mov ecx, ebx
call fcn.00495350
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebx + 0x48]
push edx
lea ecx, [esp + 0x140]
call fcn.004c4080
lea eax, [esp + 0xf8]
push 4
push eax
call fcn.00484f10
mov edx, dword [ebp + 0x10]
add esp, 8
lea ecx, [esp + 0xf8]
push ecx
push edx
mov ecx, ebx
call fcn.004a1160
test eax, eax
jne 0x4a4cc1
mov ecx, dword [esp + 0xf8]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov ecx, dword [esp + 0xc]
mov ebx, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, ebx
je 0x4a5918
mov ebx, dword [esp + 0x50]
lea ecx, [esp + 0xf8]
call fcn.004ba940
lea ecx, [esp + 0x13c]
call fcn.004c40b0
lea ecx, [esp + 0x24]
call fcn.004ba940
lea ecx, [esp + 0x7c]
call fcn.004ba940
lea ecx, [esp + 0x74]
call fcn.004ba940
lea ecx, [esp + 0x6c]
call fcn.004ba940
lea ecx, [esp + 0x4c]
call fcn.004ba940
jmp 0x4a50e9
mov eax, dword [ebp + 0x30]
mov edx, dword [ebp + 0x2c]
mov ecx, dword [0x100cca70]
push eax
mov eax, dword [ebp + 0x20]
push edx
mov edx, dword [ebp + 0x1c]
push edi
push 0
push eax
mov eax, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 8]
push eax
mov eax, dword [ecx + 0x18c]
add ecx, 0x18c
push esi
push edx
mov edx, dword [eax + 0x24]
call edx
call eax
test eax, eax
mov dword [esp + 0x20], eax
je 0x4a4dbe
mov ecx, dword [0x100cca70]
mov eax, dword [ebp + 0x10]
mov edx, dword [ecx + 0x21c]
add ecx, 0x21c
push eax
mov eax, dword [edx + 0x24]
call eax
call eax
test eax, eax
jne 0x4a59d3
mov edx, dword [ebp + 0x30]
mov eax, dword [ebp + 0x2c]
mov ecx, dword [0x100cca70]
push edx
mov edx, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x1c]
push edi
push 2
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 8]
push edx
mov edx, dword [ecx + 0x18c]
add ecx, 0x18c
push esi
push eax
mov eax, dword [edx + 0x24]
call eax
call eax
test eax, eax
mov dword [esp + 0x20], eax
jne 0x4a59d3
mov ecx, dword [ebx + 0x48]
push ecx
lea ecx, [esp + 0x134]
call fcn.004c4080
lea edx, [esp + 0x100]
push 4
push edx
call fcn.00484f10
mov ecx, dword [ebp + 0x10]
add esp, 8
lea eax, [esp + 0x100]
push eax
push ecx
mov ecx, ebx
call fcn.004a1160
test eax, eax
jne 0x4a4e1e
mov ecx, dword [esp + 0x100]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov ebx, eax
mov eax, dword [edx + 0xc]
call eax
cmp eax, ebx
je 0x4a599e
mov ebx, dword [esp + 0x50]
lea ecx, [esp + 0x100]
call fcn.004ba940
lea ecx, [esp + 0x130]
call fcn.004c40b0
jmp 0x4a50e9
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x4a4eb7
mov edx, dword [ebp + 0x38]
mov eax, dword [ebp + 0x34]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [ebp + 0x30]
push edx
mov edx, dword [ebp + 0x2c]
push eax
mov eax, dword [ebp + 0x24]
push ecx
mov ecx, dword [ebp + 0x20]
push edx
mov edx, dword [ebp + 0x1c]
push edi
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push esi
push edx
mov ecx, ebx
mov dword [esp + 0x5c], 0
call fcn.004a1240
lea ecx, [esp + 0xc]
call fcn.004ba940
lea ecx, [esp + 0x88]
call fcn.00490b40
cmp dword [esp + 0x1c], 0
je 0x4a3bb3
jmp 0x4a50fe
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
test eax, eax
mov dword [esp + 0x20], eax
je 0x4a5096
cmp eax, 1
je 0x4a59e6
lea ecx, [esp + 0x54]
call fcn.004c4320
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x1b0]
push eax
lea eax, [esp + 0x10c]
push eax
call edx
mov ecx, eax
call fcn.004c4450
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x12c]
push ecx
mov ecx, dword [esp + 0x48]
call fcn.004b1500
push eax
lea edx, [esp + 0x1b8]
push edx
call fcn.004b1db0
add esp, 0xc
lea ecx, [esp + 0x108]
call fcn.004c4440
lea eax, [esp + 0x114]
push eax
lea ecx, [esp + 0x58]
call fcn.004c4450
lea ecx, [esp + 0x114]
push ecx
mov ecx, ebx
call fcn.0048fdd0
test eax, eax
jne 0x4a5ac0
mov ecx, dword [ebp + 0x14]
mov edx, dword [0x100cca70]
push eax
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x20]
push eax
push ecx
push 0
add edx, 0x15c
push 0x40
lea ecx, [esp + 0x68]
mov dword [esp + 0x30], edx
call fcn.004f47c0
push eax
push 0
lea ecx, [esp + 0x190]
call fcn.004c4110
mov ecx, eax
call fcn.004f47c0
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [ecx]
push esi
lea edx, [esp + 0x5c]
push edx
mov edx, dword [eax + 0x24]
call edx
call eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x1c], eax
call fcn.0048c8f0
cmp dword [esp + 0x1c], 0
je 0x4a5ae0
mov eax, dword [esp + 0x1c]
cmp eax, 0xc0000034
je 0x4a4fdf
cmp eax, 0xc000003a
jne 0x4a5b62
mov eax, dword [ebp + 0x20]
mov edx, dword [ebp + 0x14]
mov ecx, dword [0x100cca70]
push 0
push eax
mov eax, dword [ebp + 0x10]
push edx
push eax
add ecx, 0x15c
mov dword [esp + 0x34], 0
mov eax, dword [ecx]
push esi
lea edx, [esp + 0x38]
push edx
mov edx, dword [eax + 0x24]
call edx
call eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], eax
call fcn.0048c8f0
cmp dword [esp + 0x20], 2
mov eax, dword [esp + 0x1c]
jne 0x4a5062
test eax, eax
je 0x4a507b
cmp eax, 0xc0000034
je 0x4a5e8e
cmp eax, 0xc000003a
je 0x4a5e8e
mov eax, dword [ebp + 0x38]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebp + 0x34]
mov dword [eax], 0
mov dword [edx], ecx
lea ecx, [esp + 0x24]
call fcn.0048c970
jmp 0x4a5b4b
test eax, eax
jne 0x4a5e60
push esi
call fcn.004b1d80
add esp, 4
test eax, eax
jne 0x4a5b76
lea ecx, [esp + 0x24]
call fcn.0048c970
lea ecx, [esp + 0x48]
call fcn.0048c970
lea ecx, [esp + 0x54]
call fcn.004c4440
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
lea eax, [esp + 0x20]
push eax
mov eax, dword [ebp + 0x30]
push ecx
mov ecx, dword [ebp + 0x2c]
push edx
mov edx, dword [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x20]
push ecx
mov ecx, dword [ebp + 0x1c]
push edi
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push esi
push ecx
mov ecx, ebx
mov dword [esp + 0x60], 0
call fcn.004a2510
cmp dword [esp + 0x20], 0
je 0x4a5155
lea ecx, [esp + 0xc]
call fcn.004ba940
lea ecx, [esp + 0x88]
call fcn.00490b40
lea ecx, [esp + 0x88]
call fcn.004c07b0
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebx + 0x48]
lea edx, [esp + 0x88]
push edx
push ecx
push eax
mov ecx, ebx
call fcn.0049a9b0
test eax, eax
jne 0x4a3c02
mov edx, dword [ebp + 0x38]
lea ecx, [esp + 0x88]
mov dword [edx], 1
call fcn.00490b40
jmp 0x4a3bb3
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x34]
mov dword [eax], 0
mov dword [ecx], 0xc000000d
lea ecx, [esp + 0xc]
call fcn.004ba940
lea ecx, [esp + 0x88]
call fcn.00490b40
jmp 0x4a3bb3
cmp eax, 1
je 0x4a518d
cmp eax, 4
je 0x4a518d
mov edx, dword [ebp + 0x38]
mov eax, dword [ebp + 0x34]
mov dword [edx], 0
mov dword [eax], 0xc000000d
jmp 0x4a5155
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
mov dword [ecx], 0
mov dword [edx], 0xc0000034
jmp 0x4a5155
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
lea edx, [esp + 0x38]
push edx
call eax
mov ecx, dword [eax]
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
lea eax, [esp + 0x34]
push eax
call edx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov edx, dword [esp + 0xc8]
mov eax, dword [eax + 0xc]
push edx
call eax
lea ecx, [esp + 0x34]
call fcn.004ba940
lea ecx, [esp + 0x38]
call fcn.004ba940
lea ecx, [esp + 0xe8]
call fcn.004ba940
lea ecx, [esp + 0x148]
call fcn.004c40b0
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0xc8]
push edi
push esi
push ecx
push edx
lea eax, [esp + 0x44]
push eax
call fcn.004af990
mov esi, dword [eax]
xor edi, edi
add esp, 0x14
cmp esi, edi
mov dword [esp + 0x38], esi
je 0x4a522d
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
lea ecx, [esp + 0x34]
call fcn.004ba940
mov dword [esp + 0xd0], edi
mov dword [esp + 0xd4], edi
mov eax, dword [esi]
mov edx, dword [eax + 0x3c]
lea ecx, [esp + 0xd0]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x50]
push eax
push esi
call fcn.00495350
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x38]
mov dword [ecx], eax
mov eax, dword [ebp + 0x34]
mov dword [edx], edi
lea ecx, [esp + 0x38]
mov dword [eax], edi
call fcn.004ba940
lea ecx, [esp + 0xf4]
call fcn.004ba940
lea ecx, [esp + 0x110]
call fcn.004ba940
lea ecx, [esp + 0xc8]
call fcn.004ba940
jmp 0x4a5155
cmp eax, 1
je 0x4a52c6
cmp eax, 4
je 0x4a52c6
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
mov dword [ecx], 0
mov dword [edx], 0xc000000d
jmp 0x4a5155
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x34]
mov dword [eax], 0
mov dword [ecx], 0xc0000034
jmp 0x4a5155
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x38]
push eax
call edx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
lea edx, [esp + 0x34]
push edx
call eax
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [esp + 0xe4]
mov edx, dword [edx + 0xc]
push eax
call edx
lea ecx, [esp + 0x34]
call fcn.004ba940
lea ecx, [esp + 0x38]
call fcn.004ba940
lea ecx, [esp + 0xec]
call fcn.004ba940
lea ecx, [esp + 0x14c]
call fcn.004c40b0
mov eax, dword [esp + 0xfc]
mov ecx, dword [esp + 0xe4]
push edi
push esi
push eax
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.004af990
mov esi, dword [eax]
add esp, 0x14
test esi, esi
mov dword [esp + 0x38], esi
je 0x4a5367
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
lea ecx, [esp + 0x34]
call fcn.004ba940
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x50]
push edx
push esi
call fcn.00495350
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x38]
mov dword [ecx], eax
mov eax, dword [ebp + 0x34]
mov dword [edx], 0
lea ecx, [esp + 0x38]
mov dword [eax], 0
call fcn.004ba940
lea ecx, [esp + 0xfc]
call fcn.004ba940
lea ecx, [esp + 0xe4]
call fcn.004ba940
lea ecx, [esp + 0xc4]
call fcn.004ba940
jmp 0x4a5155
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x64]
call eax
lea ecx, [esp + 0xd8]
call fcn.004ba940
lea ecx, [esp + 0x138]
call fcn.004c40b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
mov dword [ecx], 0
mov dword [edx], eax
jmp 0x4a5155
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
lea edx, [esp + 0x38]
push edx
call eax
mov ecx, dword [eax]
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
lea eax, [esp + 0x34]
push eax
call edx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov edx, dword [esp + 0xcc]
mov eax, dword [eax + 0xc]
push edx
call eax
lea ecx, [esp + 0x34]
call fcn.004ba940
lea ecx, [esp + 0x38]
call fcn.004ba940
lea ecx, [esp + 0xf0]
call fcn.004ba940
lea ecx, [esp + 0xb8]
call fcn.004c40b0
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0xcc]
push edi
push esi
push ecx
push edx
lea eax, [esp + 0x44]
push eax
call fcn.004af990
mov esi, dword [eax]
xor edi, edi
add esp, 0x14
cmp esi, edi
mov dword [esp + 0x38], esi
je 0x4a548e
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
lea ecx, [esp + 0x34]
call fcn.004ba940
mov dword [esp + 0xd0], edi
mov dword [esp + 0xd4], edi
mov eax, dword [esi]
mov edx, dword [eax + 0x3c]
lea ecx, [esp + 0xd0]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x50]
push eax
push esi
call fcn.00495350
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x38]
mov dword [ecx], eax
mov eax, dword [ebp + 0x34]
mov dword [edx], edi
lea ecx, [esp + 0x38]
mov dword [eax], edi
call fcn.004ba940
lea ecx, [esp + 0xdc]
call fcn.004ba940
lea ecx, [esp + 0x5c]
call fcn.004ba940
lea ecx, [esp + 0xcc]
call fcn.004ba940
jmp 0x4a5155
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
mov dword [ecx], 0
mov dword [edx], 0xc0000035
jmp 0x4a5155
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
lea edx, [esp + 0xb8]
push edx
call eax
lea ecx, [esp + 0x5c]
push 4
push ecx
call fcn.00484f10
mov ecx, dword [esp + 0xc0]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
add esp, 8
lea eax, [esp + 0x5c]
push eax
call edx
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0xc]
push edi
push esi
push eax
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.004af990
mov esi, dword [eax]
add esp, 0x14
test esi, esi
mov dword [esp + 0x38], esi
je 0x4a557a
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
lea ecx, [esp + 0x34]
call fcn.004ba940
mov eax, dword [ebp + 0x24]
cmp eax, 4
je 0x4a5590
cmp eax, 5
jne 0x4a55b1
xor eax, eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x3c]
lea eax, [esp + 0xd0]
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x68]
push eax
push esi
mov ecx, ebx
call fcn.00495350
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x38]
mov dword [ecx], eax
mov eax, dword [ebp + 0x34]
mov dword [edx], 0
lea ecx, [esp + 0x38]
mov dword [eax], 0
call fcn.004ba940
lea ecx, [esp + 0x5c]
call fcn.004ba940
lea ecx, [esp + 0xb8]
call fcn.004ba940
jmp 0x4a5155
mov ecx, dword [ebp + 0x38]
mov dword [ecx], 1
jmp 0x4a5155
cmp eax, 1
je 0x4a5614
cmp eax, 4
jne 0x4a5143
lea ecx, [esp + 0x164]
call fcn.004b1880
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x164]
push edx
call fcn.004b1770
test eax, eax
je 0x4a565c
mov eax, dword [esp + 0x170]
test eax, eax
jne 0x4a5657
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x34]
mov dword [eax], 0
mov dword [ecx], 0xc000003a
jmp 0x4a5155
cmp eax, 1
jne 0x4a5671
cmp dword [ebp + 0x24], 4
jne 0x4a518d
test edi, 1
jmp 0x4a5177
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x34]
mov dword [eax], 0
mov dword [ecx], 0xc0000229
jmp 0x4a5155
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x34]
mov dword [eax], 0
mov dword [ecx], 0xc000003a
lea ecx, [esp + 0x198]
call fcn.004b1760
jmp 0x4a5155
cmp eax, 2
je 0x4a56d5
cmp eax, 3
je 0x4a56d5
mov edx, dword [ebp + 0x38]
mov eax, dword [ebp + 0x34]
mov dword [edx], 0
lea ecx, [esp + 0x3c]
mov dword [eax], 0xc000000d
call fcn.004ba940
jmp 0x4a5155
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
mov dword [ecx], 0
lea ecx, [esp + 0x3c]
mov dword [edx], 0xc0000103
call fcn.004ba940
jmp 0x4a5155
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x34]
mov dword [eax], 0
mov dword [ecx], 0xc000000d
lea ecx, [esp + 0x3c]
call fcn.004ba940
jmp 0x4a5155
mov edx, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x34]
and eax, 0xefffffff
mov dword [edx], 0
mov dword [ecx], eax
lea ecx, [esp + 0x70]
call fcn.004ba940
lea ecx, [esp + 0x78]
call fcn.004ba940
lea ecx, [esp + 0x80]
call fcn.004ba940
lea ecx, [esp + 0x3c]
call fcn.004ba940
jmp 0x4a5155
mov edx, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x34]
and eax, 0xefffffff
mov dword [edx], 0
mov dword [ecx], eax
lea ecx, [esp + 0x84]
call fcn.004ba940
jmp 0x4a5728
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x38]
push eax
call edx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
lea edx, [esp + 0x34]
push edx
call eax
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [esp + 0x80]
mov edx, dword [edx + 0xc]
push eax
call edx
lea ecx, [esp + 0x34]
call fcn.004ba940
lea ecx, [esp + 0x38]
call fcn.004ba940
lea ecx, [esp + 0xe0]
call fcn.004ba940
lea ecx, [esp + 0x144]
call fcn.004c40b0
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x34]
mov dword [eax + 4], 2
mov dword [eax], 0
mov eax, dword [ebp + 0x38]
mov dword [eax], 0
mov dword [ecx], 0
lea ecx, [esp + 0x24]
call fcn.004ba940
jmp 0x4a5728
cmp eax, 1
je 0x4a580c
cmp eax, 4
jne 0x4a5179
mov esi, edi
and esi, 1
je 0x4a581f
test edi, 0x40
jne 0x4a52af
cmp eax, 4
jne 0x4a582c
test esi, esi
jne 0x4a5143
lea ecx, [esp + 0x164]
call fcn.004b1880
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x164]
push edx
call fcn.004b1770
test eax, eax
je 0x4a5865
mov eax, dword [esp + 0x170]
test eax, eax
je 0x4a5640
cmp eax, 1
jne 0x4a5671
cmp dword [ebp + 0x24], 4
jne 0x4a518d
test esi, esi
jmp 0x4a5177
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
mov dword [ecx], 0
lea ecx, [esp + 0x15c]
mov dword [edx], 0xc000003a
call fcn.004b1760
jmp 0x4a5155
cmp eax, 2
je 0x4a58a7
cmp eax, 3
jne 0x4a5143
mov edx, dword [ebp + 0x38]
mov eax, dword [ebp + 0x34]
mov dword [edx], 0
mov dword [eax], 0xc0000103
jmp 0x4a5155
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
and eax, 0xefffffff
mov dword [ecx], 0
mov dword [edx], eax
lea ecx, [esp + 0x7c]
call fcn.004ba940
lea ecx, [esp + 0x74]
call fcn.004ba940
lea ecx, [esp + 0x6c]
call fcn.004ba940
lea ecx, [esp + 0x4c]
call fcn.004ba940
jmp 0x4a5155
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
mov dword [ecx], 0
and eax, 0xefffffff
lea ecx, [esp + 0x44]
mov dword [edx], eax
call fcn.004ba940
jmp 0x4a58d1
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
lea edx, [esp + 0x38]
push edx
call eax
mov ecx, dword [eax]
mov edx, dword [ecx]
mov edx, dword [edx + 0x40]
lea eax, [esp + 0x34]
push eax
call edx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov edx, dword [esp + 0x6c]
mov eax, dword [eax + 0xc]
push edx
call eax
lea ecx, [esp + 0x34]
call fcn.004ba940
lea ecx, [esp + 0x38]
call fcn.004ba940
lea ecx, [esp + 0xf8]
call fcn.004ba940
lea ecx, [esp + 0x13c]
call fcn.004c40b0
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
mov dword [eax + 4], 2
mov dword [eax], 0
mov dword [ecx], 0
lea ecx, [esp + 0x24]
mov dword [edx], 0
call fcn.004ba940
jmp 0x4a58d1
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x64]
call edx
lea ecx, [esp + 0x100]
call fcn.004ba940
lea ecx, [esp + 0x130]
call fcn.004c40b0
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4a59d3
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 4], 2
mov edx, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x34]
mov dword [edx], 0
mov dword [ecx], eax
jmp 0x4a5155
lea ecx, [esp + 0x60]
call fcn.004c4320
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
lea edx, [esp + 0x114]
push edx
lea edx, [esp + 0x10c]
push edx
call eax
mov ecx, eax
call fcn.004c4450
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x12c]
push edx
call fcn.004b1500
push eax
lea eax, [esp + 0x11c]
push eax
call fcn.004b1db0
add esp, 0xc
lea ecx, [esp + 0x108]
call fcn.004c4440
mov ecx, dword [ebp + 0x30]
mov edx, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x24]
mov ebx, dword [0x100cca70]
push ecx
mov ecx, dword [ebp + 0x20]
push edx
mov edx, dword [ebp + 0x1c]
push edi
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
push eax
push ecx
push 0
push 0x40
lea ecx, [esp + 0x88]
add ebx, 0x18c
call fcn.004f47c0
push eax
push 0
lea ecx, [esp + 0x1a4]
call fcn.004c4110
mov ecx, eax
call fcn.004f47c0
mov edx, dword [ebp + 8]
push eax
mov eax, dword [ebx]
push esi
push edx
mov edx, dword [eax + 0x24]
mov ecx, ebx
call edx
call eax
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
mov dword [ecx], 0
lea ecx, [esp + 0x60]
mov dword [edx], eax
call fcn.004c4440
jmp 0x4a5155
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x34]
mov dword [eax], 0
mov dword [ecx], 0xc0000034
lea ecx, [esp + 0x54]
call fcn.004c4440
jmp 0x4a5155
mov edx, dword [ebp + 0x30]
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x24]
mov ebx, dword [0x100cca70]
push edx
mov edx, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x1c]
push edi
push ecx
mov ecx, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x14]
push eax
push ecx
push edx
push 0
push 0x40
lea ecx, [esp + 0x7c]
add ebx, 0x18c
call fcn.004f47c0
push eax
push 0
lea ecx, [esp + 0x1a4]
call fcn.004c4110
mov ecx, eax
call fcn.004f47c0
mov edx, dword [ebx]
push eax
mov eax, dword [ebp + 8]
push esi
push eax
mov eax, dword [edx + 0x24]
mov ecx, ebx
call eax
call eax
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
mov dword [ecx], 0
mov dword [edx], eax
lea ecx, [esp + 0x48]
call fcn.0048c970
lea ecx, [esp + 0x54]
call fcn.004c4440
jmp 0x4a5155
mov eax, dword [ebp + 0x38]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebp + 0x34]
mov dword [eax], 0
mov dword [edx], ecx
jmp 0x4a5b4b
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x114]
push eax
lea eax, [esp + 0x10c]
push eax
call edx
mov ecx, eax
call fcn.004c4450
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x128]
push eax
call fcn.004b1500
push eax
lea ecx, [esp + 0x118]
push ecx
mov ecx, ebx
call fcn.0048fb50
lea ecx, [esp + 0x108]
call fcn.004c4440
mov edx, dword [ebp + 0x30]
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x20]
mov ebx, dword [0x100cca70]
push edx
mov edx, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
or edi, 0x20
push edi
push 5
push ecx
mov ecx, dword [ebp + 0x14]
push edx
push eax
push ecx
push 0
push 0x40
lea ecx, [esp + 0x7c]
add ebx, 0x18c
call fcn.004f47c0
push eax
push 0
lea ecx, [esp + 0x1a4]
call fcn.004c4110
mov ecx, eax
call fcn.004f47c0
mov edx, dword [ebp + 8]
push eax
mov eax, dword [ebx]
or esi, 0x100002
push esi
push edx
mov edx, dword [eax + 0x24]
mov ecx, ebx
call edx
call eax
test eax, eax
jne 0x4a5f3a
mov eax, dword [ebp + 0x24]
cmp eax, 1
je 0x4a5c42
cmp eax, 3
jne 0x4a5e0f
mov esi, dword [0x100cca70]
lea eax, [esp + 0x280]
push eax
push 0
push 0x40
push 0x100b0384
lea ecx, [esp + 0x138]
add esi, 0x36c
call fcn.004c4160
mov ecx, eax
call fcn.004f47c0
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx]
push eax
push ecx
lea ecx, [esp + 0x188]
call fcn.004c4110
mov ecx, eax
call fcn.004f47c0
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x24]
mov ecx, esi
call eax
call eax
test eax, eax
jne 0x4a5e0f
test dword [esp + 0x2a0], 0x10
jne 0x4a5e0f
mov esi, dword [0x100cca70]
push 0x20
push 1
lea ecx, [esp + 0x130]
mov dword [esp + 0x4c], eax
add esi, 0x15c
call fcn.004c40e0
mov ecx, eax
call fcn.004f47c0
mov ecx, dword [ebp + 0x10]
push eax
mov eax, dword [esi]
push ecx
push 0x80100000
lea edx, [esp + 0x58]
push edx
mov edx, dword [eax + 0x24]
mov ecx, esi
call edx
call eax
push 0x10000
call fcn.00485050
mov esi, eax
add esp, 4
lea ecx, [esp + 0x60]
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc0], 0x10000
call fcn.004c40e0
mov edi, dword [0x100cca70]
push 0
push 0
push 0x10000
push esi
lea ecx, [esp + 0x70]
add edi, 0x1ec
call fcn.004f47c0
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x58]
push 0
push 0
push 0
push eax
mov eax, dword [edx + 0x24]
mov ecx, edi
call eax
call eax
cmp eax, 0xc0000011
je 0x4a5dfa
lea ecx, [ecx]
test eax, eax
jne 0x4a5e2f
mov edi, dword [0x100cca70]
push eax
push eax
lea ecx, [esp + 0x68]
add edi, 0x1bc
call fcn.004f47c0
mov ecx, dword [eax + 4]
push ecx
push esi
lea ecx, [esp + 0x138]
call fcn.004c40e0
mov ecx, eax
call fcn.004f47c0
mov edx, dword [ebx]
push eax
mov eax, dword [edi]
push 0
push 0
push 0
push edx
mov edx, dword [eax + 0x24]
mov ecx, edi
call edx
call eax
test eax, eax
jne 0x4a5e2f
lea ecx, [esp + 0x60]
call fcn.004c40e0
mov edi, dword [0x100cca70]
push 0
push 0
push 0x10000
push esi
lea ecx, [esp + 0x70]
add edi, 0x1ec
call fcn.004f47c0
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x58]
push 0
push 0
push 0
push eax
mov eax, dword [edx + 0x24]
mov ecx, edi
call eax
call eax
cmp eax, 0xc0000011
jne 0x4a5d60
lea ecx, [esp + 0xbc]
call fcn.0046a570
lea ecx, [esp + 0x44]
call fcn.0048c970
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x34]
mov dword [eax], 0
mov dword [ecx], 0
lea ecx, [esp + 0x24]
call fcn.0048c970
jmp 0x4a5b4b
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
mov dword [ecx], 0
lea ecx, [esp + 0xbc]
mov dword [edx], eax
call fcn.0046a570
lea ecx, [esp + 0x44]
call fcn.0048c970
lea ecx, [esp + 0x24]
call fcn.0048c970
jmp 0x4a5b4b
cmp eax, 0xc0000034
je 0x4a5e8e
cmp eax, 0xc000003a
je 0x4a5e8e
mov edx, dword [ebp + 0x38]
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x34]
mov dword [edx], 0
mov dword [ecx], eax
lea ecx, [esp + 0x24]
call fcn.0048c970
jmp 0x4a5b4b
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
lea edx, [esp + 0x114]
push edx
lea edx, [esp + 0x10c]
push edx
call eax
mov ecx, eax
call fcn.004c4450
lea ecx, [esp + 0x128]
push ecx
mov ecx, dword [esp + 0x44]
call fcn.004b1500
push eax
lea edx, [esp + 0x118]
push edx
mov ecx, ebx
call fcn.0048fb50
lea ecx, [esp + 0x108]
call fcn.004c4440
mov eax, dword [ebp + 0x30]
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ebp + 0x24]
mov ebx, dword [0x100cca70]
push eax
mov eax, dword [ebp + 0x20]
push ecx
mov ecx, dword [ebp + 0x1c]
push edi
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push ecx
push edx
push eax
push 0
push 0x40
lea ecx, [esp + 0x7c]
add ebx, 0x18c
call fcn.004f47c0
push eax
push 0
lea ecx, [esp + 0x1a4]
call fcn.004c4110
mov ecx, eax
call fcn.004f47c0
mov ecx, dword [ebp + 8]
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x24]
push esi
push ecx
mov ecx, ebx
call eax
call eax
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
mov dword [ecx], 0
lea ecx, [esp + 0x24]
mov dword [edx], eax
call fcn.0048c970
jmp 0x4a5b4b
mov eax, dword [ebp + 0x38]
lea ecx, [esp + 0x14]
mov dword [eax], 1
call fcn.004c4440
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x34