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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6278c8
push eax
mov eax, dword [esp + 0x18]
mov dword fs:[0], esp
sub esp, 0x20
test eax, eax
push ebx
mov ebx, dword [esp + 0x34]
push ebp
je 0x53cd69
mov ebx, dword [eax + 4]
test ebx, ebx
jne 0x53cd81
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov ecx, ebx
call fcn.00496c30
cmp eax, 4
je 0x53cda8
cmp eax, 6
je 0x53cda8
pop ebp
mov eax, 0xfffffffe
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov ecx, dword [ebx + 8]
push 0xffffffffffffffff
mov dword [esp + 0x24], ecx
call fcn.00486290
mov ebp, eax
test ebp, ebp
jne 0x53cdd0
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov eax, dword [ebp]
push esi
push edi
mov ecx, ebp
call dword [eax + 0xc]
mov edx, dword [ebp]
mov edi, eax
mov ecx, ebp
mov dword [esp + 0x2c], edi
call dword [edx + 0x78]
mov esi, eax
lea eax, [esp + 0x40]
push eax
mov ecx, ebx
mov dword [esp + 0x14], 1
call fcn.00496f80
mov ecx, ebx
mov dword [esp + 0x38], 0
call fcn.00496c30
cmp eax, 4
jne 0x53ce54
mov ecx, ebx
call fcn.004972f0
test eax, eax
jle 0x53ce54
push 0
mov ecx, ebx
call fcn.00497410
test eax, eax
jl 0x53ce54
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, ebx
call fcn.00498130
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 1
call fcn.004956f0
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0
call fcn.004952e0
test esi, esi
je 0x53cfde
lea edx, [esp + 0x24]
mov ecx, ebx
push edx
call fcn.00496ca0
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x20], eax
je 0x53cfde
push 0xd
lea ecx, [esp + 0x24]
call fcn.00499c70
test eax, eax
je 0x53cfde
lea eax, [esp + 0x1c]
push 0xd
push eax
lea ecx, [esp + 0x28]
call fcn.00499c90
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x24], eax
je 0x53cfde
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x28]
call fcn.00499890
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 2
call fcn.00495320
test eax, eax
je 0x53cfd0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
test eax, eax
mov dword [esp + 0x14], eax
je 0x53cfd0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
mov edi, eax
lea eax, [esp + 0x40]
push eax
mov ecx, edi
mov edx, dword [edi]
call dword [edx + 0x10]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
push 1
push edi
mov edx, dword [ecx]
push ebx
push eax
call dword [edx + 0x4c]
lea ecx, [esp + 0x18]
call fcn.004892c0
mov edx, dword [esi]
push ebp
mov ecx, esi
mov byte [esp + 0x3c], 3
call dword [edx + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi]
push 0
push ecx
push eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x18]
test al, al
jne 0x53cf76
mov edx, dword [esp + 0x28]
push edx
call fcn.0053d6f0
add esp, 4
test eax, eax
je 0x53cfb2
mov eax, dword [ebp]
xor esi, esi
push esi
mov ecx, ebp
call dword [eax + 0x14]
test eax, eax
je 0x53cf61
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x60]
mov esi, eax
mov eax, dword [esp + 0x18]
push 0x10
push str.Error
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x53cfb2
mov edx, dword [edi]
lea eax, [esp + 0x44]
push eax
mov ecx, edi
call dword [edx + 0x28]
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 4
push ecx
lea ecx, [esp + 0x44]
call fcn.004956f0
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 3
call fcn.004952e0
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x34]
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
call dword [eax + 0x98]
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 2
call fcn.004952e0
mov edi, dword [esp + 0x2c]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 0
call fcn.004952e0
mov al, byte [esp + 0x4c]
test al, al
jne 0x53cfee
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x53d05e
mov eax, dword [ebx + 0x14]
xor ebp, ebp
test eax, eax
mov dword [esp + 0x2c], eax
jle 0x53d05e
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + ebp*4]
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x53d00d
cmp ecx, eax
jne 0x53d055
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x64]
mov esi, eax
test esi, esi
je 0x53d055
push esi
call fcn.0053f240
add esp, 4
test eax, eax
je 0x53d048
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
neg edx
sbb edx, edx
not edx
and edx, ecx
mov ecx, dword [eax]
mov dword [esp + 0x4c], ecx
mov ecx, eax
mov eax, dword [esp + 0x4c]
push edx
call dword [eax + 0x7c]
push 0
push 0
push esi
call fcn.0053f650
add esp, 0xc
mov eax, dword [esp + 0x2c]
inc ebp
cmp ebp, eax
jl 0x53cffb
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], 0xffffffff
call fcn.004952e0
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret