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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e2207
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x62fda0]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push esi
push edi
mov eax, dword [0x62fda0]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
lea ecx, [esp + 0x20]
call fcn.004f6ca0
mov eax, dword [esi + 0xc]
mov dword [esp + 0x230], 0
test eax, eax
jle 0x53e433
lea ecx, [esp + 0x12c]
call fcn.00560f00
push esi
lea ecx, [esp + 0x130]
mov byte [esp + 0x234], 1
call fcn.00561700
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x130]
call fcn.00564a60
mov ecx, dword [esp + 0x28]
mov ebx, dword [ecx]
lea ecx, [esp + 0x12c]
mov dword [esp + 0x40], ebx
mov byte [esp + 0x230], 0
call fcn.00560f20
jmp 0x53e439
mov dword [esp + 0x40], esi
mov ebx, esi
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 8]
mov esi, dword [edi + 4]
mov dword [esp + 0x38], edx
lea edx, [esp + 0x44]
mov dword [esp + 0x3c], ecx
push edx
mov ecx, ebx
mov dword [esp + 0x68], eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], eax
call fcn.00527a20
test eax, eax
jne 0x53e48d
lea ecx, [esp + 0x20]
call fcn.004f6cf0
lea ecx, [esp + 0x20]
mov dword [esp + 0x230], 0xffffffff
call fcn.00467410
xor eax, eax
jmp 0x53eb4f
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x44]
mov dword [esp + 0x48], ecx
push edx
mov ecx, ebx
mov dword [esp + 0x48], eax
call fcn.00527a20
test eax, eax
je 0x53e469
lea eax, [esp + 0x58]
push eax
mov ecx, edi
call fcn.004f24d0
push eax
mov ecx, ebx
call fcn.00527a20
test eax, eax
je 0x53e469
lea ecx, [esp + 0x11c]
call fcn.004fd440
push ebx
lea ecx, [esp + 0x160]
call fcn.005353a0
mov edx, dword [edi]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0x68]
push eax
mov ecx, edi
mov byte [esp + 0x234], 2
call edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x5c], edx
call fcn.005bbf60
lea ecx, [esp + 0x15c]
mov byte [esp + 0x230], 3
call fcn.00534ff0
mov eax, dword [esp + 0x168]
cmp eax, dword [esp + 0x16c]
ja 0x53ea76
mov ecx, dword [esp + 0x17c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
call eax
sub eax, 1
je 0x53e990
sub eax, 5
jne 0x53e8d6
mov ecx, dword [esp + 0x17c]
push ecx
lea ecx, [esp + 0x120]
call fcn.004fdee0
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x14]
push eax
push edi
lea ecx, [esp + 0x128]
call fcn.004fe6f0
cmp eax, 2
jne 0x53e7c5
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x114], ecx
lea ecx, [esp + 0x114]
mov dword [esp + 0x118], edx
push ecx
lea edx, [esp + 0xb0]
push edx
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb8], eax
call fcn.004fa0c0
add esp, 8
test eax, eax
jne 0x53e6a3
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc0], ecx
lea ecx, [esp + 0xbc]
mov dword [esp + 0xcc], edx
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x3c]
push ecx
lea edx, [esp + 0xd0]
push edx
mov dword [esp + 0xd8], eax
call fcn.004fa0c0
add esp, 8
test eax, eax
jne 0x53e6a3
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x17c]
lea edx, [esp + 0xdc]
push edx
add eax, 4
push eax
mov dword [esp + 0xe8], ecx
call fcn.004fa0c0
add esp, 8
test eax, eax
jne 0x53e688
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0xec], ecx
mov ecx, dword [esp + 0x17c]
lea eax, [esp + 0xec]
push eax
add ecx, 0xc
push ecx
mov dword [esp + 0xf8], edx
call fcn.004fa0c0
add esp, 8
test eax, eax
je 0x53e8d6
mov edx, dword [esp + 0x2c]
push edx
lea ecx, [esp + 0x30]
call fcn.005b8490
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov edx, dword [esp + 0x14]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x64]
mov dword [esp + 0xfc], eax
lea eax, [esp + 0xfc]
mov dword [esp + 0x100], ecx
push eax
lea ecx, [esp + 0x88]
push ecx
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], edx
call fcn.004fa0c0
add esp, 8
test eax, eax
jne 0x53ea56
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x108], eax
lea eax, [esp + 0x104]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x104], edx
mov edx, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0x98]
push ecx
mov dword [esp + 0xa0], edx
call fcn.004fa0c0
add esp, 8
test eax, eax
jne 0x53ea56
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xe4], edx
mov edx, dword [esp + 0x17c]
lea ecx, [esp + 0xe4]
push ecx
add edx, 4
push edx
mov dword [esp + 0xf0], eax
call fcn.004fa0c0
add esp, 8
test eax, eax
jne 0x53e7a5
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x17c]
lea edx, [esp + 0xa4]
push edx
add eax, 0xc
push eax
mov dword [esp + 0xb0], ecx
call fcn.004fa0c0
add esp, 8
test eax, eax
je 0x53e8d6
mov ecx, dword [esp + 0x2c]
push ecx
lea ecx, [esp + 0x30]
call fcn.005b8490
mov edx, dword [esp + 0x18]
mov dword [eax], edx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
jmp 0x53ea56
cmp eax, 1
jne 0x53ea56
cmp dword [esp + 0x70], 0
jne 0x53e909
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x74], edx
lea edx, [esp + 0x74]
mov dword [esp + 0x78], eax
push edx
lea eax, [esp + 0xb8]
push eax
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc0], ecx
call fcn.004fa0c0
add esp, 8
test eax, eax
jne 0x53ea56
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
mov dword [esp + 0xf8], edx
lea edx, [esp + 0xf4]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xf4], ecx
mov ecx, dword [esp + 0x3c]
push edx
lea eax, [esp + 0xc8]
push eax
mov dword [esp + 0xd0], ecx
call fcn.004fa0c0
add esp, 8
test eax, eax
jne 0x53ea56
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10c], ecx
mov ecx, dword [esp + 0x17c]
lea eax, [esp + 0x10c]
push eax
add ecx, 4
push ecx
mov dword [esp + 0x118], edx
call fcn.004fa0c0
add esp, 8
test eax, eax
jne 0x53ea56
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0xd4], edx
mov edx, dword [esp + 0x17c]
lea ecx, [esp + 0xd4]
push ecx
add edx, 0xc
push edx
mov dword [esp + 0xe0], eax
call fcn.004fa0c0
add esp, 8
test eax, eax
jne 0x53ea56
lea ecx, [esp + 0x20]
call fcn.004f6cf0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x230], 2
call fcn.005b9680
lea ecx, [esp + 0x15c]
mov byte [esp + 0x230], 0
call fcn.00534f60
jmp 0x53e472
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x80], ecx
push eax
lea ecx, [esp + 0x90]
push ecx
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], edx
call fcn.004fa0c0
add esp, 8
test eax, eax
jne 0x53ea56
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x9c]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0x6c]
push ecx
mov dword [esp + 0x74], edx
call fcn.004fa0c0
add esp, 8
test eax, eax
jne 0x53ea56
jmp 0x53e9cd
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x180]
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x18]
push edx
push eax
push edi
call fcn.0053b090
add esp, 0x14
test eax, eax
je 0x53ea56
cmp eax, 1
jne 0x53e9ea
mov ecx, dword [esp + 0x44]
and ecx, 0x44
cmp cl, 0x44
je 0x53e8d6
mov edx, dword [esp + 0x2c]
push edx
lea ecx, [esp + 0x30]
call fcn.005b8490
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov edx, dword [esp + 0x14]
mov dword [eax + 4], edx
jmp 0x53ea56
cmp eax, 2
jne 0x53ea56
mov eax, dword [esp + 0x44]
mov ecx, eax
and ecx, 0x44
cmp cl, 0x44
je 0x53e8d6
mov ebx, dword [esp + 0x48]
mov edx, ebx
and edx, 0x44
cmp dl, 0x44
je 0x53e8d6
test al, 4
je 0x53ea32
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x30]
call fcn.005b8490
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov edx, dword [esp + 0x14]
mov dword [eax + 4], edx
test bl, 4
je 0x53ea52
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x30]
call fcn.005b8490
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
mov edx, dword [esp + 0x1c]
mov dword [eax + 4], edx
mov ebx, dword [esp + 0x40]
lea ecx, [esp + 0x15c]
call fcn.00535020
mov eax, dword [esp + 0x168]
cmp eax, dword [esp + 0x16c]
jbe 0x53e532
lea ecx, [esp + 0x4c]
call fcn.004f6ca0
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
push edi
lea ecx, [esp + 0x50]
push ecx
push edx
push eax
mov byte [esp + 0x240], 4
call fcn.00529b50
xor edi, edi
add esp, 0x10
cmp dword [esp + 0x4c], edi
jle 0x53eaee
jmp 0x53eab0
mov ecx, dword [esp + 0x54]
mov esi, dword [ecx + edi*4]
lea edx, [esi + 0xc]
push edx
lea eax, [esi + 4]
push eax
call fcn.004fa0c0
add esp, 8
test eax, eax
jne 0x53eae7
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
call fcn.004f24d0
push eax
mov ecx, ebx
call fcn.00527a20
test eax, eax
je 0x53eb73
inc edi
cmp edi, dword [esp + 0x4c]
jl 0x53eab0
lea ecx, [esp + 0x20]
call fcn.004f6cf0
lea ecx, [esp + 0x4c]
call fcn.004f6cf0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x230], 3
call fcn.00467410
lea ecx, [esp + 0x2c]
mov byte [esp + 0x230], 2
call fcn.005b9680
lea ecx, [esp + 0x15c]
mov byte [esp + 0x230], 0
call fcn.00534f60
lea ecx, [esp + 0x20]
mov dword [esp + 0x230], 0xffffffff
call fcn.00467410
mov eax, 1
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.005bd2c6
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x20]
call fcn.004f6cf0
lea ecx, [esp + 0x4c]
call fcn.004f6cf0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x230], 3
call fcn.00467410
jmp 0x53e8df