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

Disassembly:
push 0xffffffffffffffff
push 0x61dbf8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67dc50]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edx, dword [esp + 0x70]
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 4]
mov esi, 1
mov dword [esp + 0x14], esi
test eax, eax
jne 0x539b18
mov eax, esi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x70]
test esi, esi
je 0x539af4
mov eax, dword [ecx + 4]
mov esi, dword [eax + 4]
mov ecx, dword [esi + 0x10]
mov edi, dword [edx + 4]
cmp ecx, edi
mov dword [esp + 0x20], 0
jge 0x539b3d
cmp dword [esi + 8], edi
jl 0x539d27
mov edx, dword [esi + 0xc]
mov ebp, dword [esi + 4]
cmp edx, ebp
jge 0x539b4b
mov ebx, edx
jmp 0x539b4f
mov ebx, ebp
mov ebp, edx
mov eax, dword [esi + 8]
cmp ecx, eax
mov dword [esp + 0x1c], ecx
jg 0x539bab
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x70]
mov eax, dword [eax]
cmp ebx, eax
jg 0x539d27
cmp eax, ebp
jge 0x539d53
cmp eax, edx
jne 0x539bf6
cmp edi, ecx
jge 0x539bd6
mov edi, dword [esp + 0x70]
xor ebx, ebx
push ebx
push edi
mov ecx, esi
call fcn.0052f330
test eax, eax
je 0x539bb1
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x14], ebx
mov dword [0x67acbc], ebx
mov dword [0x67e9c4], ecx
jmp 0x539d27
mov dword [esp + 0x18], eax
jmp 0x539b62
mov eax, dword [esi + 0x10]
sub eax, dword [edi + 4]
cmp dword [0x67acbc], eax
jle 0x539d19
mov edx, dword [esi + 0x14]
mov dword [0x67acbc], eax
mov dword [0x67e9c4], edx
jmp 0x539d19
cmp eax, edx
jne 0x539bf6
cmp edi, ecx
jne 0x539bf6
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [0x67acbc], eax
mov eax, dword [esi + 0x14]
mov dword [0x67e9c4], eax
jmp 0x539d27
mov ecx, dword [esi + 4]
cmp eax, ecx
jne 0x539c47
cmp edi, dword [esi + 8]
jge 0x539c3e
mov edi, dword [esp + 0x70]
xor ebx, ebx
push ebx
push edi
mov ecx, esi
call fcn.0052f330
test eax, eax
jne 0x539b93
mov eax, dword [esi + 8]
sub eax, dword [edi + 4]
cmp dword [0x67acbc], eax
jle 0x539d19
mov edx, dword [esi + 0x14]
mov dword [0x67acbc], eax
mov dword [0x67e9c4], edx
jmp 0x539d19
cmp eax, ecx
jne 0x539c47
cmp edi, dword [esi + 8]
je 0x539bde
mov ebx, dword [esp + 0x70]
xor edi, edi
push edi
push ebx
mov ecx, esi
call fcn.0052f330
test eax, eax
je 0x539c72
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x14], edi
mov dword [0x67acbc], edi
mov dword [0x67e9c4], ecx
jmp 0x539d27
mov eax, dword [esp + 0x18]
sub eax, dword [ebx + 4]
cmp eax, dword [0x67acbc]
jg 0x539d19
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x28]
inc edx
push ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x38], edx
call fcn.0052eeb0
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
mov dword [esp + 0x74], 0
call fcn.0052f2a0
test eax, eax
jle 0x539d00
mov edi, 1
cmp eax, edi
mov eax, dword [esp + 0x38]
jne 0x539cd6
sub eax, dword [esp + 0x28]
jmp 0x539ce8
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
sub eax, edx
sub ecx, edx
cmp eax, ecx
jl 0x539ce8
mov eax, ecx
cmp dword [0x67acbc], eax
jle 0x539d04
mov edx, dword [esi + 0x14]
mov dword [0x67acbc], eax
mov dword [0x67e9c4], edx
jmp 0x539d04
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x44]
mov dword [esp + 0x68], 0xffffffff
call fcn.0052ee80
test edi, edi
je 0x539d27
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx]
push edx
call fcn.005ee1f0
mov dword [eax], esi
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx + 4]
mov edx, dword [eax]
mov dword [ecx + 4], edx
test edx, edx
jne 0x539b10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
jne 0x539d27
cmp eax, edx
jne 0x539d61
cmp edi, ecx
je 0x539bde
cmp eax, dword [esi + 4]
jne 0x539d88
cmp edi, dword [esi + 8]
jne 0x539d88
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x14], 1
mov dword [0x67acbc], 0
mov dword [0x67e9c4], ecx
jmp 0x539d27
mov edx, dword [esp + 0x70]
push 0
push edx
mov ecx, esi
call fcn.0052f330
test eax, eax
je 0x539d27
jmp 0x539bde