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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x7c
mov eax, dword [esp + 0x90]
lea edx, [esp + 0x10]
mov dword [esp + 4], 1
mov dword [esp], eax
mov dword [esp + 0x78], eax
lea eax, [esp + 0x14]
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
call fcn.004e6b20
test eax, eax
je 0x517a1e
mov eax, dword [esp + 0x14]
cmp eax, 0x301
jb 0x5174ec
cmp eax, 0x310
jbe 0x51751a
mov dword [esp + 0x4c], 2
mov dword [esp], 0x80000004
call fcn.004f73c0
mov dword [esp + 0x50], eax
lea eax, [esp + 0x4c]
mov dword [esp], eax
call fcn.004f73d0
add esp, 0x7c
xor eax, eax
pop ebx
pop ebp
pop esi
pop edi
ret
lea edi, [esp + 0x18]
xor eax, eax
mov ecx, 0xd
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x78]
lea edx, [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
call fcn.004e6130
cmp eax, dword [esp + 0x10]
je 0x517553
add esp, 0x7c
xor eax, eax
pop ebx
pop ebp
pop esi
pop edi
ret
lea eax, [esp + 0x18]
mov dword [esp + 4], 0x34
mov dword [esp], eax
call fcn.004f73c0
lea eax, [esp + 0x1c]
mov dword [esp + 4], 0xc
mov dword [esp], eax
call fcn.004e6d10
lea eax, [esp + 0x28]
mov dword [esp + 4], 0xc
mov dword [esp], eax
call fcn.004e6d10
mov edx, dword [0x5d1860]
mov eax, dword [esp + 0x3c]
imul edx, dword [esp + 0x40]
mov ebx, eax
mov ecx, dword [0x5d17f0]
shl ebx, 2
sub ebx, eax
mov eax, dword [esp + 0x48]
lea ecx, [ecx + ebx*8]
add edx, ecx
mov ecx, dword [esp + 0x38]
lea ebx, [ecx*8]
lea ebx, [ebx + ecx*4]
add edx, ebx
test al, 0x10
je 0x5175cb
lea edx, [edx + ecx*4]
test al, 8
je 0x5175d2
lea edx, [edx + ecx*4]
test al, 4
je 0x5175db
lea edx, [edx + ecx*8]
jmp 0x5175e7
test eax, 0x80
je 0x5175e7
shl ecx, 4
add edx, ecx
mov eax, dword [esp + 0x34]
mov ecx, dword [0x606064]
lea ebx, [edx + eax*8]
add ebx, dword [esp + 0x44]
mov dword [esp], ebx
call dword [ecx + pe_nt_image_headers32]
mov esi, eax
test esi, esi
je 0x517a48
mov edi, esi
xor eax, eax
mov ecx, ebx
push ecx
shr ecx, 2
rep stosd dword es:[edi], eax
pop ecx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [0x5d17f0]
xor edx, edx
add eax, esi
mov dword [esp], esi
mov dword [esp + 0x5c], eax
mov dword [esi + 4], edx
mov byte [esi + 3], 1
mov byte [esi + 2], dl
mov byte [esi + 1], dl
mov byte [esi], 7
mov dword [esp + 4], ebx
call fcn.005118b0
xor eax, eax
mov al, byte [esp + 0x48]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.005121a0
mov dword [esp], esi
mov dword [esp + 4], 2
call fcn.00511cf0
lea eax, [esp + 0x28]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00511ba0
fld dword [0x61e1fc]
fmul dword [esp + 0x1c]
fld dword [0x61e200]
fld dword [0x61e204]
fxch st(2)
xor eax, eax
lea edx, [esp + 0x14]
fstp dword [esi + 0x3c]
fmul dword [esp + 0x20]
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
fstp dword [esi + 0x40]
fmul dword [esp + 0x24]
mov dword [esi + 0x18], eax
mov dword [esi + 0x70], eax
fstp dword [esi + 0x44]
mov dword [esp + 4], 8
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.004e6b20
test eax, eax
je 0x517996
mov eax, dword [esp + 0x14]
cmp eax, 0x301
jb 0x5176e3
cmp eax, 0x310
jbe 0x517711
mov dword [esp + 0x60], 2
mov dword [esp], 0x80000004
call fcn.004f73c0
mov dword [esp + 0x64], eax
lea eax, [esp + 0x60]
mov dword [esp], eax
call fcn.004f73d0
add esp, 0x7c
xor eax, eax
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, dword [esp + 0x78]
lea edx, [esi + 0xc]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00512d30
test eax, eax
je 0x517a28
mov eax, dword [esp + 0x18]
test eax, eax
je 0x517805
mov eax, dword [esp + 0x78]
lea edx, [esp + 0x14]
mov dword [esp + 4], 9
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], edx
call fcn.004e6b20
test eax, eax
je 0x5177e5
mov eax, dword [esp + 0x14]
cmp eax, 0x301
jb 0x517776
cmp eax, 0x310
jbe 0x5177ba
mov dword [esp + 0x68], 2
mov dword [esp], 0x80000004
call fcn.004f73c0
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x68]
mov dword [esp], eax
call fcn.004f73d0
mov dword [esp], esi
call fcn.00511940
mov eax, dword [0x606064]
mov dword [esp], esi
call dword [eax + 0x134]
add esp, 0x7c
xor eax, eax
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x78]
lea ecx, [esp + 0x5c]
mov dword [esp + 0xc], eax
mov eax, edx
mov edx, ecx
mov ecx, esi
call fcn.005168d0
mov dword [esi + 0x18], eax
test eax, eax
je 0x5179b6
jmp 0x5178ad
mov dword [esp], esi
call fcn.00511940
mov eax, dword [0x606064]
mov dword [esp], esi
call dword [eax + 0x134]
add esp, 0x7c
xor eax, eax
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, dword [esp + 0x78]
lea edx, [esp + 0x14]
mov dword [esp + 4], 0xa
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], edx
call fcn.004e6b20
test eax, eax
je 0x517976
mov eax, dword [esp + 0x14]
cmp eax, 0x301
jb 0x517843
cmp eax, 0x310
jbe 0x517887
mov dword [esp + 0x70], 2
mov dword [esp], 0x80000004
call fcn.004f73c0
mov dword [esp + 0x74], eax
lea eax, [esp + 0x70]
mov dword [esp], eax
call fcn.004f73d0
mov dword [esp], esi
call fcn.00511940
mov eax, dword [0x606064]
mov dword [esp], esi
call dword [eax + 0x134]
add esp, 0x7c
xor eax, eax
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x78]
lea ecx, [esp + 0x5c]
mov dword [esp + 0xc], eax
mov eax, edx
mov edx, ecx
mov ecx, esi
call fcn.005170d0
mov dword [esi + 0x18], eax
test eax, eax
je 0x517a08
lea eax, [esi + 0x34]
lea edx, [esi + 0x34]
lea ecx, [esi + 0x2c]
mov dword [esi + 0x38], eax
lea eax, [esi + 0x2c]
mov dword [esi + 0x34], edx
lea edx, [esi + 0x24]
mov dword [esi + 0x30], ecx
lea ecx, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x20], edx
lea edx, [esi + 0x48]
mov dword [esi + 0x28], ecx
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], eax
mov dword [esp + 4], edx
mov dword [esp], esi
call fcn.00511810
mov dword [esp], esi
mov dword [esp + 4], 0
call fcn.00512110
xor ebx, ebx
mov eax, dword [esi + 0x10]
test eax, eax
jle 0x517930
mov edi, esi
mov eax, dword [edi + 0xc]
mov ebp, dword [eax + ebx*4]
mov dword [esp], ebp
call fcn.0050f9f0
test eax, eax
je 0x517926
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.0050f9b0
inc ebx
mov eax, dword [edi + 0x10]
cmp ebx, eax
jl 0x517908
mov esi, edi
mov dword [esp], 0x5d17f0
mov dword [esp + 4], esi
call fcn.004f83d0
mov eax, dword [esp + 0x78]
mov dword [esp], 0x5d17f0
mov dword [esp + 8], esi
mov dword [esp + 4], eax
call fcn.00508310
test eax, eax
je 0x5179e8
mov dword [esp], esi
call fcn.005119c0
test eax, eax
je 0x5179d6
add esp, 0x7c
mov eax, esi
pop ebx
pop ebp
pop esi
pop edi
ret
mov dword [esp], esi
call fcn.00511940
mov eax, dword [0x606064]
mov dword [esp], esi
call dword [eax + 0x134]
add esp, 0x7c
xor eax, eax
pop ebx
pop ebp
pop esi
pop edi
ret
mov dword [esp], esi
call fcn.00511940
mov eax, dword [0x606064]
mov dword [esp], esi
call dword [eax + 0x134]
add esp, 0x7c
xor eax, eax
pop ebx
pop ebp
pop esi
pop edi
ret
mov dword [esp], esi
call fcn.00511940
mov eax, dword [0x606064]
mov dword [esp], esi
call dword [eax + 0x134]
add esp, 0x7c
xor eax, eax
pop ebx
pop ebp
pop esi
pop edi
ret
mov dword [esp], esi
call fcn.00511d30
add esp, 0x7c
xor eax, eax
pop ebx
pop ebp
pop esi
pop edi
ret
mov dword [esp], esi
call fcn.00511940
mov eax, dword [0x606064]
mov dword [esp], esi
call dword [eax + 0x134]
add esp, 0x7c
xor eax, eax
pop ebx
pop ebp
pop esi
pop edi
ret
mov dword [esp], esi
call fcn.00511940
mov eax, dword [0x606064]
mov dword [esp], esi
call dword [eax + 0x134]
add esp, 0x7c
xor eax, eax
pop ebx
pop ebp
pop esi
pop edi
ret
mov dword [esp], esi
call fcn.00511940
mov eax, dword [0x606064]
mov dword [esp], esi
call dword [eax + 0x134]
add esp, 0x7c
xor eax, eax
pop ebx
pop ebp
pop esi
pop edi
ret
mov dword [esp + 0x54], 2
mov dword [esp], 0x80000013
mov dword [esp + 4], ebx
call fcn.004f73c0
mov dword [esp + 0x58], eax
lea eax, [esp + 0x54]
mov dword [esp], eax
call fcn.004f73d0
add esp, 0x7c
xor eax, eax
pop ebx
pop ebp
pop esi
pop edi
ret