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

Disassembly:
mov ecx, dword [0x6d0e30]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x78]
cmp eax, dword [ecx + 8]
jbe 0x518824
sub esp, 0xf8
mov edx, dword [esp + 0xfc]
movzx ebx, byte [edx + 0xa8]
test bl, bl
je 0x517e37
mov eax, 1
jmp 0x517e4b
mov dword [esp], edx
call fcn.0051b940
movzx eax, byte [esp + 4]
mov edx, dword [esp + 0xfc]
test al, al
je 0x517e71
mov ecx, dword [edx + 0x98]
mov eax, dword [edx + 0xa0]
cmp ecx, eax
jbe 0x51881e
mov ebx, dword [edx + 0x94]
lea ebp, [eax + eax*8]
lea ebx, [ebx + ebp*8]
jmp 0x517e73
xor ebx, ebx
test ebx, ebx
je 0x517e81
xor eax, eax
xor ecx, ecx
xor ebp, ebp
xor esi, esi
jmp 0x517e9d
mov byte [esp + 0x108], 0
add esp, 0xf8
ret
mov ebp, ebx
mov ebx, esi
mov esi, edx
mov edx, dword [esp + 0xfc]
mov dword [esp + 0xdc], ebp
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ecx
mov edi, dword [ebx]
cmp edi, 3
je 0x517f55
mov dword [esp + 0x5c], eax
cmp edi, 4
jne 0x518087
lea edi, [esp + 0xc0]
xor eax, eax
call fcn.00464cea
mov ecx, dword [ebx + 0x20]
mov edi, dword [ebx + 0x24]
mov eax, dword [ebx + 0x28]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc8], eax
mov ecx, dword [ebx + 0x38]
mov eax, dword [ebx + 0x3c]
mov edi, dword [ebx + 0x40]
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], edi
lea edi, [esp + 0xa8]
mov eax, esi
lea esi, [esp + 0xc0]
call fcn.004651c4
mov ecx, dword [ebx + 4]
mov dword [esp + 0x58], ecx
mov esi, dword [ebx + 8]
mov dword [esp + 0x54], esi
mov ebx, dword [ebx + 0xc]
mov dword [esp + 0x50], ebx
mov edi, dword [edx + 0xf0]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
jmp 0x518481
test eax, eax
jne 0x5180e4
cmp byte [ebx + 0x45], 1
jne 0x518098
cmp byte [ebx + 0x46], 1
jne 0x518098
mov dword [esp + 0xd8], ebx
lea eax, [0x561cc0]
mov dword [esp], eax
call fcn.0040caa0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xd8]
movzx edx, byte [ecx + 0x45]
mov byte [eax], dl
movzx ecx, byte [ecx + 0x46]
mov byte [eax + 1], cl
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0xdc]
nop
mov ebp, dword [esp + 0xfc]
mov byte [ebp + 0xa8], 0
inc dword [ebp + 0xa4]
mov esi, dword [ebp + 0x98]
mov edi, dword [ebp + 0xa0]
cmp esi, edi
jbe 0x518148
mov esi, dword [ebp + 0x94]
lea edi, [edi + edi*8]
lea esi, [esi + edi*8]
cmp dword [esi], 2
xchg esi, ebx
sete bl
xchg esi, ebx
xchg esi, eax
mov byte [ebp + 0x8d], al
xchg esi, eax
inc dword [ebp + 0xa0]
movzx esi, byte [ebp + 0xa8]
xchg esi, eax
test al, al
xchg esi, eax
je 0x51800e
mov esi, 1
jmp 0x518050
mov dword [esp + 0x48], ecx
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf0], ebx
mov dword [esp + 0x44], edx
mov dword [esp], ebp
call fcn.0051b940
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0xf0]
mov ebp, dword [esp + 0xfc]
mov esi, eax
mov eax, dword [esp + 0xf4]
xchg esi, eax
test al, al
xchg esi, eax
je 0x518078
mov esi, dword [ebp + 0x98]
mov edi, dword [ebp + 0xa0]
cmp edi, esi
jae 0x51813f
mov esi, dword [ebp + 0x94]
lea edi, [edi + edi*8]
lea esi, [esi + edi*8]
jmp 0x51807a
xor esi, esi
test esi, esi
jne 0x517e90
jmp 0x518130
mov ebx, dword [0x68ceb4]
mov dword [esp + 0x58], ebx
xor edi, edi
jmp 0x51816f
nop
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0xc]
mov ebx, dword [ebx + 8]
mov dword [edx], 4
mov dword [edx + 8], 0x20
mov ebp, dword [0x6d0ed8]
test ebp, ebp
je 0x5180c3
mov ebp, dword [edx + 4]
call fcn.00464af0
mov dword [edi], ebp
lea ebp, [0x5847f1]
mov dword [edx + 4], ebp
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], ebx
mov dword [edx + 0x1c], ecx
mov byte [esp + 0x108], 0
add esp, 0xf8
ret
nop
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0xc]
mov ebx, dword [ebx + 8]
mov dword [edx], 4
mov dword [edx + 8], 0x1f
mov ebp, dword [0x6d0ed8]
test ebp, ebp
je 0x51810f
mov ebp, dword [edx + 4]
call fcn.00464af0
mov dword [edi], ebp
lea ebp, [0x584195]
mov dword [edx + 4], ebp
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], ebx
mov dword [edx + 0x1c], ecx
mov byte [esp + 0x108], 0
add esp, 0xf8
ret
mov byte [esp + 0x108], 0
add esp, 0xf8
ret
mov eax, edi
mov ecx, esi
call fcn.00464b70
mov eax, edi
mov ecx, esi
call fcn.00464b70
mov eax, dword [esp + 0x30]
lea edi, [eax + 1]
mov ebx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0xdc]
mov esi, dword [esp + 0x20]
cmp edi, ebx
jge 0x51837e
mov ebp, dword [0x68ceb4]
cmp edi, ebp
jae 0x51845a
mov dword [esp + 0x30], edi
lea ebp, [edi + edi*2]
mov ecx, dword [0x68ceb0]
lea ecx, [ecx + ebp*8]
mov ebp, edi
lea edi, [esp + 0x90]
mov esi, ecx
call fcn.004651c4
mov ecx, dword [edx + 0xf0]
mov dword [esp + 0x54], ecx
xor esi, esi
jmp 0x5183e6
mov eax, dword [esp + 0x94]
mov dword [esp + 0x54], eax
lea ecx, [0x5575c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0044b5f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0xec], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x50], ecx
lea edx, [0x5575c0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044b5f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0xe8], eax
lea edi, [esp + 0x60]
xor eax, eax
call fcn.00464cea
mov eax, dword [esp + 0xec]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0xe8]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x94]
cmp edx, ecx
jl 0x518254
mov edx, ecx
mov ecx, dword [esp + 0x90]
cmp ecx, eax
je 0x51826f
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004653e0
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0xa0]
cmp ecx, edx
jg 0x518280
mov edx, ecx
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x9c]
cmp ecx, ebx
je 0x51829f
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.004653e0
mov ecx, dword [esp + 0xfc]
mov edx, dword [ecx + 0xf4]
mov ebx, dword [ecx + 0xf0]
inc ebx
mov ebp, dword [ecx + 0xec]
cmp edx, ebx
jae 0x518323
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x561d20]
mov dword [esp + 0x10], eax
call fcn.0044b6b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xfc]
mov dword [ebx + 0xf4], eax
mov eax, dword [0x6d0ed8]
test eax, eax
je 0x518312
call fcn.00464b00
mov dword [edi], ecx
mov ebp, dword [ebx + 0xec]
mov dword [edi + 4], ebp
mov dword [ebx + 0xec], ecx
mov ebx, edx
mov ebp, ecx
mov ecx, dword [esp + 0xfc]
mov dword [ecx + 0xf0], ebx
mov edx, dword [0x6d0ed8]
lea ebx, [ebx + ebx*2]
lea edi, [ebp + ebx*8 - 0x18]
test edx, edx
je 0x518369
mov dword [esp + 0xf0], edi
lea eax, [0x561d20]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
call fcn.004113d0
mov ecx, dword [esp + 0xfc]
mov edi, dword [esp + 0xf0]
lea esi, [esp + 0x60]
call fcn.004651c4
mov edx, dword [esp + 0xfc]
jmp 0x518151
mov edx, dword [esp + 0x100]
test edx, edx
je 0x5183a1
mov ebx, dword [0x6d0ed8]
test ebx, ebx
je 0x51839f
call fcn.00464b00
mov dword [edi], eax
mov ebx, dword [edx]
mov dword [edi + 4], ebx
mov dword [edx], eax
mov eax, dword [esp + 0x104]
test eax, eax
je 0x5183ca
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov ecx, dword [0x6d0ed8]
test ecx, ecx
je 0x5183c8
call fcn.00464b00
mov dword [edi], ebp
mov ecx, dword [eax]
mov dword [edi + 4], ecx
mov dword [eax], ebp
mov byte [esp + 0x108], 1
add esp, 0xf8
ret
inc esi
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x30]
cmp esi, ecx
jge 0x5181b6
mov edi, dword [edx + 0xf0]
cmp esi, edi
jae 0x518451
mov edi, dword [esp + 0x94]
mov eax, dword [edx + 0xec]
lea ebx, [esi + esi*2]
lea ebp, [eax + ebx*8]
lea ebx, [eax + ebx*8]
cmp dword [ebp + 4], edi
je 0x518417
xor eax, eax
jmp 0x518448
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x90]
mov ecx, dword [ebx]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
call fcn.004030e0
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0xfc]
mov esi, dword [esp + 0x28]
test al, al
je 0x5183d9
jmp 0x518151
mov eax, esi
mov ecx, edi
call fcn.00464b70
mov eax, edi
mov ecx, ebp
call fcn.00464b70
lea eax, [ebp + 1]
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0xdc]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x2c]
cmp ebp, edi
jge 0x51853d
mov eax, dword [edx + 0xf0]
cmp ebp, eax
jae 0x518815
mov eax, dword [esp + 0xac]
mov ebx, dword [edx + 0xec]
lea esi, [ebp + ebp*2]
lea ecx, [ebx + esi*8]
lea ebx, [ebx + esi*8]
cmp dword [ecx + 4], eax
je 0x5184bb
xor eax, eax
jmp 0x5184e8
mov ecx, dword [esp + 0xa8]
mov edx, dword [ebx]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004030e0
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0xfc]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x4c]
test al, al
je 0x518463
nop
mov dword [edx], 4
mov dword [edx + 8], 0x1e
mov ecx, dword [0x6d0ed8]
test ecx, ecx
jne 0x51850c
cmp ebp, edi
jmp 0x51851a
mov ecx, dword [edx + 4]
mov eax, edi
call fcn.00464af0
mov dword [edi], ecx
cmp ebp, eax
lea ecx, [0x583bcb]
mov dword [edx + 4], ecx
mov ebx, dword [esp + 0x58]
mov dword [edx + 0x14], ebx
mov ebx, dword [esp + 0x54]
mov dword [edx + 0x18], ebx
mov ebx, dword [esp + 0x50]
mov dword [edx + 0x1c], ebx
jmp 0x518722
mov eax, dword [esp + 0xac]
mov dword [esp + 0x58], eax
lea ecx, [0x5575c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0044b5f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0xec], eax
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x54], ecx
lea edx, [0x5575c0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044b5f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0xe8], eax
lea edi, [esp + 0x78]
xor eax, eax
call fcn.00464cea
mov eax, dword [esp + 0xec]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ecx
mov edx, dword [esp + 0xe8]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0xac]
cmp edx, ecx
jl 0x5185e7
mov edx, ecx
mov ecx, dword [esp + 0xa8]
cmp ecx, eax
je 0x518602
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004653e0
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0xb8]
cmp ecx, edx
jg 0x518616
mov edx, ecx
mov ecx, dword [esp + 0x84]
mov ebx, dword [esp + 0xb4]
cmp ecx, ebx
je 0x518638
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.004653e0
mov ecx, dword [esp + 0xfc]
mov edx, dword [ecx + 0xf4]
mov ebx, dword [ecx + 0xf0]
inc ebx
mov ebp, dword [ecx + 0xec]
cmp edx, ebx
jae 0x5186bc
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x561d20]
mov dword [esp + 0x10], eax
call fcn.0044b6b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xfc]
mov dword [ebx + 0xf4], eax
mov eax, dword [0x6d0ed8]
test eax, eax
je 0x5186ab
call fcn.00464b00
mov dword [edi], ecx
mov ebp, dword [ebx + 0xec]
mov dword [edi + 4], ebp
mov dword [ebx + 0xec], ecx
mov ebx, edx
mov ebp, ecx
mov ecx, dword [esp + 0xfc]
mov dword [ecx + 0xf0], ebx
mov edx, dword [0x6d0ed8]
lea ebx, [ebx + ebx*2]
lea edi, [ebp + ebx*8 - 0x18]
test edx, edx
je 0x518702
mov dword [esp + 0xe4], edi
lea eax, [0x561d20]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
call fcn.004113d0
mov ecx, dword [esp + 0xfc]
mov edi, dword [esp + 0xe4]
lea esi, [esp + 0x78]
call fcn.004651c4
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x4c]
cmp ecx, edx
lea ecx, [0x583bcb]
mov edx, dword [esp + 0xfc]
jl 0x518806
mov ebx, dword [esp + 0x20]
inc ebx
mov ebp, dword [esp + 0x24]
cmp ebp, ebx
jb 0x51873e
mov eax, dword [esp + 0xdc]
jmp 0x518784
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x561d20]
mov dword [esp + 0x10], eax
call fcn.0044b6b0
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xfc]
mov eax, ebp
mov ebp, ecx
lea ecx, [0x583bcb]
mov esi, dword [0x6d0ed8]
lea edi, [ebx + ebx*2]
lea edi, [eax + edi*8 - 0x18]
test esi, esi
je 0x5187eb
mov dword [esp + 0xe0], eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0xe4], edi
lea eax, [0x561d20]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0xc0]
mov dword [esp + 8], eax
call fcn.004113d0
mov eax, dword [esp + 0xe0]
lea ecx, [0x583bcb]
mov edx, dword [esp + 0xfc]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0xe4]
lea esi, [esp + 0xc0]
call fcn.004651c4
mov ecx, ebp
mov edx, ebx
mov ebx, eax
mov eax, dword [esp + 0x5c]
jmp 0x517fad
mov byte [esp + 0x108], 0
add esp, 0xf8
ret
mov ecx, eax
mov eax, ebp
call fcn.00464b70
call fcn.00464b70
nop
call fcn.004636f0
jmp fcn.00517e00