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

Disassembly:
jmp 0x552f50
sub esp, 0xc
mov eax, dword [esp + 0x14]
push ebx
mov ebx, dword [eax + 8]
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 0x14]
push edi
xor edi, edi
push 0x690
push ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], edi
call fcn.005d8dd0
mov ebp, eax
add esp, 8
cmp ebp, edi
je 0x552f92
mov ecx, 0x1a4
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x14]
lea edx, [ebx*4 + 4]
push edx
push eax
call fcn.005d8dd0
add esp, 8
test ebp, ebp
mov edi, eax
je 0x55311d
test edi, edi
je 0x55311d
mov ecx, dword [esp + 0x20]
mov dword [ebp + 0x14], edi
lea esi, [ebp + 0x538]
mov dword [ebp], esi
mov dword [esi + 0xf8], ebx
mov ebx, dword [esp + 0x24]
mov eax, dword [ebx + 8]
mov edx, dword [ecx + 0x14]
lea eax, [eax*4 + 4]
push eax
push edx
call fcn.005d8dd0
add esp, 8
test eax, eax
mov dword [esi + 0x78], eax
je 0x55311d
mov dword [esi + 0xe8], 8
mov ebx, dword [ebx]
mov eax, dword [ebx + 4]
test eax, eax
je 0x5530ae
jmp 0x553010
mov edx, dword [eax]
mov ecx, dword [eax + 0x60]
push ebp
push edx
mov edx, dword [eax + 0x38]
push edx
mov edx, dword [eax + 0x34]
push edx
mov edx, dword [eax + 0x50]
push edx
mov edx, dword [eax + 0x4c]
push edx
mov edx, dword [eax + 0x18]
push edx
mov edx, dword [eax + 0x1c]
push ecx
shr ecx, 0xf
and ecx, 0xffffff01
push ecx
mov ecx, dword [eax + 0x60]
and ecx, 0x8000
neg ecx
sbb ecx, ecx
and ecx, 0x73a01c
push ecx
push edx
push 0
call fcn.004024e1
add esp, 0x30
test eax, eax
mov dword [edi], eax
je 0x553103
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x3c]
mov edx, dword [esp + 0x18]
add edx, eax
mov eax, dword [edi]
mov ax, word [eax + 0x54]
test al, 1
mov dword [esp + 0x18], edx
jne 0x553081
inc dword [esp + 0x10]
test al, 0x10
je 0x55309e
mov eax, dword [ebp + 0x14]
mov edx, dword [esi + 0x78]
mov ecx, edi
sub ecx, eax
mov eax, dword [esp + 0x14]
sar ecx, 2
mov dword [edx + eax*4], ecx
inc eax
mov dword [esp + 0x14], eax
mov ebx, dword [ebx]
mov eax, dword [ebx + 4]
add edi, 4
test eax, eax
jne 0x553010
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
mov dword [edi], 0
mov edi, dword [esp + 0x10]
mov ecx, dword [esi + 0x78]
mov dword [ecx + eax*4], 0
mov dword [esi + 0x11c], eax
add edi, 7
shr edi, 3
lea eax, [edi + edx]
mov dword [esi + 0xd0], eax
add eax, 8
and eax, 0xfffffff8
push eax
mov dword [esi + 0xfc], eax
mov eax, dword [ebx + 0x14]
push eax
call fcn.005d8dd0
add esp, 8
test eax, eax
mov dword [ebp + 0x18], eax
jne 0x553127
mov ebp, dword [ebp + 0x14]
mov ecx, dword [ebp]
test ecx, ecx
je 0x55311d
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [ebp + 4]
add ebp, 4
test ecx, ecx
jne 0x55310d
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
test edi, edi
je 0x55313e
mov dword [ebp + 0x6c], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x118], eax
mov dword [esi + 0xec], edi
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x10], ebx
mov edi, dword [esi + 0xec]
mov esi, dword [ecx]
add edi, eax
test esi, esi
mov dword [esp + 0x20], eax
mov ebx, 1
mov dword [esp + 0x24], ecx
je 0x5531b5
jmp 0x553170
mov eax, dword [esp + 0x20]
jmp 0x553170
test byte [esi + 0x54], 1
mov dword [esi + 8], edi
jne 0x553193
mov byte [esi + 0x56], bl
shl ebx, 1
cmp ebx, 0x100
mov dword [esi + 0xc], eax
jne 0x553193
inc eax
mov dword [esp + 0x20], eax
mov ebx, 1
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x4c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
add edi, eax
mov eax, dword [esp + 0x24]
mov esi, dword [eax + 4]
add eax, 4
test esi, esi
mov dword [esp + 0x24], eax
jne 0x553164
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret