Function at 0x4404e1
Capabilities:
Check for time delay via gettickcount
Create process on windows
Create thread

Disassembly:
mov eax, 0x467780
call fcn.0045bc2c
sub esp, 0x314
push ebx
push esi
xor ebx, ebx
push edi
cmp byte [0x47e076], bl
mov dword [ebp - 0x10], esp
je 0x440507
call dword [sym.imp.kernel32.dll_AllocConsole]
push dword [0x474fc4]
push dword [0x474fc0]
call dword [sym.imp.user32.dll_FindWindowA]
test eax, eax
jmp 0x440535
push str.winmode
push dword [ebp + 0x10]
call fcn.0045b5e0
pop ecx
test eax, eax
pop ecx
jne 0x440555
mov byte [0x47e075], 1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
call dword [sym.imp.kernel32.dll_GetTickCount]
push eax
call fcn.0045b825
pop ecx
call fcn.0045b832
mov esi, 0x186a0
cdq
mov ecx, esi
idiv ecx
push edx
call fcn.0045b832
cdq
mov ecx, esi
idiv ecx
push edx
call fcn.0045b832
cdq
mov ecx, esi
idiv ecx
push edx
call fcn.0045b832
cdq
mov ecx, esi
idiv ecx
push edx
call fcn.0045b832
cdq
mov ecx, esi
idiv ecx
push edx
call fcn.0045b832
cdq
idiv esi
push edx
push str._05d_05d_05d_05d_05d_05d
push 0x4a61e8
call fcn.0045be9e
mov edi, 0x46f3d8
push edi
push str.classic_resourceclassic_stage00016f.i16
call fcn.0045c65f
add esp, 0x28
cmp eax, ebx
nop
nop
push eax
mov byte [0x4a61e4], 1
call fcn.0045c478
pop ecx
jmp 0x44064c
call dword [sym.imp.adv.dll_Adv_InitDic]
lea eax, [ebp - 0x4c]
push ebx
push eax
push 1
pop esi
push esi
push 0x61
call dword [sym.imp.user32.dll_SystemParametersInfoA]
push edi
push str.f2n.dat
mov byte [0x474f14], bl
call fcn.0045c65f
pop ecx
cmp eax, ebx
pop ecx
je 0x440688
push eax
call fcn.0045c478
pop ecx
mov byte [0x474f14], 1
lea eax, [ebp - 0x320]
push 0x200
push eax
push str.PATH
push str.SOFTWAREX2ONLINEX2Upgrader
push 0x80000002
call fcn.0044137d
add esp, 0x14
test eax, eax
jne 0x44073e
mov esi, str.x2l.dat
push edi
push esi
call fcn.0045c65f
pop ecx
cmp eax, ebx
pop ecx
jne 0x4406d5
push ebx
push str.Error___
push str.Broken_File_Error._Please_install_again.
jmp 0x440e1b
push eax
call fcn.0045c478
lea eax, [ebp - 0x320]
push esi
push eax
call fcn.0045bf50
add esp, 0xc
mov dword [ebp - 0xac], 0x44
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], ebx
push 1
mov dword [ebp - 0xa0], ebx
pop eax
mov word [ebp - 0x7a], bx
mov dword [ebp - 0x80], eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0xbc]
mov dword [ebp - 0x78], ebx
push eax
lea eax, [ebp - 0xac]
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
lea eax, [ebp - 0x320]
push ebx
push eax
push ebx
call dword [sym.imp.kernel32.dll_CreateProcessA]
push 1
pop esi
cmp dword [ebp + 0xc], ebx
jne 0x440790
mov eax, dword [ebp + 8]
push 0x66
push eax
mov dword [ebp - 0x48], 0xb
mov dword [ebp - 0x44], 0x440f98
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], eax
call dword [sym.imp.user32.dll_LoadIconA]
push 0x7f00
push ebx
mov dword [ebp - 0x34], eax
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [ebp - 0x30], eax
mov eax, dword [str.F2600]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
call dword [sym.imp.user32.dll_RegisterClassA]
cmp byte [0x47e075], bl
push ebx
push dword [ebp + 8]
push ebx
push ebx
je 0x4407dd
push 0x1f9
push 0x286
push 0x64
push 0x64
push 0x400000
push dword [0x474fc4]
push dword [0x474fc0]
push ebx
call dword [sym.imp.user32.dll_CreateWindowExA]
cmp eax, ebx
mov dword [ebp + 0x10], eax
mov dword [0x47e2b0], eax
jne 0x440812
call dword [sym.imp.kernel32.dll_GetLastError]
mov eax, esi
jmp 0x440f56
mov esi, dword [sym.imp.user32.dll_GetSystemMetrics]
push 1
call esi
push eax
push ebx
call esi
push eax
push ebx
push ebx
push 0x80000000
push dword [0x474fc4]
push dword [0x474fc0]
push 8
call dword [sym.imp.user32.dll_CreateWindowExA]
push 1
mov dword [ebp + 0x10], eax
mov dword [0x47e2b0], eax
pop esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [ebp + 0x10]
call dword [sym.imp.user32.dll_UpdateWindow]
call dword [sym.imp.kernel32.dll_GetTickCount]
push eax
call fcn.0045b825
push edi
push str.zone.dat
call fcn.0045c65f
mov edi, eax
add esp, 0xc
cmp edi, ebx
je 0x44085e
push edi
push esi
push 4
push 0x4a6218
call fcn.0045d1b5
push edi
call fcn.0045c478
add esp, 0x14
mov eax, dword [0x4a6218]
push 3
cdq
pop ecx
idiv ecx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x120]
push eax
push edx
mov dword [0x4a6218], edx
call fcn.0044025f
add esp, 0xc
test eax, eax
jne 0x4408b6
mov esi, dword [0x4a620c]
cmp esi, ebx
je 0x44089f
mov ecx, esi
call fcn.0043939b
push esi
call fcn.0045b3e0
pop ecx
push 0x10
push str.IP_Found_Error
mov dword [0x4a620c], ebx
push str.Can_not_find_IP.
jmp 0x440e1b
push 0xcb4
call fcn.0045c040
pop ecx
mov dword [ebp + 0xc], eax
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x4408da
push dword [ebp + 8]
mov ecx, eax
push dword [ebp + 0x10]
call fcn.004387b2
jmp 0x4408dc
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [0x4a620c], eax
mov ecx, dword [eax + 0x268]
call fcn.00457172
mov eax, dword [0x4a620c]
cmp dword [eax + 0xc50], ebx
jne 0x440928
mov esi, eax
cmp esi, ebx
je 0x440911
mov ecx, esi
call fcn.0043939b
push esi
call fcn.0045b3e0
pop ecx
push 0x10
push str.Direct_X_Error
mov dword [0x4a620c], ebx
push str.Can_not_init_Direct_Draw.
jmp 0x440e1b
push dword [0x47e2b0]
mov ecx, 0x47e090
call fcn.004597cd
push 0x7d0cc
call fcn.0045c040
pop ecx
mov dword [ebp + 8], eax
cmp eax, ebx
mov dword [ebp - 4], esi
je 0x440956
mov ecx, eax
call fcn.0045418d
jmp 0x440958
xor eax, eax
or dword [ebp - 4], 0xffffffff
push str.test.txt
mov dword [0x4a6210], eax
call fcn.0045d5ae
mov dword [esp], 0x475168
push str.f2.dat
call fcn.0045c65f
pop ecx
cmp eax, ebx
pop ecx
je 0x440989
push eax
call fcn.0045c478
pop ecx
mov eax, dword [0x474f20]
cmp byte [0x474f16], bl
mov dword [ebp + 0xc], eax
je 0x4409e3
cmp eax, ebx
mov dword [ebp + 8], ebx
jle 0x4409e3
mov edi, 0x475004
mov esi, 0x474fc8
push dword [edi - 4]
mov eax, dword [0x4a620c]
push dword [esi]
mov ecx, dword [eax + 0x284]
call fcn.00459332
cmp eax, dword [edi]
jne 0x4409d6
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
add esi, 4
add edi, 8
cmp eax, dword [ebp + 0xc]
jl 0x4409aa
jmp 0x4409e0
mov dword [0x4a6214], 1
push 1
pop esi
mov eax, dword [0x4a620c]
mov dword [eax + 0xc80], ebx
mov eax, dword [0x4a620c]
mov eax, dword [eax + 0x284]
mov dword [eax + 0x1770], 0x258
mov eax, dword [0x4a620c]
mov eax, dword [eax + 0x284]
mov dword [eax + 0x1b60], ebx
mov eax, dword [0x4a620c]
mov ecx, dword [eax + 0x284]
mov ecx, dword [ecx + 0x1b60]
sub ecx, ebx
je 0x440ba1
dec ecx
je 0x440b2f
dec ecx
je 0x440aab
dec ecx
jne 0x440c3d
mov ecx, dword [eax + 0xc20]
push str.terror.i16
push 0x12c
call fcn.004498b6
mov eax, dword [0x4a620c]
push str.tlogin.i16
push 0x140
mov ecx, dword [eax + 0xc20]
call fcn.004498b6
mov eax, dword [0x4a620c]
push str.tlobby.i16
push 0x154
mov ecx, dword [eax + 0xc20]
call fcn.004498b6
mov eax, dword [0x4a620c]
push str.twait.i16
push 0x168
mov ecx, dword [eax + 0xc20]
call fcn.004498b6
push str.tshop.i16
jmp 0x440b97
mov ecx, dword [eax + 0xc20]
push str.jerror.i16
push 0x12c
call fcn.004498b6
mov eax, dword [0x4a620c]
push str.jlogin.i16
push 0x140
mov ecx, dword [eax + 0xc20]
call fcn.004498b6
mov eax, dword [0x4a620c]
push str.jlogin2.i16
push 0xc350
mov ecx, dword [eax + 0xc20]
call fcn.004498b6
mov eax, dword [0x4a620c]
push str.jlobby.i16
push 0x154
mov ecx, dword [eax + 0xc20]
call fcn.004498b6
mov eax, dword [0x4a620c]
push str.jwait.i16
push 0x168
mov ecx, dword [eax + 0xc20]
call fcn.004498b6
push str.jshop.i16
jmp 0x440b97
mov ecx, dword [eax + 0xc20]
push str.ierror.i16
push 0x12c
call fcn.004498b6
mov eax, dword [0x4a620c]
push str.ilogin.i16
push 0x140
mov ecx, dword [eax + 0xc20]
call fcn.004498b6
mov eax, dword [0x4a620c]
push str.ilobby.i16
push 0x154
mov ecx, dword [eax + 0xc20]
call fcn.004498b6
mov eax, dword [0x4a620c]
push str.iwait.i16
push 0x168
mov ecx, dword [eax + 0xc20]
call fcn.004498b6
push str.ishop.i16
push 0x17c
jmp 0x440c28
mov ecx, dword [eax + 0xc20]
push str.derror.i16
push 0x12c
call fcn.004498b6
mov eax, dword [0x4a620c]
push str.dlogin.i16
push 0x140
mov ecx, dword [eax + 0xc20]
call fcn.004498b6
mov eax, dword [0x4a620c]
push str.dlobby.i16
push 0x154
mov ecx, dword [eax + 0xc20]
call fcn.004498b6
mov eax, dword [0x4a620c]
push str.dwait.i16
push 0x168
mov ecx, dword [eax + 0xc20]
call fcn.004498b6
mov eax, dword [0x4a620c]
push str.dshop.i16
push 0x17c
mov ecx, dword [eax + 0xc20]
call fcn.004498b6
push str.dserver.i16
push 0x186
mov eax, dword [0x4a620c]
mov ecx, dword [eax + 0xc20]
call fcn.004498b6
mov eax, dword [0x4a620c]
mov ecx, dword [eax + 0x284]
mov eax, dword [eax + 0xc54]
mov ecx, dword [ecx + 0x1b74]
mov dword [eax + 0x24], ecx
mov eax, dword [0x4a620c]
mov ecx, dword [eax + 0x284]
mov eax, dword [eax + 0xc54]
mov ecx, dword [ecx + 0x1b78]
mov dword [eax + 0x20], ecx
mov eax, dword [0x4a620c]
mov dword [eax + 0x278], ebx
mov eax, dword [0x4a620c]
mov ecx, dword [eax + 0x104]
cmp dword [ecx + 0x6607c], ebx
je 0x440c98
mov ecx, dword [eax + 0x284]
cmp dword [ecx + 0x1b5c], ebx
jne 0x440ca2
mov dword [eax + 0x278], 8
call fcn.0045337f
test al, al
jne 0x440cbb
mov eax, dword [0x4a620c]
mov dword [eax + 0x278], esi
jmp 0x440d52
xor edi, edi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x120]
push eax
mov eax, dword [0x4a6218]
add eax, edi
push 3
cdq
pop ecx
idiv ecx
push edx
call fcn.0044025f
add esp, 0xc
lea eax, [ebp - 0x120]
push dword [ebp - 0x18]
push eax
mov eax, dword [0x4a620c]
mov ecx, dword [eax + 0x250]
call fcn.00453ad8
test eax, eax
jne 0x440d04
inc edi
cmp edi, 3
jl 0x440cbd
jmp 0x440d36
mov eax, dword [0x4a620c]
mov eax, dword [eax + 0x250]
mov dword [eax + 0x14], esi
mov eax, dword [0x4a620c]
push ebx
mov ecx, dword [eax + 0x250]
call fcn.00453643
test al, al
jne 0x440d36
mov eax, dword [0x4a620c]
mov dword [eax + 0x278], 2
cmp edi, 3
je 0x440cab
mov eax, dword [0x4a6218]
push 3
add eax, edi
pop ecx
cdq
idiv ecx
mov dword [0x4a6218], edx
mov eax, dword [0x4a620c]
mov eax, dword [eax + 0x250]
mov dword [eax + 0x1c], esi
push dword [ebp + 0x10]
call sub.imm32.dll_ImmGetContext
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0x400
push ecx
push eax
mov dword [ebp - 0x1c], 0x300
call sub.imm32.dll_ImmSetStatusWindowPos
mov ecx, dword [0x4a620c]
cmp dword [ecx + 0x278], ebx
jne 0x440d92
push 0xc
jmp 0x440d94
push 8
call fcn.0043ac7f
cmp dword [0x475070], ebx
je 0x440db6
mov eax, dword [0x4a620c]
push 0x4a6164
mov ecx, dword [eax + 0x104]
call fcn.00456948
mov eax, dword [0x4a620c]
push 0x4a6174
mov ecx, dword [eax + 0x104]
call fcn.00456979
mov esi, dword [sym.imp.user32.dll_SetTimer]
push ebx
push 0x3e8
push 1
push dword [ebp + 0x10]
call esi
push ebx
push 0xea60
push 0x64
push dword [ebp + 0x10]
call esi
mov ecx, 0x4a61e0
call fcn.0044145d
cmp eax, ebx
jge 0x440e29
push eax
lea eax, [ebp - 0x220]
push str.Init_Hash_Failed.__hr:_8x_
push eax
call fcn.0045be9e
add esp, 0xc
lea eax, [ebp - 0x220]
push ebx
push str.error
push eax
push ebx
call dword [sym.imp.user32.dll_MessageBoxA]
xor eax, eax
jmp 0x440f56
push ebx
push 0x4a61c0
call fcn.004401eb
pop ecx
pop ecx
push 0x4a6238
push ebx
push ebx
push 0x440f67
push ebx
push ebx
call dword [sym.imp.kernel32.dll_CreateThread]
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, 0x47e2b8
call fcn.00449cc4
mov dword [ebp - 4], 2
mov eax, dword [0x4a620c]
cmp byte [eax], 0x46
jne 0x440ebf
push ebx
push ebx
push ebx
lea eax, [ebp - 0x68]
push ebx
push eax
call dword [sym.imp.user32.dll_PeekMessageA]
test eax, eax
je 0x440ea5
push ebx
push ebx
lea eax, [ebp - 0x68]
push ebx
push eax
call dword [sym.imp.user32.dll_GetMessageA]
test eax, eax
je 0x440ebf
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.user32.dll_TranslateMessage]
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x440e62
mov ecx, dword [0x4a620c]
cmp byte [ecx], 0x46
jne 0x440e62
call fcn.0043a31e
jmp 0x440e62
or dword [ebp - 4], 0xffffffff
cmp byte [0x47e076], bl
je 0x440ed1
call dword [sym.imp.kernel32.dll_FreeConsole]
mov esi, dword [0x4a6210]
cmp esi, ebx
je 0x440ee9
mov ecx, esi
call fcn.0040b229
push esi
call fcn.0045b3e0
pop ecx
mov eax, dword [0x4a620c]
cmp byte [eax + 0xc88], bl
jmp 0x440f53
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10