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

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
push edi
xor edi, edi
mov ebx, eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], edi
cmp eax, edi
je 0x53e390
mov dword [eax], edi
mov eax, dword [esp + 0x7c]
cmp eax, edi
je 0x53e390
mov dword [eax], edi
cmp dword [esp + 0x80], edi
jne 0x53e39f
mov esi, 0xb1
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
mov ebp, dword [esp + 0x68]
lea eax, [esp + 0x18]
push eax
push ebp
call fcn.0050e7c0
mov esi, eax
add esp, 8
cmp esi, edi
jne 0x53e690
lea ecx, [esp + 0x24]
push ecx
push ebx
push ebp
call fcn.0050e690
mov esi, eax
add esp, 0xc
cmp esi, edi
jne 0x53e690
xor ebp, ebp
cmp dword [esp + 0x24], edi
jle 0x53e442
lea esp, [esp]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
push edi
push ebx
push eax
call fcn.0050d050
mov esi, eax
add esp, 0x10
cmp esi, edi
jne 0x53e68c
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x30]
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x74]
push edi
push edi
lea ecx, [esp + 0x68]
push ecx
push edx
push ebx
push eax
call fcn.0050dd40
mov esi, eax
add esp, 0x24
cmp esi, edi
jne 0x53e68c
mov ecx, dword [esp + 0x6c]
cmp dword [esp + 0x2c], ecx
je 0x53e44c
inc ebp
cmp ebp, dword [esp + 0x24]
jl 0x53e3e0
mov esi, 0x87
jmp 0x53e68c
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x68]
mov dword [eax], edx
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x58]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esp + 0x18]
push eax
push esi
call fcn.0050c950
mov eax, dword [esp + 0x50]
add esp, 8
cmp eax, edi
jg 0x53e4a3
mov ecx, dword [esp + 0x44]
jl 0x53e48e
cmp ecx, edi
jae 0x53e4a3
lea edx, [esp + 0x44]
push edx
push eax
push ecx
push 0xffffffffffffffff
call fcn.0051eec0
mov eax, dword [esp + 0x58]
add esp, 0x10
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x70]
push ecx
push eax
push edx
call fcn.0051ee60
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x3c]
push eax
push ecx
push esi
call fcn.005098c0
add esp, 0x18
test al, al
je 0x53e5fb
lea edx, [esp + 0x14]
push edx
push esi
call fcn.0050e7c0
mov esi, eax
add esp, 8
cmp esi, edi
jne 0x53e68c
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x68]
lea eax, [esp + 0x28]
push eax
push ecx
push edx
call fcn.0050c7b0
mov esi, eax
add esp, 0xc
cmp esi, edi
jne 0x53e68c
xor ebx, ebx
cmp dword [esp + 0x28], edi
jle 0x53e5d5
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x60]
push ecx
push edi
push edx
push eax
call fcn.0050d480
mov esi, eax
add esp, 0x14
cmp esi, edi
jne 0x53e68c
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x4c]
push ecx
push edx
push eax
call fcn.0050ab50
mov esi, eax
add esp, 0xc
cmp esi, edi
jne 0x53e68c
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
mov ecx, edx
or ecx, esi
je 0x53e5be
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
push eax
mov ebp, ecx
push esi
push edx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x44], ecx
call fcn.0051ee60
mov esi, eax
add esp, 0xc
cmp esi, edi
jne 0x53e68c
mov ecx, dword [esp + 0x74]
cmp ecx, dword [esp + 0x38]
jg 0x53e5be
mov eax, dword [esp + 0x70]
jl 0x53e5b2
cmp eax, dword [esp + 0x34]
jae 0x53e5be
cmp ebp, ecx
jl 0x53e5cb
jg 0x53e5be
cmp dword [esp + 0x3c], eax
jbe 0x53e5cb
inc ebx
cmp ebx, dword [esp + 0x28]
jl 0x53e513
jmp 0x53e5d5
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x7c]
mov dword [edx], ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x68]
push eax
push ecx
call fcn.0050c950
mov esi, eax
add esp, 8
cmp esi, edi
jne 0x53e68c
mov eax, dword [esp + 0x74]
mov dword [esp + 0x14], edi
jmp 0x53e663
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x4c]
push edx
push eax
push esi
call fcn.0050ab50
mov esi, eax
add esp, 0xc
cmp esi, edi
jne 0x53e68c
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x34]
push ecx
push edx
push eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
call fcn.0051ee60
mov esi, eax
add esp, 0xc
cmp esi, edi
jne 0x53e68c
mov eax, dword [esp + 0x74]
cmp eax, edi
jl 0x53e663
mov ecx, dword [esp + 0x70]
jg 0x53e64b
cmp ecx, edi
jb 0x53e663
cmp eax, dword [esp + 0x38]
jg 0x53e663
jl 0x53e659
cmp ecx, dword [esp + 0x34]
jae 0x53e663
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x7c]
mov dword [edx], ecx
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x70]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x40]
push ecx
mov dword [ecx], edx
mov ecx, dword [esp + 0x40]
push eax
push ecx
call fcn.0051ee80
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x53e6be
mov ebp, dword [esp + 0x68]
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x53e6a2
push eax
push ebp
call fcn.0050c950
add esp, 8
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x53e6b4
push eax
push ebp
call fcn.0050c950
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x54
ret