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

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x517afa
sub esp, 0x90
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea eax, [0x517b10]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x8c], eax
test byte [eax], al
mov dword [esp], eax
lea ecx, [esp + 0x88]
mov dword [esp + 4], ecx
call fcn.0049d9e0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xc]
test eax, eax
je 0x517721
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
test ecx, ecx
je 0x5176fd
mov ebx, dword [esp + 0x24]
lea ebp, [0x7b0b54]
cmp ebx, ebp
jne 0x5176f7
mov dword [esp + 0x7c], edx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x74], eax
lea ecx, [0x708be0]
mov dword [esp], ecx
call fcn.0040c500
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], ecx
mov ecx, dword [0x995310]
test ecx, ecx
jne 0x5176ba
mov ecx, dword [esp + 0x74]
jmp 0x5176c5
call fcn.00468e60
mov ecx, dword [esp + 0x74]
mov dword [edi], ecx
mov dword [eax], ecx
mov ecx, dword [esp + 0x84]
mov dword [eax + 8], ecx
mov ecx, dword [0x995310]
test ecx, ecx
jne 0x5176e1
mov ecx, dword [esp + 0x7c]
jmp 0x5176ec
call fcn.00468e60
mov ecx, dword [esp + 0x7c]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x7b0c44]
jmp 0x517701
mov ecx, eax
mov eax, edx
jmp 0x517701
mov ecx, eax
mov eax, edx
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x90
ret
mov dword [esp + 0x38], edx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x94]
mov ebp, dword [eax + 0x138]
mov dword [esp + 0x30], ebp
cmp ebp, 2
je 0x51774f
cmp ebp, 3
xchg esi, ebx
setne bl
xchg esi, ebx
jmp 0x517751
xor esi, esi
xchg esi, eax
mov byte [esp + 0x2f], al
xchg esi, eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 0x134]
mov dword [esp + 0x4c], edx
mov ebx, dword [eax + 0x144]
mov dword [esp + 0x44], ebx
mov ebp, dword [eax + 0x140]
mov dword [esp + 0x60], ebp
lea edi, [0x721500]
mov dword [esp], edi
call fcn.0040c500
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x30]
cmp ecx, 1
sete dl
mov byte [eax + 0x12d], dl
movzx edx, byte [esp + 0x2f]
mov byte [eax + 0x12e], dl
mov edx, dword [esp + 0x4c]
mov dword [eax + 0x134], edx
mov dword [eax + 0x138], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x144], ecx
mov ecx, dword [0x995310]
test ecx, ecx
jne 0x5177db
mov ecx, dword [esp + 0x60]
jmp 0x5177ef
call fcn.00468e70
mov ecx, dword [esp + 0x60]
mov dword [edi], ecx
mov edx, dword [eax + 0x140]
mov dword [edi + 4], edx
mov dword [esp + 0x70], eax
mov dword [eax + 0x140], ecx
mov dword [esp], eax
call fcn.00516920
mov eax, dword [esp + 4]
test eax, eax
jne 0x517aa3
mov dword [esp + 0x68], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x3c], 0
mov edx, dword [esp + 0x40]
test edx, edx
jbe 0x517af0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], 0
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x1c], eax
call fcn.0047d540
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.00479200
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 4]
mov dword [esp + 0x84], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x64], edx
mov dword [esp], eax
call fcn.00479200
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x134]
mov edx, dword [esp + 4]
mov dword [esp + 0x80], edx
mov ebx, dword [esp + 8]
mov dword [esp + 0x54], ebx
cmp ecx, 1
jne 0x5178f3
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x5178d9
lea ecx, [0x7588c8]
jmp 0x517930
cmp ecx, 2
jne 0x5178e6
lea ecx, [0x7588cc]
jmp 0x517930
cmp ecx, 5
jne 0x51792a
lea ecx, [0x7588d0]
jmp 0x517930
cmp ecx, 2
je 0x5178fd
cmp ecx, 0x17
jne 0x51792a
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x517910
lea ecx, [0x7588c0]
jmp 0x517930
cmp ecx, 2
jne 0x51791d
lea ecx, [0x7588c4]
jmp 0x517930
cmp ecx, 3
jne 0x51792a
lea ecx, [0x7588bc]
jmp 0x517930
lea ecx, [0x758874]
mov eax, dword [ecx]
mov ebx, dword [esp + 0x84]
mov dword [esp], ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 4], ebx
mov edx, ecx
call eax
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x134]
cmp ecx, 1
jne 0x517984
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x51796a
lea ecx, [0x7588c8]
jmp 0x5179c1
cmp ecx, 2
jne 0x517977
lea ecx, [0x7588cc]
jmp 0x5179c1
cmp ecx, 5
jne 0x5179bb
lea ecx, [0x7588d0]
jmp 0x5179c1
cmp ecx, 2
je 0x51798e
cmp ecx, 0x17
jne 0x5179bb
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x5179a1
lea ecx, [0x7588c0]
jmp 0x5179c1
cmp ecx, 2
jne 0x5179ae
lea ecx, [0x7588c4]
jmp 0x5179c1
cmp ecx, 3
jne 0x5179bb
lea ecx, [0x7588bc]
jmp 0x5179c1
lea ecx, [0x758878]
mov eax, dword [ecx]
mov ebx, dword [esp + 8]
mov dword [esp + 0x84], ebx
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x6c], ebp
mov esi, dword [esp + 0x80]
mov dword [esp], esi
mov esi, dword [esp + 0x54]
mov dword [esp + 4], esi
mov edx, ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x84]
mov ebp, dword [esp + 0x70]
mov dword [ebp + 0x148], ebx
mov ebx, dword [0x995310]
test ebx, ebx
jne 0x517a15
mov edx, dword [esp + 0x6c]
jmp 0x517a29
call fcn.00468e70
mov edx, dword [esp + 0x6c]
mov dword [edi], edx
mov ebx, dword [ebp + 0x14c]
mov dword [edi + 4], ebx
mov dword [ebp + 0x14c], edx
mov dword [ebp + 0x150], ecx
mov ecx, dword [0x995310]
test ecx, ecx
je 0x517a4f
call fcn.00468e70
mov dword [edi], eax
mov ecx, dword [ebp + 0x154]
mov dword [edi + 4], ecx
mov dword [ebp + 0x154], eax
lea eax, [0x733940]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [0x6f1720]
mov dword [esp + 8], eax
lea eax, [0x758870]
mov dword [esp + 0xc], eax
call fcn.00417780
mov eax, dword [esp + 0x70]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
add esp, 0x90
ret
mov eax, dword [esp + 4]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x94]
mov dword [esp], edx
call fcn.00516630
mov dword [esp + 0x98], 0
mov eax, dword [esp + 0x84]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0xa0], eax
add esp, 0x90
ret
xor eax, eax
mov ecx, eax
call fcn.00468ed0
nop
call fcn.00467a60
jmp fcn.005175e0