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

Disassembly:
jmp 0x54ab80
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x24]
mov ebx, edi
xor ebp, ebp
test edi, edi
mov dword [esp + 0x24], ebx
je 0x54abc0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc8]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x30]
test eax, eax
jne 0x54abc0
mov eax, dword [esi]
mov ecx, esi
mov ebp, esi
call dword [eax + 0xc8]
mov esi, eax
xor edi, edi
jmp 0x54abc9
cmp edi, 0x17
ja case.0x54abd0.8
movzx ecx, byte [edi + 0x54ad84]
jmp dword [ecx*4 + 0x54ad70]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi]
push eax
mov eax, dword [esp + 0x38]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x180]
test eax, eax
jne 0x54ad68
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov edx, 1
pop ebp
mov dword [ecx + 0xbd4], edx
mov byte [ecx + 0x2c8], dl
pop ebx
pop ecx
ret
cmp ebx, 0xd
mov edi, dword [esp + 0x38]
mov dword [esp + 0x10], edi
jne 0x54ac22
xor edi, edi
mov al, byte [esi + 0x32]
test al, al
je 0x54ac60
mov ecx, dword [esi + 0x74]
call fcn.004010f5
test eax, eax
jne 0x54ac60
mov ecx, dword [esp + 0x44]
push ecx
push edi
push eax
mov eax, dword [esp + 0x28]
call fcn.0054a880
mov edx, dword [esi + 0x74]
mov ebx, eax
mov eax, dword [esp + 0x38]
mov dword [eax], edx
add esp, 0xc
test ebx, ebx
je 0x54accd
test edi, edi
je 0x54accd
mov dword [esi + 0x78], ebx
jmp 0x54accd
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x54ac96
mov ecx, dword [esi + 0x74]
mov edx, dword [ecx]
call dword [edx + 0x68]
cmp eax, 0x10
jne 0x54ac96
mov eax, dword [esi + 0x74]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x2c]
push edx
mov dword [ecx], eax
mov eax, dword [esp + 0x2c]
push edi
push eax
mov eax, dword [esp + 0x28]
call fcn.0054a880
mov ebx, eax
jmp 0x54ac50
test ebp, ebp
je 0x54ac9f
mov ecx, dword [ebp + 0x1c]
jmp 0x54aca2
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x74]
mov edx, dword [esp + 0x2c]
mov dword [edx], eax
mov edx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x20]
neg edi
sbb edi, edi
and edi, esi
push edi
push edx
push ecx
push eax
mov eax, dword [esp + 0x2c]
push eax
call fcn.00405e70
add esp, 0x18
mov ebx, eax
cmp dword [esp + 0x24], 0xd
jne 0x54ace8
mov eax, dword [esp + 0x10]
test eax, eax
je 0x54ace8
mov edx, dword [ebp]
push ebx
mov ecx, ebp
call dword [edx + 0xac]
mov ecx, dword [esi + 0x74]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x38]
test eax, eax
je 0x54acfe
mov ecx, dword [esi + 0x74]
mov edx, dword [esp + 0x30]
mov dword [edx], ecx
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x40]
test eax, eax
je 0x54ad17
mov ecx, dword [esi + 0x48]
mov edx, dword [esp + 0x2c]
mov dword [edx], ecx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x28]
push ecx
xor ecx, ecx
test eax, eax
mov eax, dword [esp + 0x20]
setne cl
push edx
dec ecx
and ecx, edi
push ecx
call fcn.0054a880
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov edx, dword [esp + 0x1c]
push edx
mov ecx, esi
call fcn.00405989
mov ecx, dword [esi + 0x3c]
mov edi, eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x100]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret