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

Disassembly:
push 0xffffffffffffffff
push 0x621a48
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x682d00]
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 0x53c3f8
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 0x53c3d4
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 0x53c41d
cmp dword [esi + 8], edi
jl 0x53c66a
mov edx, dword [esi + 0xc]
mov ebp, dword [esi + 4]
cmp edx, ebp
jge 0x53c42b
mov ebx, edx
jmp 0x53c42f
mov ebx, ebp
mov ebp, edx
mov eax, dword [esi + 8]
cmp ecx, eax
mov dword [esp + 0x1c], ecx
jg 0x53c48b
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x70]
mov eax, dword [eax]
cmp ebx, eax
jg 0x53c66a
cmp eax, ebp
jge 0x53c612
cmp eax, edx
jne 0x53c4d6
cmp edi, ecx
jge 0x53c4b6
mov edi, dword [esp + 0x70]
xor ebx, ebx
push ebx
push edi
mov ecx, esi
call fcn.00531f30
test eax, eax
je 0x53c491
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x14], ebx
mov dword [0x67fd24], ebx
mov dword [0x683a7c], ecx
jmp 0x53c66a
mov dword [esp + 0x18], eax
jmp 0x53c442
mov eax, dword [esi + 0x10]
sub eax, dword [edi + 4]
cmp dword [0x67fd24], eax
jle 0x53c5f9
mov edx, dword [esi + 0x14]
mov dword [0x67fd24], eax
mov dword [0x683a7c], edx
jmp 0x53c5f9
cmp eax, edx
jne 0x53c4d6
cmp edi, ecx
jne 0x53c4d6
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [0x67fd24], eax
mov eax, dword [esi + 0x14]
mov dword [0x683a7c], eax
jmp 0x53c66a
mov ecx, dword [esi + 4]
cmp eax, ecx
jne 0x53c527
cmp edi, dword [esi + 8]
jge 0x53c51e
mov edi, dword [esp + 0x70]
xor ebx, ebx
push ebx
push edi
mov ecx, esi
call fcn.00531f30
test eax, eax
jne 0x53c473
mov eax, dword [esi + 8]
sub eax, dword [edi + 4]
cmp dword [0x67fd24], eax
jle 0x53c5f9
mov edx, dword [esi + 0x14]
mov dword [0x67fd24], eax
mov dword [0x683a7c], edx
jmp 0x53c5f9
cmp eax, ecx
jne 0x53c527
cmp edi, dword [esi + 8]
je 0x53c4be
mov ebx, dword [esp + 0x70]
xor edi, edi
push edi
push ebx
mov ecx, esi
call fcn.00531f30
test eax, eax
je 0x53c552
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x14], edi
mov dword [0x67fd24], edi
mov dword [0x683a7c], ecx
jmp 0x53c66a
mov eax, dword [esp + 0x18]
sub eax, dword [ebx + 4]
cmp eax, dword [0x67fd24]
jg 0x53c5f9
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.00531ab0
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.00531ea0
test eax, eax
jle 0x53c5e0
mov edi, 1
cmp eax, edi
mov eax, dword [esp + 0x38]
jne 0x53c5b6
sub eax, dword [esp + 0x28]
jmp 0x53c5c8
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
sub eax, edx
sub ecx, edx
cmp eax, ecx
jl 0x53c5c8
mov eax, ecx
cmp dword [0x67fd24], eax
jle 0x53c5e4
mov edx, dword [esi + 0x14]
mov dword [0x67fd24], eax
mov dword [0x683a7c], edx
jmp 0x53c5e4
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x44]
mov dword [esp + 0x68], 0xffffffff
call fcn.00531aa0
test edi, edi
je 0x53c66a
push 8
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x53c65e
mov dword [eax], 0
mov dword [eax + 4], esi
jmp 0x53c660
jne 0x53c66a
cmp eax, edx
jne 0x53c620
cmp edi, ecx
je 0x53c4be
cmp eax, dword [esi + 4]
jne 0x53c647
cmp edi, dword [esi + 8]
jne 0x53c647
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x14], 1
mov dword [0x67fd24], 0
mov dword [0x683a7c], ecx
jmp 0x53c66a
mov edx, dword [esp + 0x70]
push 0
push edx
mov ecx, esi
call fcn.00531f30
test eax, eax
je 0x53c66a
jmp 0x53c4be
xor eax, eax
mov ecx, dword [esp + 0x78]
push eax
call fcn.0053bbb0
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 4]
mov eax, dword [edx]
mov dword [ecx + 4], eax
test eax, eax
jne 0x53c3f0
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