Function at 0x402560
Capabilities:
Create process on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x404e12
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
push str.Baduk
mov eax, dword [esi + 0xd8]
push eax
call edi
add esp, 8
neg eax
sbb eax, eax
inc eax
test al, al
je 0x4026d5
push 0x3d8
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
mov dword [esp + 0xc], edi
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x2c], ebx
je 0x4025d0
mov ecx, edi
call dword [sym.imp.BADUK.dll_public:_void___thiscall_CBadukMain::constructor_void_]
mov dword [edi], 0x405a40
mov eax, edi
jmp 0x4025d2
xor eax, eax
push ecx
lea edx, [esi + 0xf0]
or edi, 0xffffffff
mov ecx, esp
mov dword [esp + 0x10], esp
push edx
mov dword [esp + 0x34], edi
mov dword [esi + 0xc4], eax
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esi + 0xec]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
mov dword [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esi + 0xc4]
mov dword [esp + 0x34], edi
call dword [sym.imp.BADUK.dll_public:_void___thiscall_CBadukMain::SetUserInfo_class_CString__class_CString_]
mov ecx, dword [esi + 0xf8]
lea edx, [esi + 0xf4]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esi + 0xc4]
call dword [sym.imp.BADUK.dll_public:_void___thiscall_CBadukMain::SetServerInfo_class_CString__unsigned_int_]
push ecx
lea eax, [esi + 0xe0]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esi + 0xc4]
call dword [sym.imp.BADUK.dll_public:_void___thiscall_CBadukMain::SetCurrentDir_class_CString_]
mov ecx, dword [esi + 0xc4]
push ebx
push 0x7a
lea eax, [esp + 0x1c]
push esi
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 0x280
mov dword [esp + 0x30], 0x1e0
mov edx, dword [ecx]
push 0x50000000
push ebx
push ebx
call dword [edx + 0x5c]
test eax, eax
jne 0x402cd5
mov ecx, dword [esi + 0xc4]
cmp ecx, ebx
je 0x4026ae
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [esi + 0x20]
push ebx
push 0x64
push 0xa
push eax
mov dword [esi + 0xc4], ebx
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret
mov ecx, dword [esi + 0xd8]
push str.Godori
push ecx
call edi
add esp, 8
neg eax
sbb eax, eax
inc eax
test al, al
je 0x40282b
push 0x3d8
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
xor ebx, ebx
mov dword [esp + 0x2c], 2
cmp edi, ebx
je 0x402726
mov ecx, edi
call dword [sym.imp.Godori.dll_public:_void___thiscall_CGodoriMain::constructor_void_]
mov dword [edi], 0x405980
mov eax, edi
jmp 0x402728
xor eax, eax
push ecx
lea edx, [esi + 0xf0]
or edi, 0xffffffff
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
mov dword [esp + 0x34], edi
mov dword [esi + 0xc8], eax
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esi + 0xec]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
mov dword [esp + 0x38], 3
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esi + 0xc8]
mov dword [esp + 0x34], edi
call dword [sym.imp.Godori.dll_public:_void___thiscall_CGodoriMain::SetUserInfo_class_CString__class_CString_]
mov ecx, dword [esi + 0xf8]
lea edx, [esi + 0xf4]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esi + 0xc8]
call dword [sym.imp.Godori.dll_public:_void___thiscall_CGodoriMain::SetServerInfo_class_CString__unsigned_int_]
push ecx
lea eax, [esi + 0xe0]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esi + 0xc8]
call dword [sym.imp.Godori.dll_public:_void___thiscall_CGodoriMain::SetCurrentDir_class_CString_]
mov ecx, dword [esi + 0xc8]
push ebx
push 0x7b
lea eax, [esp + 0x1c]
push esi
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 0x280
mov dword [esp + 0x30], 0x1e0
mov edx, dword [ecx]
push 0x50000000
push ebx
push ebx
call dword [edx + 0x5c]
test eax, eax
jne 0x402cd5
mov ecx, dword [esi + 0xc8]
cmp ecx, ebx
je 0x402804
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [esi + 0x20]
push ebx
push 0x64
push 0xa
push eax
mov dword [esi + 0xc8], ebx
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret
mov ecx, dword [esi + 0xd8]
push str.Onecard
push ecx
call edi
add esp, 8
neg eax
sbb eax, eax
inc eax
test al, al
je 0x402981
push 0x3d8
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
xor ebx, ebx
mov dword [esp + 0x2c], 4
cmp edi, ebx
je 0x40287c
mov ecx, edi
call dword [sym.imp.onecard.dll_public:_void___thiscall_COnecardMain::constructor_void_]
mov dword [edi], 0x4058c0
mov eax, edi
jmp 0x40287e
xor eax, eax
push ecx
lea edx, [esi + 0xf0]
or edi, 0xffffffff
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
mov dword [esp + 0x34], edi
mov dword [esi + 0xcc], eax
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esi + 0xec]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
mov dword [esp + 0x38], 5
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esi + 0xcc]
mov dword [esp + 0x34], edi
call dword [sym.imp.onecard.dll_public:_void___thiscall_COnecardMain::SetUserInfo_class_CString__class_CString_]
mov ecx, dword [esi + 0xf8]
lea edx, [esi + 0xf4]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esi + 0xcc]
call dword [sym.imp.onecard.dll_public:_void___thiscall_COnecardMain::SetServerInfo_class_CString__unsigned_int_]
push ecx
lea eax, [esi + 0xe0]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esi + 0xcc]
call dword [sym.imp.onecard.dll_public:_void___thiscall_COnecardMain::SetCurrentDir_class_CString_]
mov ecx, dword [esi + 0xcc]
push ebx
push 0x7c
lea eax, [esp + 0x1c]
push esi
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 0x280
mov dword [esp + 0x30], 0x1e0
mov edx, dword [ecx]
push 0x50000000
push ebx
push ebx
call dword [edx + 0x5c]
test eax, eax
jne 0x402cd5
mov ecx, dword [esi + 0xcc]
cmp ecx, ebx
je 0x40295a
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [esi + 0x20]
push ebx
push 0x64
push 0xa
push eax
mov dword [esi + 0xcc], ebx
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret
mov ecx, dword [esi + 0xd8]
push str.Heart
push ecx
call edi
add esp, 8
neg eax
sbb eax, eax
inc eax
test al, al
je 0x402ad7
push 0x3dc
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
xor ebx, ebx
mov dword [esp + 0x2c], 6
cmp edi, ebx
je 0x4029d2
mov ecx, edi
call dword [sym.imp.heart.dll_public:_void___thiscall_CHeartMain::constructor_void_]
mov dword [edi], 0x405800
mov eax, edi
jmp 0x4029d4
xor eax, eax
push ecx
lea edx, [esi + 0xf0]
or edi, 0xffffffff
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
mov dword [esp + 0x34], edi
mov dword [esi + 0xd0], eax
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esi + 0xec]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
mov dword [esp + 0x38], 7
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esi + 0xd0]
mov dword [esp + 0x34], edi
call dword [sym.imp.heart.dll_public:_void___thiscall_CHeartMain::SetUserInfo_class_CString__class_CString_]
mov ecx, dword [esi + 0xf8]
lea edx, [esi + 0xf4]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esi + 0xd0]
call dword [sym.imp.heart.dll_public:_void___thiscall_CHeartMain::SetServerInfo_class_CString__unsigned_int_]
push ecx
lea eax, [esi + 0xe0]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esi + 0xd0]
call dword [sym.imp.heart.dll_public:_void___thiscall_CHeartMain::SetCurrentDir_class_CString_]
mov ecx, dword [esi + 0xd0]
push ebx
push 0x7d
lea eax, [esp + 0x1c]
push esi
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 0x280
mov dword [esp + 0x30], 0x1e0
mov edx, dword [ecx]
push 0x50000000
push ebx
push ebx
call dword [edx + 0x5c]
test eax, eax
jne 0x402cd5
mov ecx, dword [esi + 0xd0]
cmp ecx, ebx
je 0x402ab0
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [esi + 0x20]
push ebx
push 0x64
push 0xa
push eax
mov dword [esi + 0xd0], ebx
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret
mov ecx, dword [esi + 0xd8]
push str.TwinHexa
push ecx
call edi
add esp, 8
neg eax
sbb eax, eax
inc eax
test al, al
je 0x402c2d
push 0x3d8
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
xor ebx, ebx
mov dword [esp + 0x2c], 8
cmp edi, ebx
je 0x402b28
mov ecx, edi
call dword [sym.imp.twinhexa.dll_public:_void___thiscall_CHexaMain::constructor_void_]
mov dword [edi], 0x405740
mov eax, edi
jmp 0x402b2a
xor eax, eax
push ecx
lea edx, [esi + 0xf0]
or edi, 0xffffffff
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
mov dword [esp + 0x34], edi
mov dword [esi + 0xd4], eax
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esi + 0xec]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
mov dword [esp + 0x38], 9
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esi + 0xd4]
mov dword [esp + 0x34], edi
call dword [sym.imp.twinhexa.dll_public:_void___thiscall_CHexaMain::SetUserInfo_class_CString__class_CString_]
mov ecx, dword [esi + 0xf8]
lea edx, [esi + 0xf4]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esi + 0xd4]
call dword [sym.imp.twinhexa.dll_public:_void___thiscall_CHexaMain::SetServerInfo_class_CString__unsigned_int_]
push ecx
lea eax, [esi + 0xe0]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esi + 0xd4]
call dword [sym.imp.twinhexa.dll_public:_void___thiscall_CHexaMain::SetCurrentDir_class_CString_]
mov ecx, dword [esi + 0xd4]
push ebx
push 0x7e
lea eax, [esp + 0x1c]
push esi
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 0x280
mov dword [esp + 0x30], 0x1e0
mov edx, dword [ecx]
push 0x50000000
push ebx
push ebx
call dword [edx + 0x5c]
test eax, eax
jne 0x402cd5
mov ecx, dword [esi + 0xd4]
cmp ecx, ebx
je 0x402c06
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [esi + 0x20]
push ebx
push 0x64
push 0xa
push eax
mov dword [esi + 0xd4], ebx
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret
mov ecx, dword [esi + 0xd8]
push str.Cannon
push ecx
call edi
add esp, 8
neg eax
sbb eax, eax
inc eax
test al, al
je 0x402cd5
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [esi + 0xd8]
mov eax, dword [esi + 0xe0]
push edx
push eax
lea ecx, [esp + 0x14]
push str._s_s_
push ecx
mov dword [esp + 0x3c], 0xa
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esi + 0xd8]
xor ebx, ebx
add esp, 0x10
cmp esi, ebx
jne 0x402c8c
xor eax, eax
jmp 0x402c8f
mov eax, dword [esi + 0x20]
mov edx, dword [esp + 0xc]
push 1
push edx
push ebx
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 2
jne 0x402cb5
push ebx
push ebx
push 0x40725c
call sub.MFC42.DLL_AfxMessageBox
mov eax, dword [esi + 0x20]
push ebx
push 0x64
push 0xa
push eax
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret