Function at 0x475a80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a896
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x5de00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xc8], edi
cmp dword [0x5e4800], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xb4], eax
mov eax, 1
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xac], 0
je 0x476bd5
mov ecx, dword [0x5e47f8]
mov eax, dword [0x5e47f4]
dec ecx
and ecx, dword [0x5e47fc]
mov esi, dword [eax + ecx*4]
lea ecx, [ebp - 0x70]
mov eax, dword [esi]
mov dword [ebp - 0x78], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x74], eax
lea eax, [esi + 8]
push eax
call fcn.004314d0
lea eax, [esi + 0x20]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x58]
call fcn.004314d0
mov dword [ebp - 4], 1
mov ecx, dword [0x5e47f8]
mov eax, dword [0x5e47f4]
dec ecx
and ecx, dword [0x5e47fc]
mov ecx, dword [eax + ecx*4]
call fcn.00476ca0
sub dword [0x5e4800], 1
jne 0x475b67
mov dword [0x5e47fc], 0
jmp 0x475b6d
inc dword [0x5e47fc]
mov eax, dword [ebp - 0x78]
dec eax
cmp eax, 0x28
ja case.0x475b7a.34
jmp dword [eax*4 + 0x476bf4]
xor eax, eax
mov ecx, edi
cmp dword [ebp - 0x74], eax
setne al
push eax
call fcn.004804c0
jmp case.0x475b7a.34
push 0
push 0
push 0x10
push dword [ebp - 0xc0]
mov dword [0x5e467c], 1
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 0xc4], 1
jmp case.0x475b7a.34
mov esi, dword [ebp - 0x74]
xorps xmm0, xmm0
mov edi, dword [0x5e4658]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov ecx, dword [ebp - 0xc8]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
call fcn.0047d220
mov ecx, dword [ebp - 0xc8]
lea edx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x28]
cmovae edx, dword [ebp - 0x40]
push dword [ecx + 0x6c]
cmp dword [ebp - 0x14], 0x10
mov ecx, edi
push esi
cmovae eax, dword [ebp - 0x28]
push edx
push eax
call fcn.004b29b0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x475c71
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x475c67
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x476bba
push ecx
push edx
call fcn.0052d747
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp ecx, 0x10
jb case.0x475b7a.34
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x475cb5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x476bba
push ecx
push edx
call fcn.0052d747
add esp, 8
jmp case.0x475b7a.34
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0x2c]
jmp case.0x475b7a.34
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x2c]
jmp case.0x475b7a.34
push 0
push 0xffffffffffffffff
mov ecx, edi
call fcn.00480df0
push 0
push 0
push str.TITLE
mov ecx, edi
call fcn.0046fe20
jmp case.0x475b7a.34
push dword [ebp - 0x74]
mov ecx, edi
push 0
push dword [ebp - 0xb4]
push dword [ebp - 0xb0]
call fcn.00481f30
jmp case.0x475b7a.34
push dword [ebp - 0x74]
mov ecx, edi
push 0
push dword [ebp - 0xb4]
push dword [ebp - 0xb0]
call fcn.00483b30
jmp case.0x475b7a.34
push dword [ebp - 0x74]
mov ecx, edi
push 0
sub esp, 8
call fcn.00481ca0
jmp case.0x475b7a.34
mov ecx, edi
call fcn.00481e80
jmp case.0x475b7a.34
lea eax, [ebp - 0xcc]
mov esi, 1
push eax
lea edx, [ebp - 0xe4]
mov ecx, esi
call fcn.004dee00
mov eax, dword [ebp - 0xcc]
add esp, 4
test eax, eax
jg 0x475d84
mov eax, esi
jmp 0x475d94
inc eax
cmp eax, dword [0x5e458c]
cmovg eax, esi
mov dword [ebp - 0xcc], eax
push eax
push 1
push dword [ebp - 0xb4]
mov ecx, edi
push dword [ebp - 0xb0]
call fcn.00481f30
jmp case.0x475b7a.34
push 0xffffffffffffffff
push 4
push dword [ebp - 0xb4]
mov ecx, edi
push dword [ebp - 0xb0]
call fcn.00483b30
jmp case.0x475b7a.34
push 0
push 0x9c4f
push 0x111
push dword [ebp - 0xc0]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp case.0x475b7a.34
push 0
push 0x9c50
push 0x111
push dword [ebp - 0xc0]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp case.0x475b7a.34
mov eax, dword [ebp - 0x74]
cmp eax, 0xffffffff
jne 0x475e2d
lea eax, [ebp - 0xd8]
mov ecx, 1
push eax
lea edx, [ebp - 0xe8]
call fcn.004dee00
mov eax, dword [ebp - 0xd8]
add esp, 4
push eax
push 1
push dword [ebp - 0xb4]
mov ecx, edi
push dword [ebp - 0xb0]
call fcn.00483b30
jmp case.0x475b7a.34
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
cmp dword [ebp - 0x5c], 0x10
lea edx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x70]
call fcn.004cbd00
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
push dword [ebp - 0xb4]
push dword [ebp - 0xb0]
call fcn.00483820
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb case.0x475b7a.34
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x475ec9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x476bba
push ecx
push edx
call fcn.0052d747
add esp, 8
jmp case.0x475b7a.34
lea eax, [ebp - 0xd0]
mov esi, 1
push eax
lea edx, [ebp - 0xec]
mov ecx, esi
call fcn.004dee00
mov eax, dword [ebp - 0xd0]
add esp, 4
test eax, eax
jg 0x475f11
mov eax, esi
mov ecx, edi
push eax
push esi
sub esp, 8
call fcn.00481ca0
jmp case.0x475b7a.34
inc eax
mov ecx, edi
cmp eax, dword [0x5e458c]
cmovg eax, esi
push eax
push 1
sub esp, 8
mov dword [ebp - 0xd0], eax
call fcn.00481ca0
jmp case.0x475b7a.34
cmp dword [0x5e47e0], 0
jne 0x475fa9
mov ecx, edi
call fcn.0047bce0
test eax, eax
jne 0x475fa9
lea eax, [ebp - 0xd4]
mov ecx, 2
push eax
lea edx, [ebp - 0xf0]
call fcn.004dee00
mov eax, dword [ebp - 0xd4]
add esp, 4
test eax, eax
jg 0x475f72
mov eax, 1
jmp 0x475f87
inc eax
mov ecx, 1
cmp eax, dword [0x5e4580]
cmovg eax, ecx
mov dword [ebp - 0xd4], eax
push eax
push 2
push dword [ebp - 0xb4]
mov ecx, edi
push dword [ebp - 0xb0]
call fcn.00481f30
mov dword [edi + 0x2c], 0
jmp case.0x475b7a.34
mov esi, 1
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xac], esi
jmp 0x476b2d
push dword [ebp - 0x74]
mov ecx, edi
push 2
push dword [ebp - 0xb4]
push dword [ebp - 0xb0]
call fcn.00483b30
jmp case.0x475b7a.34
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
mov edx, 7
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], edx
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 0x10
mov dword [ebp - 0xb8], eax
jb 0x476020
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xb8], eax
test eax, eax
je 0x4760a5
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x476025
sub esi, ecx
mov edx, 2
xor ecx, ecx
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0052d7ad
add esp, 4
mov dword [ebp - 0xbc], eax
lea eax, [esi*2 + 2]
mov esi, dword [ebp - 0xbc]
push eax
push esi
push 0xffffffffffffffff
push dword [ebp - 0xb8]
push 1
push 0x3a4
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x476080
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.004039f0
push esi
call fcn.0052d7a8
mov edx, dword [ebp - 0x14]
add esp, 4
push 0xffffffffffffffff
push 0
cmp edx, 8
lea eax, [ebp - 0x28]
lea ecx, [edi + 0x44]
cmovae eax, dword [ebp - 0x28]
push eax
push 2
push 0
push str._LuaFire_
push 0x13
push 1
push 0
call fcn.005204b0
call fcn.004239c0
push 0xffffffffffffffff
push 0
push str._LuaFire_
push 0x13
mov ecx, eax
call fcn.0043fb10
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb case.0x475b7a.34
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47611a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x476bba
push ecx
push edx
call fcn.0052d747
add esp, 8
jmp case.0x475b7a.34
push 0
push 0x74
push 0x100
push dword [ebp - 0xc0]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp case.0x475b7a.34
push 0
push dword [ebp - 0x74]
push dword [0x5e45a4]
push dword [ebp - 0xc0]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp case.0x475b7a.34
push dword [edi + 0x6c]
call fcn.0049a080
jmp case.0x475b7a.34
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
mov eax, 7
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], eax
mov word [ebp - 0x40], cx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x70]
cmp dword [ebp - 0x5c], 0x10
mov dword [ebp - 0xb8], ecx
jb 0x4761ac
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0xb8], ecx
test ecx, ecx
je 0x47622a
mov esi, ecx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4761b1
sub esi, ecx
mov edx, 2
xor ecx, ecx
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0052d7ad
add esp, 4
mov dword [ebp - 0xbc], eax
lea eax, [esi*2 + 2]
mov esi, dword [ebp - 0xbc]
push eax
push esi
push 0xffffffffffffffff
push dword [ebp - 0xb8]
push 1
push 0x3a4
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x476205
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.004039f0
push esi
call fcn.0052d7a8
mov eax, dword [ebp - 0x2c]
add esp, 4
mov ecx, dword [edi + 0x6c]
lea edx, [ebp - 0x40]
cmp eax, 8
cmovae edx, dword [ebp - 0x40]
call fcn.0043ffc0
cmp dword [ebp - 0x2c], 8
lea edx, [ebp - 0x40]
mov ecx, dword [0x5e4668]
mov esi, eax
cmovae edx, dword [ebp - 0x40]
push esi
push edx
call fcn.004ed240
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push esi
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0049a310
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb case.0x475b7a.34
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4762a0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x476bba
push ecx
push edx
call fcn.0052d747
add esp, 8
jmp case.0x475b7a.34
push dword [edi + 0x6c]
lea ecx, [edi + 0x1a20]
call fcn.0040dbb0
jmp case.0x475b7a.34
push 6
push dword [ebp - 0xc0]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x475b7a.34
mov esi, dword [0x5e4668]
xorps xmm0, xmm0
xor eax, eax
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 7
lea edx, [ebp - 0x28]
mov ecx, dword [edi + 0x6c]
call fcn.00440c10
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x476315
mov eax, dword [ebp - 0x28]
mov ecx, eax
jmp 0x476318
lea ecx, [ebp - 0x28]
push eax
push ecx
mov ecx, esi
call fcn.004ed5e0
test eax, eax
je 0x4763ae
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], 7
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 8
lea edx, [ebp - 0x40]
mov ecx, dword [edi + 0x6c]
call fcn.004414b0
cmp dword [ebp - 0x2c], 8
lea edx, [ebp - 0x40]
mov ecx, dword [edi + 0x6c]
cmovae edx, dword [ebp - 0x40]
call fcn.0043ffc0
mov ecx, dword [edi + 0x6c]
mov dword [ebp - 0xbc], eax
call fcn.004413c0
mov ecx, eax
test ecx, ecx
je 0x47638b
movd xmm3, ecx
cvtdq2ps xmm3, xmm3
divss xmm3, dword [0x5c724c]
jmp 0x47638e
xorps xmm3, xmm3
xor eax, eax
cmp ecx, 0x64
push 1
setne al
mov ecx, esi
push eax
push dword [ebp - 0xbc]
call fcn.004eb900
lea ecx, [ebp - 0x40]
call fcn.00403990
lea ecx, [ebp - 0x28]
call fcn.00403990
jmp case.0x475b7a.34
mov eax, dword [0x5e4628]
mov dword [eax + 0x4b0], 1
jmp case.0x475b7a.34
lea eax, [ebp - 0xe0]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov esi, dword [ebp - 0xc0]
lea eax, [ebp - 0xe0]
push eax
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx ecx, word [ebp - 0xdc]
movzx eax, word [ebp - 0xe0]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x200
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
jmp case.0x475b7a.34
cmp dword [ebp - 0x44], 0x10
lea edx, [ebp - 0x58]
mov ecx, dword [0x5e4658]
lea eax, [ebp - 0x70]
cmovae edx, dword [ebp - 0x58]
cmp dword [ebp - 0x5c], 0x10
push edx
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.004b3260
test eax, eax
je case.0x475b7a.34
push eax
push dword [ebp - 0xb4]
mov ecx, edi
push dword [ebp - 0xb0]
call fcn.00483d80
jmp case.0x475b7a.34
push dword [edi + 0xec]
mov ecx, edi
push dword [ebp - 0xb4]
push dword [ebp - 0xb0]
call fcn.00483d80
jmp case.0x475b7a.34
mov esi, dword [0x5e4658]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
push 0
call fcn.0047b040
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 0x10
push ecx
cmovae eax, dword [ebp - 0x28]
mov ecx, esi
push eax
call fcn.004b1240
test eax, eax
je 0x476507
cmp dword [ebp - 0x2c], 0x10
lea edx, [ebp - 0x40]
lea eax, [ebp - 0x28]
mov ecx, esi
cmovae edx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 0x10
push edx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004b1470
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x47653f
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x476535
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x476bba
push ecx
push edx
call fcn.0052d747
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp ecx, 0x10
jb case.0x475b7a.34
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x476583
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x476bba
push ecx
push edx
call fcn.0052d747
add esp, 8
jmp case.0x475b7a.34
xorps xmm0, xmm0
mov dword [ebp - 0x80], 0
movups xmmword [ebp - 0x90], xmm0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0xb
push eax
push dword [ebp - 0x74]
call fcn.004c7fe0
test eax, eax
je 0x47674e
push 0
push dword [ebp - 0x74]
mov ecx, edi
call fcn.00480df0
sub esp, 8
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x1a0]
push eax
call fcn.004454d0
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x1a0]
mov dword [ebp - 0xb8], 0
push eax
push dword [ebp - 0xb4]
mov ecx, edi
push dword [ebp - 0xb0]
call fcn.00482300
test eax, eax
je 0x476704
push 0
lea eax, [ebp - 0x90]
push eax
push 1
call fcn.004c6d50
cmp dword [0x5e47c4], 0
jne 0x476661
lea ecx, [edi + 0x1a78]
lea eax, [ebp - 0x90]
cmp ecx, eax
je 0x476661
cmp dword [ebp - 0x7c], 0x10
push dword [ebp - 0x80]
cmovae eax, dword [ebp - 0x90]
push eax
call fcn.00412890
cmp dword [ebp - 0xb8], 0
je 0x47668f
mov esi, dword [edi + 0x1aa8]
mov ecx, edi
call fcn.0047e540
sub esp, 0x28
mov ecx, esp
push esi
mov dword [ecx], 0x5bfd84
mov dword [ecx + 4], edi
push eax
mov dword [ecx + 0x24], ecx
call fcn.004c8e30
mov ecx, edi
mov dword [0x5e47d0], 1
call fcn.00473f30
mov ecx, edi
call fcn.00480750
test eax, eax
jne 0x4766bc
cmp dword [edi + 0x194], eax
je 0x4766bc
push 1
mov ecx, edi
call fcn.004804c0
mov eax, dword [0x5dfc28]
xor ecx, ecx
cmp eax, dword [0x5dfc2c]
mov dword [0x5e4644], 1
setne cl
mov dword [0x5e4640], 1
mov dword [0x5e47dc], ecx
mov dword [0x5e463c], 1
mov dword [0x5e4638], 1
mov dword [0x5e4634], 1
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x1a4], eax
lea ecx, [ebp - 0x188]
call fcn.00430fb0
lea ecx, [ebp - 0x180]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x138]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x7c]
cmp ecx, 0x10
jb case.0x475b7a.34
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x476783
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x476bba
push ecx
push edx
call fcn.0052d747
add esp, 8
jmp case.0x475b7a.34
push 1
push 0x5dfb00
sub esp, 8
mov ecx, edi
call fcn.00481aa0
jmp case.0x475b7a.34
mov eax, dword [0x5dfc28]
mov esi, dword [0x5dfc2c]
cmp eax, esi
je case.0x475b7a.34
mov ecx, esi
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4767e0
lea eax, [esi - 0x18]
push eax
lea ecx, [ebp - 0x28]
call fcn.004314d0
jmp 0x476814
xor ecx, ecx
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x476800
sub ecx, edx
push ecx
push 0
lea ecx, [ebp - 0x28]
call fcn.004327f0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xd
push eax
push ecx
push dword [ebp - 0xb4]
mov ecx, edi
push dword [ebp - 0xb0]
call fcn.004832a0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb case.0x475b7a.34
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x476862
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x476bba
push ecx
push edx
call fcn.0052d747
add esp, 8
jmp case.0x475b7a.34
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x70]
cmp dword [ebp - 0x5c], 0x10
lea edx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x70]
call fcn.004cbd00
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 1
cmovae eax, dword [ebp - 0x28]
push 0
push 0
push eax
push 0
push dword [ebp - 0xc0]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb case.0x475b7a.34
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4768fb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x476bba
push ecx
push edx
call fcn.0052d747
add esp, 8
jmp case.0x475b7a.34
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xf
push eax
push dword [ebp - 0x74]
call fcn.004c7fe0
test eax, eax
je 0x476980
cmp dword [ebp - 0x44], 0x10
lea edx, [ebp - 0x58]
mov ecx, dword [0x5e4658]
lea eax, [ebp - 0x70]
cmovae edx, dword [ebp - 0x58]
cmp dword [ebp - 0x5c], 0x10
push edx
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.004b3260
mov ecx, eax
test ecx, ecx
je 0x476980
mov eax, dword [0x5e4628]
push dword [eax + 0x510]
lea eax, [ebp - 0x28]
push dword [edi + 0x1a74]
push eax
push dword [ebp - 0xb0]
call fcn.004daa80
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb case.0x475b7a.34
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4769b2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x476bba
push ecx
push edx
call fcn.0052d747
add esp, 8
jmp case.0x475b7a.34
xorps xmm0, xmm0
mov dword [ebp - 0x98], 0
xor eax, eax
mov dword [ebp - 0x94], 7
movups xmmword [ebp - 0xa8], xmm0
mov word [ebp - 0xa8], ax
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 0x10
mov dword [ebp - 0xb8], eax
jb 0x476a0c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xb8], eax
test eax, eax
je 0x476a8a
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x476a11
sub esi, ecx
mov edx, 2
xor ecx, ecx
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0052d7ad
add esp, 4
mov dword [ebp - 0xbc], eax
lea eax, [esi*2 + 2]
mov esi, dword [ebp - 0xbc]
push eax
push esi
push 0xffffffffffffffff
push dword [ebp - 0xb8]
push 1
push 0x3a4
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x476a65
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0xa8]
call fcn.004039f0
push esi
call fcn.0052d7a8
add esp, 4
push 0
push 0xffffffffffffffff
mov ecx, edi
call fcn.00480df0
cmp dword [ebp - 0x94], 8
lea eax, [ebp - 0xa8]
push 0
cmovae eax, dword [ebp - 0xa8]
mov ecx, edi
push 0
push eax
call fcn.0046fe20
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x94]
cmp ecx, 8
jb 0x476af9
mov edx, dword [ebp - 0xa8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x476aef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x476bba
push ecx
push edx
call fcn.0052d747
add esp, 8
xor eax, eax
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
jmp case.0x475b7a.34
mov ecx, edi
call fcn.0047e540
push eax
mov ecx, edi
call fcn.00474b60
mov esi, dword [ebp - 0xac]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x476b64
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x476b5a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x476bba
push ecx
push edx
call fcn.0052d747
add esp, 8
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp ecx, 0x10
jb 0x476ba6
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x476b9c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x476bba
push ecx
push edx
call fcn.0052d747
add esp, 8
cmp dword [0x5e4800], 0
je 0x476bc0
mov edi, dword [ebp - 0xc8]
jmp 0x475af2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
test esi, esi
je 0x476bcf
or edx, 0xffffffff
lea ecx, [edx + 0xc]
call fcn.0047e9d0
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052d3c5
mov esp, ebp
pop ebp
ret 0xc