Function at 0x10003640
Capabilities:
Create process on windows
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x258
mov eax, dword [0x1000f040]
xor eax, esp
mov dword [esp + 0x254], eax
cmp dword [0x1000f0a8], 0
mov eax, ecx
push esi
push edi
mov dword [esp + 0x3c], eax
je 0x10003da5
lea esi, [eax + 0xc]
mov dword [0xe8cb3c], 1
push 1
mov eax, 0x791050
call eax
add esp, 4
test al, al
je 0x1000369c
mov dword [esi], 1
mov dword [0xe8cb3c], 1
mov eax, dword [0x879340c]
movss xmm0, dword [0x1000c808]
sub eax, 0x78
movss dword [esp + 0xc], xmm0
cmp eax, 0x6c
ja 0x10003831
mov eax, dword [0x8793410]
sub eax, 0x5a
cmp eax, 0x1e
ja 0x10003831
sub esp, 0x18
mov edi, 0x790e40
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41f40000
mov dword [esp + 8], 0x42d80000
mov dword [esp + 4], 0x42b40000
mov dword [esp], 0x42f00001
push 0x1b20d
call edi
add esp, 0x1c
cmp dword [esi], 0
je 0x10003872
push 0x10
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
push str.StartWithAccount
lea ecx, [esp + 0x18]
movaps xmmword [esp + 0x18], xmm0
mov dword [esp + 0x2c], 0
call fcn.10005f90
lea eax, [esp + 0x44]
mov dword [esp + 0x40], 0
push eax
lea eax, [esp + 0x40]
mov dword [esp + 0x40], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREWebzenMuConfig
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x100037a7
cmp dword [esp + 0x24], 0xf
lea ecx, [esp + 0x40]
push 4
push ecx
push 4
lea eax, [esp + 0x1c]
cmova eax, dword [esp + 0x1c]
push 0
push eax
push dword [esp + 0x50]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [esp + 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x24]
cmp ecx, 0xf
jbe 0x100037df
mov edx, dword [esp + 0x10]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100037d5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100037d5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10009a68
add esp, 8
push 0x104
lea eax, [esp + 0x54]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 1
push 0
push 0
lea eax, [esp + 0x5c]
push eax
push str.Open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [0x1000f0a8], 0
mov dword [0xe8cb3c], 0
pop edi
pop esi
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.10009710
mov esp, ebp
pop ebp
ret
sub esp, 0x18
mov edi, 0x790e40
mov dword [esp + 0x14], 0x42740000
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41f40000
mov dword [esp + 8], 0x42d80000
mov dword [esp + 4], 0x42b40000
mov dword [esp], 0x42f00001
push 0x1b20d
call edi
add esp, 0x1c
mov eax, dword [0x879340c]
cmp eax, 0x165
jl 0x100038b5
cmp eax, 0x189
jg 0x100038b5
mov eax, dword [0x8793410]
sub eax, 0x5a
cmp eax, 0x1c
ja 0x100038b5
mov eax, dword [esp + 0x3c]
cmp dword [eax + 0xc], 0
je 0x100038b5
mov dword [0x1000f0a8], 0
mov dword [0xe8cb3c], 0
jmp 0x10003d9e
sub esp, 0x18
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41e00000
mov dword [esp + 8], 0x42100000
mov dword [esp + 4], 0x42b40000
mov dword [esp], 0x43b28000
push 0x1b20c
call edi
add esp, 0x14
push str.New_Account
push 0x6a
push 0xb8
call fcn.10007aa0
movd xmm0, dword [0x1000f844]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x1000c7f8]
cvttss2si esi, xmm0
test esi, esi
je 0x10003a86
cmp dword [0x1000f994], 0
jle 0x10003966
sub esp, 0x18
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41f00000
mov dword [esp + 8], 0x41ec0000
mov dword [esp + 4], 0x43460000
mov dword [esp], 0x42000000
push 0x1b20f
call edi
add esp, 0x1c
cmp dword [0x1000f994], esi
jge 0x100039aa
sub esp, 0x18
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x41f00000
mov dword [esp + 0xc], 0x42000000
mov dword [esp + 8], 0x41f00000
mov dword [esp + 4], 0x43460000
mov dword [esp], 0x44148000
push 0x1b20f
call edi
add esp, 0x1c
cmp dword [0x1000f994], 0
jle 0x100039d5
mov eax, dword [0x879340c]
cmp eax, 0x20
jl 0x100039d5
cmp eax, 0x3d
jg 0x100039d5
mov eax, dword [0x8793410]
cmp eax, 0xc6
jl 0x100039d5
cmp eax, 0xe4
jle 0x100039e5
push 0x25
mov eax, 0x791050
call eax
add esp, 4
test al, al
je 0x10003a05
mov eax, dword [esp + 0x3c]
cmp dword [eax + 0xc], 0
jne 0x100039ff
push 0x25
mov eax, 0x791050
call eax
add esp, 4
test al, al
je 0x10003a05
dec dword [0x1000f994]
cmp dword [0x1000f994], esi
jge 0x10003a33
mov eax, dword [0x879340c]
cmp eax, 0x252
jl 0x10003a33
cmp eax, 0x270
jg 0x10003a33
mov eax, dword [0x8793410]
cmp eax, 0xc6
jl 0x10003a33
cmp eax, 0xe6
jle 0x10003a43
push 0x27
mov eax, 0x791050
call eax
add esp, 4
test al, al
je 0x10003a63
mov eax, dword [esp + 0x3c]
cmp dword [eax + 0xc], 0
jne 0x10003a5d
push 0x27
mov eax, 0x791050
call eax
add esp, 4
test al, al
je 0x10003a63
inc dword [0x1000f994]
cmp dword [0x1000f994], esi
jle 0x10003a73
mov dword [0x1000f994], esi
jmp 0x10003a86
cmp dword [0x1000f994], 0
jge 0x10003a86
mov dword [0x1000f994], 0
mov eax, dword [0x1000f994]
xor ecx, ecx
lea esi, [eax + eax*4]
cmp esi, dword [0x1000f844]
jge 0x10003d94
inc ecx
mov edx, 0x41fe10
mov dword [esp + 0x44], ecx
cmp ecx, 6
jge 0x10003d94
push 0xff
push 0xff
push 0xff
push 0xff
call edx
mov ecx, eax
mov eax, 0x420040
call eax
movaps xmm0, xmmword [0x1000c830]
mov ecx, 0x1000f0b4
imul eax, esi, 0xb
movups xmmword [0x1000f0f8], xmm0
add eax, 0x1000f6f8
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10003b10
test dl, dl
je 0x10003b0c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10003b10
add eax, 2
add ecx, 2
test dl, dl
jne 0x10003af0
xor eax, eax
jmp 0x10003b15
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10003c0a
push 0xff
push eax
push eax
push 0xff
mov eax, 0x41fe10
call eax
mov ecx, eax
mov eax, 0x420040
call eax
movaps xmm0, xmmword [0x1000c820]
movups xmmword [0x1000f0f8], xmm0
movss xmm0, dword [esp + 0xc]
sub esp, 0x18
mov dword [esp + 0x14], 0x41e00000
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41e00000
mov dword [esp + 8], 0x426c0000
mov dword [esp + 4], 0x43160000
movss dword [esp], xmm0
push 0x1b20e
call edi
add esp, 0x1c
imul ecx, esi, 0xb
add ecx, 0x1000f6f8
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10003b93
movss xmm1, dword [esp + 0xc]
sub ecx, edx
cvtps2pd xmm1, xmm1
sub esp, 8
imul eax, esi, 0xb
addsd xmm1, qword [0x1000c7d0]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
add eax, 0x1000f6f8
push eax
push 0xa6
addsd xmm0, qword [ecx*8 + 0x1000c840]
addsd xmm1, xmm0
cvttsd2si eax, xmm1
push eax
call fcn.10007aa0
movss xmm0, dword [esp + 0xc]
inc esi
addss xmm0, dword [0x1000c804]
movss dword [esp + 0xc], xmm0
cmp esi, dword [0x1000f844]
jge 0x10003d94
mov ecx, dword [esp + 0x44]
jmp 0x10003a9c
movss xmm0, dword [esp + 0xc]
mov eax, 0x879340c
mov ecx, dword [eax]
cvttss2si eax, xmm0
cwde
cmp ecx, eax
jl 0x10003b4d
add eax, 0x3b
cmp ecx, eax
jg 0x10003b4d
mov eax, dword [0x8793410]
sub eax, 0x96
cmp eax, 0x1c
ja 0x10003b4d
sub esp, 0x18
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41e00000
mov dword [esp + 8], 0x426c0000
mov dword [esp + 4], 0x43160000
movss dword [esp], xmm0
push 0x1b20e
call edi
mov eax, dword [esp + 0x58]
add esp, 0x1c
cmp dword [eax + 0xc], 0
je 0x10003b87
mov eax, 0xe8cb3c
mov dword [0x1000f0a8], 0
push 0x10
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
push str.StartWithAccount
lea ecx, [esp + 0x18]
mov dword [eax], 0
movaps xmmword [esp + 0x18], xmm0
mov dword [esp + 0x2c], 0
call fcn.10005f90
lea eax, [esi + 1]
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x44]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREWebzenMuConfig
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x10003d2f
cmp dword [esp + 0x24], 0xf
lea ecx, [esp + 0x48]
push 4
push ecx
push 4
lea eax, [esp + 0x1c]
cmova eax, dword [esp + 0x1c]
push 0
push eax
push dword [esp + 0x54]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [esp + 0x40]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x24]
cmp ecx, 0xf
jbe 0x10003d65
mov edx, dword [esp + 0x10]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003d5b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100037cf
push ecx
push edx
call fcn.10009a68
add esp, 8
push 0x104
lea eax, [esp + 0x54]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 1
push 0
push 0
lea eax, [esp + 0x5c]
push eax
push str.Open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x10003b87
mov eax, dword [esp + 0x3c]
cmp dword [eax + 0xc], 0
je 0x10003da5
mov dword [eax + 0xc], 0
mov ecx, dword [esp + 0x25c]
pop edi
pop esi
xor ecx, esp
call fcn.10009710
mov esp, ebp
pop ebp
ret