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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x4c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x74]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x78]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x84]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x88]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x90]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x94]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x9c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0xa0]
mov dword [ebp - 0x74], eax
cmp dword [ebp + 0x54], 0
je 0x5186b6
cmp dword [ebp + 0x70], 0
je 0x5186b9
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x98], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x94], eax
mov dword [esp + 0x90], 6
fld qword [0x592bf0]
fstp qword [esp + 0x88]
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], 9
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x7c], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x78], eax
fld qword [0x592bf8]
fstp qword [esp + 0x70]
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x6c], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x68], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x64], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x60], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], 2
fld qword [0x592c08]
fstp qword [esp + 0x50]
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], 9
mov dword [esp + 0x44], 0x10
mov dword [esp + 0x40], 9
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], 9
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], 7
fld qword [0x592bf0]
fstp qword [esp + 0x28]
fld1
fstp qword [esp + 0x20]
fld qword [0x592be0]
fstp qword [esp + 0x18]
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x2c]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 0xc], eax
fld qword [0x592bd0]
fstp qword [esp + 4]
mov dword [esp], 6
call sym._ClearMemory
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], 4
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], 7
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], 8
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x70], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], 0x179
mov dword [esp + 0x64], 6
mov dword [esp + 0x60], 9
mov dword [esp + 0x5c], 4
mov dword [esp + 0x58], 9
mov dword [esp + 0x54], 2
mov dword [esp + 0x50], 1
mov dword [esp + 0x4c], 3
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], 0
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x40], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x38], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], 0x34
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x2c], eax
fldz
fstp qword [esp + 0x24]
mov dword [esp + 0x20], 4
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x1c], eax
fld qword [0x592c08]
fstp qword [esp + 0x14]
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x10], eax
fld qword [0x592bf0]
fstp qword [esp + 8]
mov dword [esp + 4], 7
mov dword [esp], 3
call sym._ExportWinAPI
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x2c]
mov dword [esp], edx
call eax
sub esp, 4
mov dword [ebp - 0xc], 0x20
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add eax, eax
lea edx, [eax + 0xc]
mov eax, 0x10
sub eax, 1
add eax, edx
mov ecx, 0x10
mov edx, 0
div ecx
imul eax, eax, 0x10
call fcn.0057b490
sub esp, eax
lea eax, [esp + 0xa4]
add eax, 0xf
shr eax, 4
shl eax, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x98], edx
mov edx, dword [ebp - 0x10]
mov dword [esp + 0x94], edx
mov dword [esp + 0x90], 9
fld1
fstp qword [esp + 0x88]
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x84], edx
mov dword [esp + 0x80], 5
mov edx, dword [ebp - 0x14]
mov dword [esp + 0x7c], edx
mov edx, dword [ebp - 0x14]
mov dword [esp + 0x78], edx
fld qword [0x592c08]
fstp qword [esp + 0x70]
mov edx, dword [ebp - 0x14]
mov dword [esp + 0x6c], edx
mov edx, dword [ebp - 0x10]
mov dword [esp + 0x68], edx
mov edx, dword [ebp - 0x14]
mov dword [esp + 0x64], edx
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x60], edx
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], 8
fld qword [0x592c08]
fstp qword [esp + 0x50]
mov edx, dword [ebp - 0x10]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], 2
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], 5
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], 5
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], 4
fld qword [0x592c08]
fstp qword [esp + 0x28]
fld qword [0x592be8]
fstp qword [esp + 0x20]
fld qword [0x592be0]
fstp qword [esp + 0x18]
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 0xc], eax
fld1
fstp qword [esp + 4]
mov dword [esp], 6
call sym._ClearMemory
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x94], eax
mov dword [esp + 0x90], 6
fld qword [0x592be8]
fstp qword [esp + 0x88]
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x84], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x80], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x7c], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], 3
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x70], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x6c], eax
fld qword [0x592bd0]
fstp qword [esp + 0x64]
fld qword [0x592bd8]
fstp qword [esp + 0x5c]
mov dword [esp + 0x58], 2
fld qword [0x592be8]
fstp qword [esp + 0x50]
mov dword [esp + 0x4c], 0x590b36
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], 7
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x40], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x38], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], 6
fld qword [0x592c00]
fstp qword [esp + 0x28]
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 4
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
fld qword [0x592bd8]
fstp qword [esp + 8]
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._StrCatW
movzx eax, word [ebp - 0x22]
movzx eax, ax
mov edx, dword [ebp - 0x14]
mov dword [esp + 0xa0], edx
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x9c], edx
mov dword [esp + 0x98], 5
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x94], edx
fld qword [0x592bd0]
fstp qword [esp + 0x8c]
mov edx, dword [ebp - 0x1c]
mov dword [esp + 0x88], edx
fld qword [0x592bf8]
fstp qword [esp + 0x80]
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x78], 5
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x74], edx
fldz
fstp qword [esp + 0x6c]
fld qword [0x592bd8]
fstp qword [esp + 0x64]
mov edx, dword [ebp - 0x14]
mov dword [esp + 0x60], edx
mov dword [esp + 0x5c], 4
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 2
mov dword [esp + 0x50], 8
mov dword [esp + 0x4c], 3
mov dword [esp + 0x48], 8
fld qword [0x592c08]
fstp qword [esp + 0x40]
mov edx, dword [ebp - 0x14]
mov dword [esp + 0x3c], edx
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], 8
fldz
fstp qword [esp + 0x2c]
mov dword [esp + 0x28], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x24], eax
fld qword [0x592c08]
fstp qword [esp + 0x1c]
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x18], eax
fld qword [0x592be0]
fstp qword [esp + 0x10]
mov eax, dword [ebp - 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._appendNumberW
movzx eax, word [ebp - 0x20]
movzx eax, ax
mov edx, dword [ebp - 0x14]
mov dword [esp + 0xa0], edx
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x9c], edx
mov dword [esp + 0x98], 5
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x94], edx
fld qword [0x592be0]
fstp qword [esp + 0x8c]
mov edx, dword [ebp - 0x1c]
mov dword [esp + 0x88], edx
fld qword [0x592c08]
fstp qword [esp + 0x80]
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x78], 4
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x74], edx
fld qword [0x592be8]
fstp qword [esp + 0x6c]
fld qword [0x592be8]
fstp qword [esp + 0x64]
mov edx, dword [ebp - 0x10]
mov dword [esp + 0x60], edx
mov dword [esp + 0x5c], 5
mov dword [esp + 0x58], 1
mov dword [esp + 0x54], 2
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 4
mov dword [esp + 0x48], 2
fld qword [0x592be0]
fstp qword [esp + 0x40]
mov edx, dword [ebp - 0x14]
mov dword [esp + 0x3c], edx
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], 2
fld1
fstp qword [esp + 0x2c]
mov dword [esp + 0x28], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x24], eax
fld qword [0x592c08]
fstp qword [esp + 0x1c]
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x18], eax
fld qword [0x592c00]
fstp qword [esp + 0x10]
mov eax, dword [ebp - 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._appendNumberW
movzx eax, word [ebp - 0x1e]
movzx eax, ax
mov edx, dword [ebp - 0x14]
mov dword [esp + 0xa0], edx
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x9c], edx
mov dword [esp + 0x98], 2
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x94], edx
fld qword [0x592be8]
fstp qword [esp + 0x8c]
mov edx, dword [ebp - 0x1c]
mov dword [esp + 0x88], edx
fld qword [0x592bf0]
fstp qword [esp + 0x80]
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x78], 9
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x74], edx
fld qword [0x592c08]
fstp qword [esp + 0x6c]
fld qword [0x592be8]
fstp qword [esp + 0x64]
mov edx, dword [ebp - 0x14]
mov dword [esp + 0x60], edx
mov dword [esp + 0x5c], 8
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 3
mov dword [esp + 0x50], 8
mov dword [esp + 0x4c], 8
mov dword [esp + 0x48], 8
fld1
fstp qword [esp + 0x40]
mov edx, dword [ebp - 0x14]
mov dword [esp + 0x3c], edx
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], 6
fldz
fstp qword [esp + 0x2c]
mov dword [esp + 0x28], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x24], eax
fld qword [0x592bf8]
fstp qword [esp + 0x1c]
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x18], eax
fld qword [0x592c00]
fstp qword [esp + 0x10]
mov eax, dword [ebp - 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._appendNumberW
mov eax, dword [ebp + 0x70]
lea edx, [eax - 1]
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x9c], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x98], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x94], eax
mov dword [esp + 0x90], 6
fld qword [0x592bf0]
fstp qword [esp + 0x88]
mov dword [esp + 0x84], 1
fld qword [0x592bf0]
fstp qword [esp + 0x7c]
mov dword [esp + 0x78], edx
mov dword [esp + 0x74], 4
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], 9
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x68], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x64], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x60], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x58], eax
fld qword [0x592c00]
fstp qword [esp + 0x50]
fld qword [0x592bd0]
fstp qword [esp + 0x48]
mov dword [esp + 0x44], 3
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], 4
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x38], eax
fld qword [0x592bf0]
fstp qword [esp + 0x30]
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], 2
fld qword [0x592bd0]
fstp qword [esp + 0x20]
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 3
mov eax, dword [ebp + 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 0xc], eax
fld qword [0x592bf0]
fstp qword [esp + 4]
mov dword [esp], 4
call sym._StrNcpyW
mov eax, dword [ebp + 0x70]
add eax, 0x7fffffff
lea edx, [eax + eax]
mov eax, dword [ebp + 0x54]
add eax, edx
mov word [eax], 0
jmp 0x5186ba
nop
jmp 0x5186ba
nop
leave
ret