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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x5c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x60]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x68]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x6c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x78]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x7c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x80]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x84]
mov dword [ebp - 0x6c], eax
cmp dword [ebp + 0x70], 0
je 0x476fc3
cmp dword [ebp + 0x64], 0
je 0x476fc6
mov dword [esp + 0x90], 2
mov dword [esp + 0x8c], 9
mov dword [esp + 0x88], 0x10
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x84], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x80], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x7c], eax
fld qword [0x596770]
fstp qword [esp + 0x74]
mov dword [esp + 0x70], 2
mov dword [esp + 0x6c], 4
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x68], eax
fld qword [0x596770]
fstp qword [esp + 0x60]
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x5c], eax
fldz
fstp qword [esp + 0x54]
mov dword [esp + 0x50], 2
lea eax, [ebp - 0x2c]
mov dword [esp + 0x4c], eax
fld qword [0x596790]
fstp qword [esp + 0x44]
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], 0
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x38], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], 3
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 4
mov dword [esp + 0x20], 3
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 4
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0xc], eax
fld qword [0x596760]
fstp qword [esp + 4]
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._ClearMemory
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x9c], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], 6
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x90], eax
mov dword [esp + 0x8c], 0
fld1
fstp qword [esp + 0x84]
fld qword [0x596770]
fstp qword [esp + 0x7c]
fldz
fstp qword [esp + 0x74]
fld qword [0x596760]
fstp qword [esp + 0x6c]
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x68], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x64], eax
fld qword [0x596798]
fstp qword [esp + 0x5c]
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x58], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x54], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x50], eax
fld1
fstp qword [esp + 0x48]
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x44], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], 0x179
fld qword [0x596778]
fstp qword [esp + 0x34]
mov dword [esp + 0x30], 1
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0x34
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
mov eax, dword [ebp - 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 8], eax
fld qword [0x596778]
fstp qword [esp]
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.0057fad0
sub esp, eax
lea eax, [esp + 0xb4]
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 dword [esp + 0x90], 3
mov dword [esp + 0x8c], 3
mov dword [esp + 0x88], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x84], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x80], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x7c], eax
fld qword [0x596770]
fstp qword [esp + 0x74]
mov dword [esp + 0x70], 6
mov dword [esp + 0x6c], 3
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x68], eax
fld qword [0x596770]
fstp qword [esp + 0x60]
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x5c], eax
fld qword [0x596780]
fstp qword [esp + 0x54]
mov dword [esp + 0x50], 8
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x4c], eax
fld qword [0x596760]
fstp qword [esp + 0x44]
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], 6
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
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 6
mov dword [esp + 0x20], 4
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 4
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 0xc], eax
fld qword [0x596790]
fstp qword [esp + 4]
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._ClearMemory
fld qword [0x596770]
fstp qword [esp + 0x94]
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x90], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x8c], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x88], eax
fldz
fstp qword [esp + 0x80]
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], 2
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x74], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x70], eax
fldz
fstp qword [esp + 0x68]
mov dword [esp + 0x64], 0x590e88
mov dword [esp + 0x60], 6
mov dword [esp + 0x5c], 8
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], 5
fld1
fstp qword [esp + 0x4c]
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x48], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x44], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], 5
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x38], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], 7
fld qword [0x596778]
fstp qword [esp + 0x28]
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x24], eax
fld qword [0x596790]
fstp qword [esp + 0x1c]
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x14], eax
fld qword [0x596770]
fstp qword [esp + 0xc]
mov eax, dword [ebp - 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov dword [esp], 2
call sym._StrCatW
movzx eax, word [ebp - 0x22]
movzx eax, ax
fldz
fstp qword [esp + 0xac]
fld qword [0x596760]
fstp qword [esp + 0xa4]
mov edx, dword [ebp - 0x10]
mov dword [esp + 0xa0], edx
mov edx, dword [ebp - 0x10]
mov dword [esp + 0x9c], edx
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x98], edx
mov edx, dword [ebp - 0x10]
mov dword [esp + 0x94], edx
fld qword [0x596780]
fstp qword [esp + 0x8c]
mov dword [esp + 0x88], 8
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x84], edx
fld qword [0x596760]
fstp qword [esp + 0x7c]
mov dword [esp + 0x78], 3
fld qword [0x596798]
fstp qword [esp + 0x70]
mov dword [esp + 0x6c], 2
fld qword [0x596788]
fstp qword [esp + 0x64]
mov edx, dword [ebp - 0x14]
mov dword [esp + 0x60], edx
fld qword [0x596788]
fstp qword [esp + 0x58]
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x54], edx
fld qword [0x596760]
fstp qword [esp + 0x4c]
fld qword [0x596780]
fstp qword [esp + 0x44]
mov edx, dword [ebp - 0x10]
mov dword [esp + 0x40], edx
mov edx, dword [ebp - 0x10]
mov dword [esp + 0x3c], edx
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], eax
fld qword [0x596778]
fstp qword [esp + 0x2c]
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x24], eax
fldz
fstp qword [esp + 0x1c]
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 7
mov dword [esp + 0xc], 1
mov dword [esp + 8], 7
fld qword [0x596780]
fstp qword [esp]
call sym._appendNumberW
movzx eax, word [ebp - 0x20]
movzx eax, ax
fld qword [0x596790]
fstp qword [esp + 0xac]
fldz
fstp qword [esp + 0xa4]
mov edx, dword [ebp - 0x10]
mov dword [esp + 0xa0], edx
mov edx, dword [ebp - 0x10]
mov dword [esp + 0x9c], edx
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x98], edx
mov edx, dword [ebp - 0x14]
mov dword [esp + 0x94], edx
fld qword [0x596790]
fstp qword [esp + 0x8c]
mov dword [esp + 0x88], 2
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x84], edx
fld qword [0x596798]
fstp qword [esp + 0x7c]
mov dword [esp + 0x78], 8
fld qword [0x596768]
fstp qword [esp + 0x70]
mov dword [esp + 0x6c], 2
fld qword [0x596778]
fstp qword [esp + 0x64]
mov edx, dword [ebp - 0x14]
mov dword [esp + 0x60], edx
fld qword [0x596778]
fstp qword [esp + 0x58]
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x54], edx
fld qword [0x596780]
fstp qword [esp + 0x4c]
fld qword [0x596790]
fstp qword [esp + 0x44]
mov edx, dword [ebp - 0x14]
mov dword [esp + 0x40], edx
mov edx, dword [ebp - 0x10]
mov dword [esp + 0x3c], edx
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], eax
fld qword [0x596798]
fstp qword [esp + 0x2c]
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x24], eax
fld1
fstp qword [esp + 0x1c]
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 5
mov dword [esp + 0xc], 6
mov dword [esp + 8], 8
fld qword [0x596798]
fstp qword [esp]
call sym._appendNumberW
movzx eax, word [ebp - 0x1e]
movzx eax, ax
fld qword [0x596770]
fstp qword [esp + 0xac]
fld qword [0x596770]
fstp qword [esp + 0xa4]
mov edx, dword [ebp - 0x10]
mov dword [esp + 0xa0], edx
mov edx, dword [ebp - 0x14]
mov dword [esp + 0x9c], edx
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x98], edx
mov edx, dword [ebp - 0x10]
mov dword [esp + 0x94], edx
fld1
fstp qword [esp + 0x8c]
mov dword [esp + 0x88], 8
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x84], edx
fld qword [0x596788]
fstp qword [esp + 0x7c]
mov dword [esp + 0x78], 6
fld qword [0x596768]
fstp qword [esp + 0x70]
mov dword [esp + 0x6c], 3
fldz
fstp qword [esp + 0x64]
mov edx, dword [ebp - 0x10]
mov dword [esp + 0x60], edx
fld1
fstp qword [esp + 0x58]
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x54], edx
fld qword [0x596788]
fstp qword [esp + 0x4c]
fld qword [0x596790]
fstp qword [esp + 0x44]
mov edx, dword [ebp - 0x14]
mov dword [esp + 0x40], edx
mov edx, dword [ebp - 0x10]
mov dword [esp + 0x3c], edx
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], eax
fld qword [0x596760]
fstp qword [esp + 0x2c]
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x24], eax
fld qword [0x596768]
fstp qword [esp + 0x1c]
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 6
mov dword [esp + 8], 4
fld1
fstp qword [esp]
call sym._appendNumberW
mov eax, dword [ebp + 0x64]
lea edx, [eax - 1]
mov eax, dword [ebp - 0x14]
mov dword [esp + 0xa8], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 0xa4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0xa0], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x9c], eax
fld qword [0x596770]
fstp qword [esp + 0x94]
fld qword [0x596788]
fstp qword [esp + 0x8c]
fld qword [0x596760]
fstp qword [esp + 0x84]
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], 0
mov eax, dword [ebp + 0x70]
mov dword [esp + 0x78], eax
fld qword [0x596780]
fstp qword [esp + 0x70]
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x64], 1
fldz
fstp qword [esp + 0x5c]
mov dword [esp + 0x58], 1
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x54], eax
fld qword [0x596788]
fstp qword [esp + 0x4c]
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x48], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x44], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x40], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], 6
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 9
mov dword [esp + 0x2c], 9
fld qword [0x596790]
fstp qword [esp + 0x24]
fld qword [0x596760]
fstp qword [esp + 0x1c]
mov dword [esp + 0x18], 5
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x14], eax
fld qword [0x596760]
fstp qword [esp + 0xc]
mov eax, dword [ebp - 0x10]
mov dword [esp + 8], eax
fld qword [0x596770]
fstp qword [esp]
call sym._StrNcpyW
mov eax, dword [ebp + 0x64]
add eax, 0x7fffffff
lea edx, [eax + eax]
mov eax, dword [ebp + 0x70]
add eax, edx
mov word [eax], 0
jmp 0x476fc7
nop
jmp 0x476fc7
nop
leave
ret