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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x88]
cmp eax, dword [ecx + 8]
jbe 0x517c6f
sub esp, 0x108
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x5176ba
mov ebp, dword [esp + 0x54]
lea eax, [ebp + 1]
mov ecx, edx
mov edx, dword [esp + 0x50]
mov ebp, dword [esp + 0x110]
cmp eax, ebp
jge 0x5177ef
mov dword [esp + 0x54], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x74], ebx
mov ecx, dword [esp + 0x10c]
lea edx, [ecx + eax*8]
mov ebx, dword [edx + 4]
mov edx, dword [edx]
mov dword [esp], 0
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.00443ac0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0xc]
lea edi, [esp + 0xe4]
mov ebx, eax
xor eax, eax
call fcn.00455e47
mov dword [esp + 0xe8], 2
mov dword [esp + 0xe4], 2
mov dword [esp + 0xf0], edx
mov eax, dword [esp + 0x50]
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], ebx
mov eax, dword [esp + 0x24]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x28]
cmp ecx, edx
ja 0x5177b5
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x50], ecx
lea eax, [eax + eax*8]
lea edi, [ebx + eax*4]
mov eax, dword [0x67bf10]
test eax, eax
jne 0x517783
lea esi, [esp + 0xe4]
call fcn.00456306
jmp 0x5176ad
mov dword [esp + 0x58], ebx
mov dword [esp + 0x4c], edx
lea eax, [0x54bdc0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0xe4]
mov dword [esp + 8], eax
call fcn.0040ed70
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x58]
jmp 0x5176ad
lea ebx, [0x54bdc0]
mov dword [esp], ebx
mov ebp, dword [esp + 0x74]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.00440420
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x24]
jmp 0x51775e
xor eax, eax
jmp 0x517800
mov ebp, dword [esp + 0x54]
lea eax, [ebp + 1]
mov ecx, edx
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x11c]
cmp eax, ebp
jge 0x517935
mov dword [esp + 0x54], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x70], ebx
mov ecx, dword [esp + 0x118]
lea edx, [ecx + eax*8]
mov ebx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp], 0
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.00443ac0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x14]
lea edi, [esp + 0xc0]
mov ebx, eax
xor eax, eax
call fcn.00455e47
mov dword [esp + 0xc4], 1
mov dword [esp + 0xc0], 2
mov dword [esp + 0xcc], ebx
mov eax, dword [esp + 0x50]
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], edx
mov eax, dword [esp + 0x44]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x48]
cmp ecx, edx
ja 0x5178fb
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x24], ecx
lea eax, [eax + eax*8]
lea edi, [ebx + eax*4]
mov eax, dword [0x67bf10]
test eax, eax
jne 0x5178c9
lea esi, [esp + 0xc0]
call fcn.00456306
jmp 0x5177f3
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x40], edx
lea eax, [0x54bdc0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0xc0]
mov dword [esp + 8], eax
call fcn.0040ed70
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x6c]
jmp 0x5177f3
lea ebx, [0x54bdc0]
mov dword [esp], ebx
mov ebp, dword [esp + 0x70]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.00440420
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x44]
jmp 0x5178a4
mov eax, dword [esp + 0x128]
test eax, eax
jle 0x517c66
mov ebp, dword [esp + 0x124]
xor esi, esi
jmp 0x51795e
mov edi, dword [esp + 0x68]
add edi, 0xc
mov ebp, edi
mov esi, ecx
mov ecx, ebx
mov ebx, eax
mov dword [esp + 0x68], ebp
mov dword [esp + 0x54], esi
mov dword [esp + 0x74], ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
mov eax, dword [ebp]
mov dword [esp + 0x5c], eax
mov edi, dword [ebp + 4]
mov dword [esp + 0x2c], edi
mov ebp, dword [ebp + 8]
mov dword [esp + 0x30], ebp
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
call fcn.00503fd0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
je 0x517c55
mov dword [esp + 0x2c], ecx
lea edi, [esp + 0x9c]
mov ebx, eax
xor eax, eax
call fcn.00455e47
mov dword [esp + 0xa0], 7
mov dword [esp + 0x9c], 2
mov dword [esp + 0xa8], ebx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], edx
mov ecx, dword [esp + 0x24]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x28]
cmp edx, ebx
ja 0x517c1b
mov eax, dword [esp + 0x74]
mov ebp, dword [0x67bf10]
lea ecx, [ecx + ecx*8]
lea edi, [eax + ecx*4]
test ebp, ebp
jne 0x517be1
lea esi, [esp + 0x9c]
call fcn.00456306
mov ecx, dword [esp + 0x54]
inc ecx
mov ebp, dword [esp + 0x128]
cmp ecx, ebp
jl 0x51794f
xor ecx, ecx
jmp 0x517a4c
mov ebp, dword [esp + 0x54]
lea ecx, [ebp + 1]
mov eax, ebx
mov ebx, edx
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x134]
cmp ecx, ebp
jge 0x517b6d
mov dword [esp + 0x54], ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x130]
mov edx, dword [eax + ecx*4]
mov dword [esp], edx
call fcn.00509420
mov dword [esp], 0
call fcn.00443ac0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x14]
lea edi, [esp + 0x78]
mov ebx, eax
xor eax, eax
call fcn.00455e47
mov dword [esp + 0x7c], 6
mov dword [esp + 0x78], 2
mov dword [esp + 0x84], ebx
mov eax, dword [esp + 0x50]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edx
mov eax, dword [esp + 0x24]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x28]
cmp ecx, edx
ja 0x517b33
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x24], ecx
lea eax, [eax + eax*8]
mov ebp, dword [0x67bf10]
lea edi, [ebx + eax*4]
test ebp, ebp
jne 0x517b04
lea esi, [esp + 0x78]
call fcn.00456306
jmp 0x517a3d
mov dword [esp + 0x64], ebx
mov dword [esp + 0x3c], edx
lea eax, [0x54bdc0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
call fcn.0040ed70
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x64]
jmp 0x517a3d
lea ebx, [0x54bdc0]
mov dword [esp], ebx
mov ebp, dword [esp + 0x74]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.00440420
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x24]
jmp 0x517ae2
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.00408130
mov eax, dword [esp + 0xc]
lea ecx, [0x532aa0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.004df570
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x13c], eax
mov dword [esp + 0x140], ecx
mov dword [esp + 0x144], edx
mov dword [esp + 0x148], ebx
mov dword [esp + 0x14c], ebp
add esp, 0x108
ret
mov dword [esp + 0x60], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ebx
lea eax, [0x54bdc0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x9c]
mov dword [esp + 8], eax
call fcn.0040ed70
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
jmp 0x517a25
lea eax, [0x54bdc0]
mov dword [esp], eax
mov ebp, dword [esp + 0x74]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00440420
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x24]
jmp 0x517a05
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x30]
jmp 0x5179ab
mov eax, ebx
mov ebx, ecx
jmp 0x517a39
call fcn.004543b0
jmp fcn.00517680