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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x24]
cmp eax, dword [ecx + 8]
jbe 0x6840f4
sub esp, 0xa4
mov esi, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0xb0]
xor ebx, ebx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ebx
mov edx, dword [esp + 0xb8]
mov edi, dword [esp + 0xc4]
cmp edx, edi
jge 0x683d08
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov ebx, dword [esp + 0xc0]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0xc4]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0xc8]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0xb8]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0xbc]
mov dword [esp + 0x20], ebx
call fcn.00683c30
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xcc], edx
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
add esp, 0xa4
ret
cmp edx, 0
jne 0x683d2b
xor ebp, ebp
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xd4], eax
add esp, 0xa4
ret
mov dword [esp + 0x30], edi
cmp edi, 0
jne 0x683e8f
mov edx, ecx
mov ecx, esi
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0x80], ebx
mov edi, dword [esp + 0xb8]
mov ebx, dword [esp + 0xbc]
mov dword [esp + 0x88], ebx
xor ebx, ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x74], edx
mov esi, edx
mov dword [esp + 0x68], edx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x7c], eax
mov edx, eax
mov dword [esp + 0x84], edi
xor ebx, ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x70], eax
cmp edi, eax
jg 0x683e52
cmp edi, edx
ja 0x683e4b
mov eax, edx
mov edx, esi
mov ecx, edi
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x74], edx
mov esi, edx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0xa0], eax
mov ebp, dword [esp + 0x80]
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x94], ebx
mov dword [esp + 0x9c], ecx
mov eax, ecx
mov dword [esp + 0x90], edi
cmp edi, ecx
jge 0x683e00
mov eax, edi
mov dword [esp + 0x98], esi
mov dword [esp], esi
mov dword [esp + 0x8c], ebp
mov dword [esp + 4], ebp
mov ebx, eax
shl ebx, 2
mov dword [esp + 8], ebx
call fcn.00463ec0
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xcc], edx
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
add esp, 0xa4
ret
call fcn.004359e0
ud2
mov dword [esp], 0x70ab80
mov eax, edi
cdq
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, edi
add eax, 4
cdq
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
call fcn.00449940
mov edi, dword [esp + 0x84]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
jmp 0x683db4
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], esi
mov ecx, edx
mov dword [esp + 0x34], edx
inc ecx
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x64], eax
cmp ecx, eax
jg 0x6840ba
cmp ecx, eax
ja 0x6840b3
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0xac], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0xb0], eax
cmp edi, eax
ja 0x6840ac
mov dword [esp + 0xa8], edx
mov dword [esp + 0x98], edx
mov dword [esp], edx
mov dword [esp + 0x9c], edi
mov dword [esp + 4], edi
mov dword [esp + 0xa0], eax
mov dword [esp + 8], eax
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0xb8]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0xbc]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0xc0]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0xc4]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0xc8]
mov dword [esp + 0x20], ebx
call fcn.00690220
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
cmp ecx, edi
jle 0x68402e
mov ebp, dword [esp + 0xb0]
cmp ecx, ebp
ja 0x6840a5
cmp edi, ecx
ja 0x6840a5
mov esi, ecx
sub esi, edi
sub ebp, edi
mov ecx, dword [esp + 0xa8]
cmp ebp, 0
je 0x683f98
mov eax, edi
imul eax, eax, 4
add ecx, eax
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], ebp
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0xb8]
mov ebp, dword [esp + 0xbc]
cmp edi, ecx
ja 0x68409e
mov esi, ecx
sub esi, edi
sub ebp, edi
mov ecx, dword [esp + 0xb4]
cmp ebp, 0
je 0x683fdc
mov eax, edi
imul eax, eax, 4
add ecx, eax
mov ebx, dword [esp + 0x98]
mov dword [esp], ebx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa0]
mov dword [esp + 8], ebx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x90], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x94], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], edx
call fcn.006902a0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
mov ebx, ecx
mov ebp, dword [esp + 0xac]
cmp ecx, ebp
jae 0x684097
mov ebp, dword [esp + 0xa8]
shl ebx, 2
add ebp, ebx
mov dword [ebp], edx
mov ebx, dword [esp + 0xa8]
mov dword [esp], ebx
mov ebx, dword [esp + 0xac]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xb0]
mov dword [esp + 8], ebx
call fcn.00683920
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0xcc], edx
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
add esp, 0xa4
ret
call fcn.00435970
ud2
call fcn.004359e0
ud2
call fcn.004359e0
ud2
call fcn.004359e0
ud2
call fcn.004359e0
ud2
mov dword [esp], 0x70ab80
mov eax, ecx
cdq
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, ecx
add eax, 4
cdq
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
call fcn.00449940
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
jmp 0x683ec4
call fcn.004616d0
jmp fcn.00683c30