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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffecc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov esi, dword [ebp + 0x10]
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, ecx
lea edi, [ebp - 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea edi, [ebp - 0xe8]
xor eax, eax
push ebp
push 0x4aae04
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x237], 0x80
jne 0x4aade8
mov ecx, 0x4aae14
mov edx, 0x4aae1c
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x274]
xor edx, edx
push ebp
push 0x4aade1
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x150]
mov dl, 1
mov eax, dword [0x4291c8]
call fcn.0042fae0
mov dword [ebp - 0x38], eax
cmp byte [0x5d3280], 0
je 0x4a9c70
mov eax, dword [ebp - 4]
cmp byte [eax + 0x39d], 1
je 0x4a9c64
mov eax, dword [ebp - 4]
test byte [eax + 0x239], 0x80
jne 0x4a9c64
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x224]
test byte [eax + 0xa], 1
je 0x4a9c70
mov dl, 7
mov eax, dword [ebp - 0x38]
call fcn.00431118
jmp 0x4a9c7b
mov dl, byte [ebp + 8]
mov eax, dword [ebp - 0x38]
call fcn.00431118
mov eax, edi
mov edx, 0x94
call fcn.00407e40
mov eax, dword [ebp - 0x38]
call fcn.004300a8
mov dword [edi], eax
mov eax, dword [ebp - 0x38]
call fcn.004300a8
call fcn.0042adec
xor edx, edx
push ebp
push 0x4aada9
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0x118]
mov eax, dword [ebp - 4]
add eax, 0x281
call fcn.00485c98
mov eax, dword [ebp - 4]
call fcn.004a93e0
test al, al
je 0x4a9cdb
lea eax, [ebp - 0x118]
push eax
call fcn.00407b68
test eax, eax
je 0x4a9cdf
xor eax, eax
jmp 0x4a9ce1
mov al, 1
mov byte [ebp - 0x11], al
push 0
lea eax, [ebp - 0xf8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3f0]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
call fcn.00446658
cdq
push edx
push eax
call fcn.0043224c
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0041bcec
mov edx, dword [ebp - 0x4c]
sub edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 8]
call fcn.0042b2f8
push eax
call fcn.00407610
push eax
mov eax, dword [ebp - 0x38]
call fcn.004300a8
call fcn.0042b2f8
push eax
call fcn.00407760
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x224]
test byte [eax + 8], 0x10
je 0x4a9d75
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x304]
mov eax, dword [eax + 0xc]
mov edx, dword [0x4291c8]
call fcn.00403ab8
test al, al
je 0x4a9d75
test byte [ebp + 0xc], 1
jne 0x4a9d79
xor eax, eax
jmp 0x4a9d7b
mov al, 1
mov byte [ebp - 0x12], al
mov eax, dword [ebp - 4]
cmp dword [eax + 0x360], 0
setne byte [ebp - 0x13]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x364], 0
setne byte [ebp - 0x14]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x370], 0
je 0x4a9db5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x224]
test byte [eax + 0x11], 2
jne 0x4a9db9
xor eax, eax
jmp 0x4a9dbb
mov al, 1
mov byte [ebp - 0x15], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x214]
call fcn.0048f700
mov byte [ebp - 0x16], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x224]
test byte [eax + 9], 0x80
jne 0x4a9dfd
mov eax, dword [ebp - 4]
mov si, 0xffb5
call fcn.00403b28
test al, al
jne 0x4a9e01
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x224]
test byte [eax + 8], 2
je 0x4a9e01
and byte [ebp + 0xc], 0xf7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x224]
test byte [eax + 8], 1
je 0x4a9e14
and byte [ebp + 0xc], 0xfb
xor eax, eax
mov dword [ebp - 0x34], eax
push 0
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x50]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004a8a60
mov ebx, eax
mov dword [edi + 8], ebx
test ebx, ebx
jne 0x4a9e3b
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x34], eax
cmp byte [ebp - 0x11], 0
je 0x4a9e55
mov eax, dword [ebp - 0x34]
neg eax
push eax
push 0
lea eax, [ebp - 0x118]
push eax
call fcn.00407c08
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x10]
add eax, ebx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x48]
mov esi, dword [ebp - 0x50]
sub eax, esi
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x40], eax
push 0
lea eax, [ebp - 0x108]
push eax
sub esi, dword [ebp - 0x34]
mov edx, dword [ebp - 0xc]
sub edx, esi
mov ecx, dword [ebp - 0x3c]
mov eax, ebx
call fcn.0041bcec
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x44], 0xfffffffe
cmp dword [edi + 8], 0
je 0x4aa860
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x350]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x220]
sub edx, eax
mov dword [ebp - 0x11c], edx
fild dword [ebp - 0x11c]
fdiv dword [0x4aae24]
call fcn.00402f70
mov dword [ebp - 0x24], eax
jmp 0x4aa855
lea ecx, [ebp - 0x2c]
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004944c4
mov ebx, eax
mov eax, dword [ebp - 0x2c]
call fcn.00405d20
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x224]
test byte [eax + 0xa], 8
jne 0x4a9f4d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x350]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x220]
sub edx, eax
mov dword [ebp - 0x11c], edx
fild dword [ebp - 0x11c]
fdiv dword [0x4aae24]
call fcn.00402f70
mov edx, dword [ebp - 0x20]
dec edx
mov ecx, dword [ebp - 4]
imul edx, dword [ecx + 0x220]
add eax, edx
mov dword [ebp - 0x24], eax
mov esi, dword [edi + 8]
test byte [esi + 0xa], 1
jne 0x4a9f63
mov edx, esi
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x300]
mov eax, dword [edi + 8]
test byte [eax + 0xb], 1
je 0x4a9f7c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x224]
test byte [edx + 0xa], 4
jne 0x4a9f7c
inc ebx
mov ecx, eax
mov edx, dword [edi]
mov eax, dword [ebp - 4]
call fcn.004a968c
lea ecx, [ebp - 0x124]
mov edx, dword [ebp - 0x34]
and edx, 1
mov eax, dword [ebp - 0x54]
and eax, 1
call fcn.0041bcc4
mov eax, dword [ebp - 0x124]
mov dword [edi + 0x3b], eax
mov eax, dword [ebp - 0x120]
mov dword [edi + 0x3f], eax
mov eax, dword [edi + 8]
movzx edx, word [eax + 8]
add dword [ebp - 0x34], edx
movzx eax, word [eax + 8]
add eax, dword [ebp - 0x104]
mov dword [ebp - 0xfc], eax
test ebx, ebx
jg 0x4a9fd9
test byte [ebp + 0xc], 0x80
jne 0x4aa810
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [edi + 8]
movzx edx, word [edx + 8]
cmp eax, edx
je 0x4aa02d
xor edx, edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [edi + 8]
movzx edx, word [eax + 8]
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x34]
push 0
push 0
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x38]
call fcn.004300a8
call fcn.0042b2f8
push eax
call fcn.004077a8
mov eax, dword [edi + 8]
movzx eax, word [eax + 8]
mov dword [ebp - 0xec], eax
push 0
mov eax, dword [edi + 0x3f]
push eax
mov eax, dword [edi + 0x3b]
push eax
mov eax, dword [edi]
call fcn.0042b2f8
push eax
call fcn.00407748
mov eax, dword [edi + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
mov cl, byte [ebp - 0x14]
mov dl, byte [ebp - 0x13]
mov eax, dword [ebp - 4]
call fcn.004935dc
lea eax, [ebp - 0xf8]
push eax
mov ecx, dword [edi + 8]
mov edx, dword [edi]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x14c]
test al, al
jne 0x4aa782
mov al, byte [ebp + 0xc]
mov byte [edi + 4], al
push 1
mov eax, dword [ebp - 0xfc]
push eax
lea eax, [ebp - 0x134]
push eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x54]
call fcn.0041bcec
lea eax, [ebp - 0x134]
push eax
mov edx, edi
mov cl, byte [ebp - 0x12]
mov eax, dword [ebp - 4]
call fcn.0049419c
push edi
lea esi, [ebp - 0xf8]
add edi, 0x14
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
cmp byte [ebp - 0x16], 0
je 0x4aa0d7
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00494f70
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x214]
mov ebx, dword [eax + 8]
jmp 0x4aa719
cmp byte [ebp - 0x16], 0
je 0x4aa124
mov eax, dword [ebx + 0x30]
mov edx, dword [edi + 0x10]
mov esi, dword [eax + edx*4]
mov dword [edi + 0xc], esi
cmp dword [ebp - 0x44], 0xfffffffe
jne 0x4aa103
mov dword [ebp - 0x44], esi
mov edx, esi
mov eax, ebx
call fcn.0048cf40
mov al, byte [eax + 0x30]
mov byte [edi + 0x3a], al
mov edx, dword [edi + 0xc]
mov eax, ebx
call fcn.0048cf40
mov al, byte [eax + 0x44]
mov byte [edi + 0x38], al
jmp 0x4aa140
mov dword [edi + 0xc], 0xffffffff
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x5f]
mov byte [edi + 0x3a], al
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x39e]
mov byte [edi + 0x38], al
mov al, byte [ebp + 0xc]
mov byte [edi + 4], al
mov eax, dword [ebp - 4]
test byte [eax + 0x235], 8
je 0x4aa178
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x240]
cmp eax, dword [edi + 8]
jne 0x4aa178
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x244]
cmp eax, dword [edi + 0xc]
je 0x4aa174
cmp byte [ebp - 0x16], 0
jne 0x4aa178
and byte [edi + 4], 0xf7
cmp byte [ebp - 0x16], 0
je 0x4aa1ac
mov eax, dword [edi + 8]
test byte [eax + 0xb], 1
je 0x4aa19c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x224]
test byte [eax + 0xf], 4
je 0x4aa19c
test byte [edi + 4], 8
jne 0x4aa1ac
mov edx, dword [edi + 0xc]
mov eax, ebx
call fcn.0048cf40
test byte [eax + 0x3c], 0x10
je 0x4aa1b0
and byte [edi + 4], 0xfd
mov eax, dword [ebx + 0x18]
call fcn.0048f6e4
cmp eax, dword [edi + 0xc]
sete byte [ebp - 0x17]
cmp byte [edi + 0x3a], 0
je 0x4aa1cd
lea eax, [edi + 0x38]
call fcn.00443a34
cmp byte [ebp - 0x16], 0
je 0x4aa1e7
mov edx, dword [edi + 0xc]
mov eax, ebx
call fcn.0048cf40
test byte [eax + 0x3c], 0x80
je 0x4aa6a4
test byte [ebp + 0xc], 0x40
setne al
xor al, 1
or al, byte [ebp - 0x17]
je 0x4aa6a4
lea ecx, [ebp - 0x30]
mov edx, edi
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0xd4]
mov eax, dword [edi + 0x1c]
cmp eax, dword [ebp - 0x54]
jle 0x4aa698
mov eax, dword [edi]
push eax
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x1e4]
mov dword [edi + 0x34], eax
push edi
lea esi, [edi + 0x14]
add edi, 0x24
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
cmp byte [edi + 0x3a], 0
je 0x4aa24c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
sub dword [edi + 0x2c], eax
jmp 0x4aa258
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
add dword [edi + 0x24], eax
mov al, byte [ebp - 0x15]
and al, byte [ebp - 0x17]
je 0x4aa2a3
push 0
push 0
xor ecx, ecx
mov edx, dword [edi + 8]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x2b8]
mov dword [edi + 0x6c], eax
cmp dword [edi + 0x6c], 0xffffffff
jle 0x4aa2aa
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [edi + 0x24]
push eax
lea eax, [edi + 0x6c]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x370]
mov cl, byte [edi + 0x3a]
mov eax, dword [ebp - 4]
call fcn.004934e0
mov byte [edi + 0x78], 0
jmp 0x4aa2aa
mov dword [edi + 0x6c], 0xffffffff
cmp byte [ebp - 0x14], 0
je 0x4aa2f3
push 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x364]
push eax
mov edx, edi
mov cl, 2
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x2cc]
cmp dword [edi + 0x58], 0xffffffff
jle 0x4aa2fa
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [edi + 0x24]
push eax
lea eax, [edi + 0x58]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x364]
mov cl, byte [edi + 0x3a]
mov eax, dword [ebp - 4]
call fcn.004934e0
jmp 0x4aa2fa
mov dword [edi + 0x58], 0xffffffff
cmp byte [ebp - 0x13], 0
je 0x4aa354
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x360]
push eax
mov eax, dword [edi + 8]
test byte [eax + 0xb], 1
setne al
and eax, 0x7f
mov cl, byte [eax + 0x5ba37c]
mov edx, edi
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x2cc]
cmp dword [edi + 0x44], 0xffffffff
jle 0x4aa35b
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [edi + 0x24]
push eax
lea eax, [edi + 0x44]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x360]
mov cl, byte [edi + 0x3a]
mov eax, dword [ebp - 4]
call fcn.004934e0
jmp 0x4aa35b
mov dword [edi + 0x44], 0xffffffff
cmp byte [ebp - 0x17], 0
je 0x4aa38a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x224]
test byte [eax + 0xa], 8
setne al
mov ecx, dword [ebp - 0x20]
mov edx, 1
call fcn.004322d4
mov ecx, eax
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.004934b4
cmp byte [ebp - 0x16], 0
je 0x4aa39f
push 0
lea ecx, [edi + 0x14]
mov edx, dword [edi]
mov eax, dword [ebp - 4]
call fcn.004951a4
test byte [edi + 4], 0x20
je 0x4aa4a3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x224]
test byte [eax + 8], 0x80
je 0x4aa4a3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38c]
mov edx, 4
call fcn.00492ef4
mov edx, eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
call fcn.0042a198
cmp byte [ebp - 0x17], 0
je 0x4aa484
mov eax, dword [ebp - 4]
cmp byte [eax + 0x393], 1
jne 0x4aa484
cmp byte [edi + 0x3a], 0
jne 0x4aa440
mov eax, dword [edi + 0x1c]
dec eax
push eax
mov eax, dword [edi + 0x20]
dec eax
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x224]
test byte [eax + 0xa], 8
setne al
mov ecx, dword [ebp - 0x20]
mov edx, 1
call fcn.004322d4
mov ecx, eax
mov eax, dword [ebp - 4]
imul ecx, dword [eax + 0x220]
add ecx, dword [edi + 0x14]
mov edx, edi
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x2a0]
jmp 0x4aa49d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x224]
test byte [eax + 0xa], 8
setne al
mov ecx, dword [ebp - 0x20]
mov edx, 1
call fcn.004322d4
mov edx, dword [ebp - 4]
imul dword [edx + 0x220]
mov edx, dword [edi + 0x1c]
sub edx, eax
dec edx
push edx
mov eax, dword [edi + 0x20]
dec eax
push eax
mov edx, edi
mov ecx, dword [edi + 0x14]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x2a0]
jmp 0x4aa49d
mov eax, dword [edi + 0x1c]
push eax
mov eax, dword [edi + 0x20]
dec eax
push eax
mov edx, edi
mov ecx, dword [edi + 0x14]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x2a0]
dec dword [edi + 0x20]
dec dword [edi + 0x30]
cmp byte [ebp - 0x16], 0
je 0x4aa531
test byte [edi + 4], 0x20
je 0x4aa531
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x224]
test byte [eax + 9], 4
je 0x4aa531
mov eax, dword [ebx + 0x18]
test byte [eax + 0x15], 1
je 0x4aa4d8
mov eax, ebx
call fcn.0048cf38
dec eax
cmp eax, dword [edi + 0x10]
jbe 0x4aa531
cmp byte [edi + 0x3a], 0
je 0x4aa4f3
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + pe_nt_image_headers32]
test al, al
jne 0x4aa52b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38c]
mov edx, 4
call fcn.00492ef4
mov edx, eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
call fcn.0042a198
mov eax, dword [edi + 0x20]
push eax
mov eax, dword [edi + 0x1c]
dec eax
push eax
mov edx, edi
mov ecx, dword [edi + 0x18]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x2a4]
dec dword [edi + 0x1c]
dec dword [edi + 0x2c]
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
mov edx, edi
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x340]
cmp byte [ebp - 0x17], 0
je 0x4aa617
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x224]
test byte [eax + 9], 2
je 0x4aa5b0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x224]
test byte [eax + 0xa], 0x20
je 0x4aa57e
mov eax, dword [ebp - 4]
test byte [eax + 0x239], 0x80
jne 0x4aa5b0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x224]
test byte [eax + 0xa], 8
setne al
mov ecx, dword [ebp - 0x20]
mov edx, 1
call fcn.004322d4
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov edx, edi
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x334]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x224]
test byte [eax + 8], 0x20
je 0x4aa604
mov eax, dword [edi + 8]
test byte [eax + 0xa], 0x40
je 0x4aa604
mov eax, dword [edi + 8]
test byte [eax + 0xb], 4
je 0x4aa5e0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x224]
test byte [eax + 0xd], 0x80
jne 0x4aa604
mov eax, dword [edi + 0xc]
push eax
lea eax, [edi + 0x14]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov al, byte [edi + 0x3a]
push eax
mov ecx, dword [edi + 8]
mov edx, dword [edi]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x330]
cmp dword [edi + 0x6c], 0xffffffff
jle 0x4aa617
mov edx, edi
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x328]
cmp dword [edi + 0x58], 0xffffffff
jle 0x4aa62e
push 0
mov edx, edi
mov cl, 1
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x32c]
cmp dword [edi + 0x44], 0xffffffff
jle 0x4aa645
push 1
mov edx, edi
xor ecx, ecx
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x32c]
mov eax, dword [ebp - 4]
test byte [eax + 0x235], 8
je 0x4aa673
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x240]
cmp eax, dword [edi + 8]
jne 0x4aa673
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x244]
cmp eax, dword [edi + 0xc]
je 0x4aa680
cmp byte [ebp - 0x16], 0
je 0x4aa680
mov edx, edi
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x254]
mov eax, dword [edi + 0xc]
push eax
lea eax, [edi + 0x14]
push eax
mov ecx, dword [edi + 8]
mov edx, dword [edi]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x12c]
cmp byte [ebp - 0x16], 0
je 0x4aa731
jmp 0x4aa6b3
xor ecx, ecx
mov edx, dword [edi + 0xc]
mov eax, ebx
call fcn.0048e5c0
mov dword [ebp - 0x30], eax
push 0
mov eax, dword [edi]
call fcn.0042b2f8
push eax
call fcn.00407720
mov eax, dword [edi + 0x14]
cmp eax, dword [ebp - 0x4c]
jge 0x4aa731
cmp dword [ebp - 0x30], 0xfffffffe
je 0x4aa731
mov edx, dword [ebp - 0x30]
mov eax, ebx
call fcn.0048cf40
mov eax, dword [eax + 0x1c]
mov dword [edi + 0x10], eax
mov edx, dword [ebp - 0x30]
mov eax, ebx
call fcn.0048cf40
test byte [eax + 0x3c], 0x80
je 0x4aa719
mov edx, dword [ebp - 0x30]
mov eax, ebx
call fcn.0048cf40
lea ecx, [edi + 0x1c]
lea edx, [edi + 0x14]
call fcn.0048c630
mov eax, dword [edi + 8]
movzx eax, word [eax + 8]
mov dword [edi + 0x20], eax
mov eax, dword [edi + 8]
movzx eax, word [eax + 8]
mov dword [edi + 0x30], eax
cmp dword [edi + 0xc], 0xfffffffe
jg 0x4aa725
cmp byte [ebp - 0x16], 0
jne 0x4aa731
mov eax, dword [edi + 0x14]
cmp eax, dword [ebp - 0x4c]
jl 0x4aa0e8
lea eax, [ebp - 0xf8]
push eax
mov ecx, dword [edi + 8]
mov edx, dword [edi]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x134]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3ac]
cmp eax, dword [edi + 8]
jne 0x4aa782
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x224]
test byte [eax + 8], 0x40
je 0x4aa782
test byte [edi + 4], 0x10
je 0x4aa782
lea eax, [ebp - 0xf8]
push eax
mov ecx, dword [edi + 8]
mov edx, dword [edi]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x250]
cmp byte [ebp - 0x11], 0
je 0x4aa7c9
lea eax, [ebp - 0x118]
push eax
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x134]
push eax
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0041bcec
lea eax, [ebp - 0x134]
push eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [edi]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x338]
push 0xcc0020
push 0
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x38]
call fcn.004300a8
call fcn.0042b2f8
push eax
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
mov eax, dword [ebp - 0x104]
push eax
mov eax, dword [ebp - 0x108]
push eax
mov eax, dword [ebp - 8]
call fcn.0042b2f8
push eax
call fcn.004074b0
mov eax, dword [edi + 8]
mov ax, word [eax + 8]
movzx edx, ax
add dword [ebp - 0x104], edx
mov edx, dword [ebp - 0x104]
cmp edx, dword [ebp - 0x40]
jge 0x4aa860
cmp byte [ebp - 0x11], 0
je 0x4aa845
movzx eax, ax
neg eax
push eax
push 0
lea eax, [ebp - 0x118]
push eax
call fcn.00407c08
mov cl, 1
mov edx, dword [edi + 8]
mov eax, dword [ebp - 4]
call fcn.004a87b8
mov dword [edi + 8], eax
mov eax, dword [edi + 8]
test eax, eax
jne 0x4a9ee1
mov eax, dword [ebp - 0x104]
cmp eax, dword [ebp - 0x40]
jge 0x4aad86
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0xf8]
push eax
mov ebx, dword [ebp - 0x108]
mov ecx, ebx
xor edx, edx
mov eax, ebx
call fcn.0041bcec
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [ebp - 0x10]
xor edx, edx
xor eax, eax
call fcn.0041bcec
xor edx, edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov dl, 7
mov eax, dword [ebp - 0x38]
call fcn.00431118
mov edx, dword [ebp - 0x100]
sub edx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, dword [ebp - 0xfc]
sub edx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x34]
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x38]
call fcn.004300a8
call fcn.0042b2f8
push eax
call fcn.004077a8
mov eax, dword [ebp - 0x38]
call fcn.004300a8
mov edx, eax
lea ecx, [ebp - 0x108]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x24c]
test al, al
jne 0x4aacab
cmp byte [ebp - 0x12], 0
je 0x4aa9d3
push 0
push 0
push 0
mov eax, dword [ebp - 0x38]
call fcn.004300a8
call fcn.0042b2f8
push eax
call fcn.004077a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x224]
test byte [eax + 0xa], 2
je 0x4aa9a1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 0x38]
call fcn.004300a8
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x304]
call fcn.0042d280
mov edx, eax
mov eax, dword [ebp - 4]
pop ecx
call fcn.00496c88
jmp 0x4aacab
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 0x38]
call fcn.004300a8
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x304]
call fcn.0042d280
mov edx, eax
mov eax, dword [ebp - 4]
pop ecx
call fcn.00496e40
jmp 0x4aacab
cmp byte [ebp - 0x16], 0
je 0x4aac69
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x214]
mov ebx, dword [eax + 8]
cmp dword [ebp - 0x44], 0xfffffffe
jne 0x4aaa54
xor edx, edx
mov eax, ebx
call fcn.0048e4c4
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xfffffffe
je 0x4aaa4c
mov edx, dword [ebp - 0x44]
mov eax, ebx
call fcn.0048cf40
call fcn.0048b7fc
mov dword [ebp - 0xf8], eax
mov edx, dword [ebp - 0x44]
mov eax, ebx
call fcn.0048cf40
mov eax, dword [eax + 0x18]
add eax, dword [ebp - 0xf8]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
cmp eax, dword [ebp - 0x108]
jg 0x4aaa82
xor ecx, ecx
mov edx, dword [ebp - 0x44]
mov eax, ebx
call fcn.0048e5c0
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xfffffffe
jne 0x4aa9fb
jmp 0x4aaa82
mov edx, dword [ebp - 0x44]
mov eax, ebx
call fcn.0048cf40
call fcn.0048b7fc
mov dword [ebp - 0xf8], eax
mov edx, dword [ebp - 0x44]
mov eax, ebx
call fcn.0048cf40
mov eax, dword [eax + 0x18]
add eax, dword [ebp - 0xf8]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38c]
mov edx, 4
call fcn.00492ef4
push eax
mov eax, dword [ebp - 0x38]
call fcn.004300a8
mov eax, dword [eax + 0xc]
pop edx
call fcn.0042a198
jmp 0x4aabab
test byte [ebp + 0xc], 0x20
je 0x4aab0e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x224]
test byte [eax + 9], 0x40
je 0x4aab0e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x224]
test byte [eax + 9], 4
je 0x4aab0e
mov eax, dword [ebx + 0x18]
test byte [eax + 0x15], 1
je 0x4aaae6
mov eax, ebx
call fcn.0048cf38
dec eax
cmp eax, dword [ebp - 0x44]
jbe 0x4aab0e
mov eax, dword [ebp - 0xec]
push eax
mov eax, dword [ebp - 0xf0]
dec eax
push eax
mov edx, edi
mov ecx, dword [ebp - 0xf4]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x2a4]
dec dword [ebp - 0xf0]
mov edx, dword [ebp - 0x44]
mov eax, ebx
call fcn.0048cf40
test byte [eax + 0x3c], 0x10
jne 0x4aab3f
mov edx, dword [ebp - 0x44]
mov eax, ebx
call fcn.0048cf40
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 0x38]
call fcn.004300a8
mov eax, dword [eax + 0x14]
pop edx
call fcn.0042a964
jmp 0x4aab55
mov eax, dword [ebp - 0x38]
call fcn.004300a8
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x70]
call fcn.0042a964
mov eax, dword [ebp - 0x38]
call fcn.004300a8
lea edx, [ebp - 0xf8]
call fcn.0042ad3c
xor ecx, ecx
mov edx, dword [ebp - 0x44]
mov eax, ebx
call fcn.0048e5c0
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xfffffffe
je 0x4aabab
mov edx, dword [ebp - 0x44]
mov eax, ebx
call fcn.0048cf40
call fcn.0048b7fc
mov dword [ebp - 0xf8], eax
mov edx, dword [ebp - 0x44]
mov eax, ebx
call fcn.0048cf40
mov eax, dword [eax + 0x18]
add eax, dword [ebp - 0xf8]
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0x44], 0xfffffffe
je 0x4aabc6
mov eax, dword [ebp - 0x100]
add eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xf8]
jg 0x4aaaac
mov eax, dword [ebp - 0x100]
add eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xf0]
jle 0x4aac4e
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x100]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0xf0], eax
test byte [ebp + 0xc], 0x20
je 0x4aac25
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x224]
test byte [eax + 9], 0x40
je 0x4aac25
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x224]
test byte [eax + 9], 4
je 0x4aac25
mov eax, dword [ebx + 0x18]
test byte [eax + 0x15], 1
jne 0x4aac25
inc dword [ebp - 0xf8]
mov eax, dword [ebp - 0x38]
call fcn.004300a8
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x70]
call fcn.0042a964
mov eax, dword [ebp - 0x38]
call fcn.004300a8
lea edx, [ebp - 0xf8]
call fcn.0042ad3c
push 0
push 0
push 0
mov eax, dword [ebp - 0x38]
call fcn.004300a8
call fcn.0042b2f8
push eax
call fcn.004077a8
jmp 0x4aacab
push 0
push 0
push 0
mov eax, dword [ebp - 0x38]
call fcn.004300a8
call fcn.0042b2f8
push eax
call fcn.004077a8
mov eax, dword [ebp - 0x38]
call fcn.004300a8
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x70]
call fcn.0042a964
mov eax, dword [ebp - 0x38]
call fcn.004300a8
lea edx, [ebp - 0x108]
call fcn.0042ad3c
push 0
push 0
push 0
mov eax, dword [ebp - 0x38]
call fcn.004300a8
call fcn.0042b2f8
push eax
call fcn.004077a8
cmp byte [ebp - 0x11], 0
je 0x4aad47
lea edx, [ebp - 0xf8]
mov eax, dword [ebp - 4]
add eax, 0x281
call fcn.00485c98
mov eax, dword [ebp - 0xc]
neg eax
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x3e8]
push eax
mov eax, dword [ebp - 0x10]
neg eax
add eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.00407c08
push 0
mov eax, dword [ebp - 0x10]
and eax, 1
push eax
push 0
mov eax, dword [ebp - 0x38]
call fcn.004300a8
call fcn.0042b2f8
push eax
call fcn.00407748
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 0x38]
call fcn.004300a8
mov edx, eax
xor ecx, ecx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x338]
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x38]
call fcn.004300a8
call fcn.0042b2f8
push eax
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.0042b2f8
push eax
call fcn.004074b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aadb0
mov eax, dword [ebp - 0x38]
call fcn.004300a8
call fcn.0042b1cc
mov eax, dword [ebp - 0x38]
call fcn.0040392c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aae0b
lea eax, [ebp - 0x2c]
mov edx, dword [0x47e184]
call fcn.00405fdc
ret