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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x683c1e
sub esp, 0x80
mov edi, dword [esp + 0x94]
mov esi, dword [esp + 0x90]
xor ebx, ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
xor edx, edx
cmp edx, edi
jne 0x683ac8
cmp esi, esi
jne 0x683ac8
mov ebp, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
mov edi, esi
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x20], esi
cmp esi, 0
jne 0x683a39
mov edx, eax
mov eax, ebp
xor ecx, ecx
mov ebp, edx
mov edx, eax
mov eax, ebp
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x80
ret
mov dword [esp + 0x68], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x6c], edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x70], eax
mov edx, eax
mov ecx, 1
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x64], eax
cmp ecx, eax
jg 0x683a91
mov eax, ecx
mov ecx, edx
cmp eax, edx
ja 0x683a8a
mov edx, ebp
mov esi, eax
mov eax, ecx
mov ecx, esi
cmp ecx, 0
jbe 0x683a83
mov dword [edx], edi
jmp 0x683a1d
call fcn.00435970
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 + 0x20]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
jmp 0x683a7a
xor ebp, ebp
mov edx, esi
mov ecx, edi
cmp ecx, 0
jb 0x683ae3
jbe 0x683c10
inc ebp
mov edx, ecx
xor ecx, ecx
cmp ecx, 0
jae 0x683ad3
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x54], ebx
mov edx, dword [esp + 0x8c]
xor ebx, ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x58], edx
cmp ebp, edx
jg 0x683bcc
mov ecx, edx
cmp ebp, edx
ja 0x683bc5
mov edx, dword [esp + 0x50]
mov dword [esp + 0x78], ebp
mov eax, ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
xor ecx, ecx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x28], ebx
mov ebp, dword [esp + 0x28]
cmp ecx, ebp
jge 0x683b8d
mov dword [esp + 0x24], esi
mov ebx, ecx
mov ebp, dword [esp + 0x88]
cmp ecx, ebp
jae 0x683bbe
mov ebp, dword [esp + 0x84]
shl ebx, 2
add ebp, ebx
mov ebx, dword [esp + 0x24]
mov dword [ebp], ebx
mov esi, edi
xor edi, edi
inc ecx
mov ebp, dword [esp + 0x28]
cmp ecx, ebp
jl 0x683b5c
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x98], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x9c], ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0xa0], ebx
add esp, 0x80
ret
call fcn.00435970
ud2
call fcn.004359e0
ud2
mov dword [esp], 0x70ab80
mov eax, ebp
cdq
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, ebp
add eax, 4
cdq
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
call fcn.00449940
mov edi, dword [esp + 0x94]
mov esi, dword [esp + 0x90]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
jmp 0x683b32
cmp edx, 0
jbe 0x683ae3
jmp 0x683ad9
call fcn.004616d0
jmp fcn.00683990