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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x53e66a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x58ea30]
mov eax, dword [eax]
cmp dword [eax + 0x6c], 0
jne 0x53e631
mov eax, dword [0x58e828]
cmp dword [eax], 0
je 0x53e631
push 0
push 0x7080
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x1a8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
call fcn.0048bd90
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0xc], 0
je 0x53e0f9
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x24]
mov eax, dword [eax + 0x20]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + 0xc]
cmp edx, dword [ecx + 0x14]
jne 0x53e0f7
cmp eax, dword [ecx + 0x10]
je 0x53e117
mov eax, dword [0x58e828]
mov eax, dword [eax]
mov ecx, dword [eax + 0x2b0]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x1a8]
mov eax, dword [ebp - 0x20]
call fcn.00501bc0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x53e631
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
call fcn.0053de70
call fcn.00449600
and eax, 0x7f
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + eax*4 + 0x3c]
push eax
call fcn.00449600
and eax, 0x7f
mov edx, dword [ebp - 0x2c]
mov edx, dword [edx + eax*4 + 0x18]
mov eax, dword [0x58e6cc]
mov eax, dword [eax]
pop ecx
call fcn.00573ee0
test al, al
je 0x53e17e
mov eax, dword [0x58e828]
cmp dword [eax], 0
je 0x53e17e
mov eax, dword [0x58e828]
mov eax, dword [eax]
call fcn.005227c0
mov eax, dword [ebp - 4]
call fcn.0053dff0
test al, al
je 0x53e631
mov eax, dword [ebp - 4]
cmp dword [eax + 0x188], 0
jne 0x53e604
mov eax, dword [0x58e6cc]
mov eax, dword [eax]
cmp byte [eax + 0xc0], 0
je 0x53e631
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c0]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x190]
mov eax, dword [0x58ea30]
mov eax, dword [eax]
call fcn.004574a0
test al, al
je 0x53e631
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
mov edx, dword [edx + 4]
mov ecx, dword [0x4ff8e0]
call fcn.00408544
mov eax, dword [ebp - 0x18]
call fcn.00408348
test eax, eax
je 0x53e631
mov eax, dword [ebp - 0x18]
call fcn.00408350
test eax, eax
jl 0x53e631
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*8]
mov edx, dword [ebp - 0x18]
lea eax, [edx + eax*8]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x58e6cc]
mov eax, dword [eax]
xor edx, edx
mov dl, byte [eax + 0xf0]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x40]
call fcn.00538140
test al, al
je 0x53e5f6
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
mov eax, dword [0x58e6cc]
mov eax, dword [eax]
call fcn.00571e20
test al, al
jne 0x53e5f6
mov eax, dword [ebp - 0x1c]
mov al, byte [eax + 0x34]
sub al, 1
je 0x53e27f
add al, 0xfe
sub al, 3
jb 0x53e27f
sub al, 2
je 0x53e27f
add al, 0xa4
sub al, 3
jae 0x53e5f6
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x24], 0
jne 0x53e290
cmp dword [eax + 0x20], 0
jbe 0x53e2b9
jmp 0x53e292
jle 0x53e2b9
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x84]
mov eax, dword [eax + 0x80]
mov ecx, dword [ebp - 0x1c]
cmp edx, dword [ecx + 0x24]
jne 0x53e2b3
cmp eax, dword [ecx + 0x20]
jae 0x53e2b9
jmp 0x53e5f6
jl 0x53e5f6
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x2c], 0
jne 0x53e2ca
cmp dword [eax + 0x28], 0
jbe 0x53e2f3
jmp 0x53e2cc
jle 0x53e2f3
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x84]
mov eax, dword [eax + 0x80]
mov ecx, dword [ebp - 0x1c]
cmp edx, dword [ecx + 0x2c]
jne 0x53e2ed
cmp eax, dword [ecx + 0x28]
jb 0x53e2f3
jmp 0x53e5f6
jge 0x53e5f6
mov eax, 0x64
call fcn.00404b04
mov edx, dword [ebp - 0x1c]
cmp eax, dword [edx + 0x30]
jl 0x53e34b
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
call fcn.0041d69c
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
mov edx, 0x53e684
call fcn.00407408
mov edx, dword [ebp - 0x38]
mov eax, dword [0x58e4dc]
mov eax, dword [eax]
xor ecx, ecx
call fcn.00436260
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
mov eax, dword [0x58e6cc]
mov eax, dword [eax]
mov cl, 1
call fcn.005715b0
jmp 0x53e5f6
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x30], 0x65
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x44], 0
je 0x53e3ef
mov eax, dword [0x58e6cc]
mov eax, dword [eax]
cmp dword [eax + 0x17c], 0
je 0x53e5f6
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x44]
mov eax, dword [0x58e6cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x17c]
call fcn.005381a0
test al, al
jne 0x53e3ef
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
call fcn.0041d69c
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
mov edx, 0x53e6c4
call fcn.00407408
mov edx, dword [ebp - 0x40]
mov eax, dword [0x58e4dc]
mov eax, dword [eax]
xor ecx, ecx
call fcn.004367f0
push 0
push 0
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + 0xc]
mov edx, 0x56
mov eax, dword [ebp - 4]
call fcn.00534c40
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
mov eax, dword [0x58e6cc]
mov eax, dword [eax]
mov cl, 1
call fcn.005715b0
jmp 0x53e5f6
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x38], 0
je 0x53e4ba
mov ecx, 0x537d30
mov dl, 1
mov eax, dword [0x535ff0]
call fcn.00536520
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x53e441
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x25]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x38]
mov eax, dword [ebp - 0x24]
call fcn.00536490
test al, al
jne 0x53e437
mov byte [ebp - 0x25], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53e44f
mov eax, dword [ebp - 0x24]
call fcn.00404fec
cmp byte [ebp - 0x25], 0
jne 0x53e4ba
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
call fcn.0041d69c
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
mov edx, 0x53e704
call fcn.00407408
mov edx, dword [ebp - 0x48]
mov eax, dword [0x58e4dc]
mov eax, dword [eax]
xor ecx, ecx
call fcn.004367f0
push 0
push 0
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + 0xc]
mov edx, 0x4c
mov eax, dword [ebp - 4]
call fcn.00534c40
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
mov eax, dword [0x58e6cc]
mov eax, dword [eax]
mov cl, 1
call fcn.005715b0
jmp 0x53e5f6
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x30]
call fcn.004065c4
mov eax, dword [ebp - 0x1c]
add eax, 0xc
call fcn.0046c010
test al, al
je 0x53e52b
mov eax, dword [ebp - 0x1c]
lea edx, [eax + 0xc]
mov eax, dword [0x58e89c]
mov eax, dword [eax]
mov eax, dword [eax + 0x98]
call fcn.00562940
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x53e5f6
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
call fcn.004069d0
xor ecx, ecx
mov dl, 2
mov eax, dword [ebp - 8]
call fcn.0055e130
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x53e52b
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0xc], 0
je 0x53e631
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x14], 0
je 0x53e584
push 0xffffffffffffffff
push 0xffffffffffffffff
lea ecx, [ebp - 0x50]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x1a8]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x14]
call fcn.00473c00
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
call fcn.0048bd90
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x53e5f6
mov eax, dword [ebp - 0x10]
call fcn.0045b300
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xc], 0
je 0x53e631
jmp 0x53e589
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x18]
push eax
mov eax, dword [ebp - 0x1c]
add eax, 0xc
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x3c]
push eax
mov eax, dword [ebp - 0x1c]
mov al, byte [eax + 0x34]
push eax
mov eax, dword [ebp - 4]
add eax, 0x18c
push eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.004fffc0
test al, al
je 0x53e631
mov eax, dword [0x58ea30]
mov eax, dword [eax]
mov eax, dword [eax + 0x78]
mov edx, dword [ebp - 4]
mov dword [edx + 0x188], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
mov eax, dword [0x58e6cc]
mov eax, dword [eax]
mov cl, 1
call fcn.005715b0
jmp 0x53e631
inc dword [ebp - 0xc]
dec dword [ebp - 0x34]
jne 0x53e217
jmp 0x53e631
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x188]
mov eax, dword [0x58ea30]
mov eax, dword [eax]
call fcn.004574a0
test al, al
je 0x53e631
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x188], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53e671
lea eax, [ebp - 0x50]
call fcn.004065e8
lea eax, [ebp - 0x4c]
mov edx, 6
call fcn.00406624
lea eax, [ebp - 0x30]
call fcn.004065c4
lea eax, [ebp - 0x18]
mov edx, dword [0x4ff8e0]
call fcn.00408508
ret