Function at 0x487eb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x5c0c70]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x110], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x114], ecx
mov edx, dword [ebp - 0x114]
sub edx, 0xa
mov dword [ebp - 0x114], edx
cmp dword [ebp - 0x114], 0x14
ja case.0x487eff.3
mov eax, dword [ebp - 0x114]
movzx ecx, byte [eax + 0x488aec]
jmp dword [ecx*4 + 0x488ac8]
mov edx, dword [ebp - 0x110]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x110]
mov edx, dword [eax + 0x188]
call edx
jmp case.0x487eff.3
mov ecx, dword [ebp - 0x110]
cmp dword [ecx + 0x1c8], 0
jne 0x487fea
push 0xae
push 0x150
push 0
push 0
lea ecx, [ebp - 0x14]
call fcn.004652b0
push 0x370
call fcn.0053e4e7
add esp, 4
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0
je 0x487f79
mov ecx, dword [ebp - 0xd8]
call fcn.00465be0
mov dword [ebp - 0x118], eax
jmp 0x487f83
mov dword [ebp - 0x118], 0
mov edx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x118]
mov dword [edx + 0x1c8], eax
push 0
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 0x8000088
push 0
push 0x586e00
mov ecx, dword [ebp - 0x110]
mov edx, dword [ecx + 0x1d0]
push edx
mov eax, dword [ebp - 0x110]
mov ecx, dword [eax + 0x1c8]
call fcn.004fad42
push 0
push 0
mov ecx, dword [ebp - 0x110]
mov ecx, dword [ecx + 0x1c8]
call fcn.004fa2b2
mov edx, dword [ebp - 0x110]
mov eax, dword [edx + 0x1d0]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x48801b
push 0
push 0
mov ecx, dword [ebp - 0x110]
mov ecx, dword [ecx + 0x1c8]
call fcn.004fa2b2
jmp 0x4883af
mov edx, dword [ebp - 0x110]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x110]
mov edx, dword [eax + 0x17c]
call edx
movzx eax, al
test eax, eax
je 0x4883af
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x30]
sub ecx, dword [eax + 0x1e8]
mov esi, dword [ebp - 0x110]
mov eax, ecx
cdq
idiv dword [esi + 0x264]
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x2c]
sub eax, dword [edx + 0x1ec]
mov ecx, dword [ebp - 0x110]
cdq
idiv dword [ecx + 0x260]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x19], 0
mov edx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x30]
cmp eax, dword [edx + 0x1e8]
jl 0x4880f6
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ecx + 0x1ec]
jl 0x4880f6
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 0x1f8]
jge 0x4880df
mov edx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x20]
cmp eax, dword [edx + 0x1fc]
jle 0x4880f6
cmp dword [ebp - 0x24], 6
jg 0x4880f6
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x20]
cmp edx, dword [ecx + 0x204]
jle 0x4880fc
mov byte [ebp - 0x19], 0
jmp 0x488100
mov byte [ebp - 0x19], 1
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x110]
call fcn.00488b10
movzx edx, byte [ebp - 0x19]
test edx, edx
je 0x4882c2
lea eax, [ebp - 0x48]
push eax
mov ecx, 0x5c2f1c
call fcn.004a66d0
mov ecx, eax
call fcn.004653d0
lea ecx, [ebp - 0x40]
push ecx
mov ecx, 0x5c2f1c
call fcn.004a66d0
mov ecx, eax
call fcn.00465420
lea edx, [ebp - 0x44]
push edx
mov ecx, 0x5c2f1c
call fcn.004a66d0
mov ecx, eax
call fcn.00465470
cmp dword [ebp - 0x34], 0x7de
jne 0x4882aa
cmp dword [ebp - 0x28], 1
je 0x48819c
cmp dword [ebp - 0x28], 2
jne 0x4882aa
push ecx
mov ecx, esp
lea eax, [ebp - 0x44]
push eax
call fcn.0041c880
push ecx
mov ecx, esp
lea edx, [ebp - 0x40]
push edx
call fcn.0041c880
push ecx
mov ecx, esp
lea eax, [ebp - 0x48]
push eax
call fcn.0041c880
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x110]
add ecx, 0x20c
call fcn.004654c0
movzx ecx, al
test ecx, ecx
je 0x4882aa
mov edx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x20]
imul eax, dword [edx + 0x260]
mov ecx, dword [ebp - 0x110]
mov edx, dword [ecx + 0x1ec]
lea eax, [edx + eax + 0x19]
push eax
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x24]
imul edx, dword [ecx + 0x264]
mov eax, dword [ebp - 0x110]
mov ecx, dword [eax + 0x1e8]
lea edx, [ecx + edx + 0xf]
push edx
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x20]
imul ecx, dword [eax + 0x260]
mov edx, dword [ebp - 0x110]
add ecx, dword [edx + 0x1ec]
push ecx
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x24]
imul ecx, dword [eax + 0x264]
mov edx, dword [ebp - 0x110]
add ecx, dword [edx + 0x1e8]
push ecx
lea ecx, [ebp - 0x58]
call fcn.004652b0
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x58]
call fcn.00454060
test eax, eax
je 0x488296
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x4882aa
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
lea ecx, [ebp - 0x44]
call fcn.0040f740
lea ecx, [ebp - 0x40]
call fcn.0040f740
lea ecx, [ebp - 0x48]
call fcn.0040f740
mov edx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x30]
cmp eax, dword [edx + 0x1e8]
jl 0x488315
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ecx + 0x1ec]
jl 0x488315
mov eax, dword [ebp - 0x110]
mov ecx, dword [eax + 0x264]
imul ecx, ecx, 7
mov edx, dword [ebp - 0x110]
add ecx, dword [edx + 0x1e8]
cmp dword [ebp - 0x30], ecx
jg 0x488315
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [eax + 0x254]
jle 0x48834f
push 0
push 0
mov edx, dword [ebp - 0x110]
mov ecx, dword [edx + 0x1c8]
call fcn.004fa2b2
mov eax, dword [ebp - 0x110]
mov dword [eax + 0x1f0], 0xffffff9c
mov ecx, dword [ebp - 0x110]
mov dword [ecx + 0x1f4], 0xffffff9c
jmp 0x488ab5
mov edx, dword [ebp - 0x110]
mov eax, dword [edx + 0x1f0]
cmp eax, dword [ebp - 0x24]
jne 0x488371
mov ecx, dword [ebp - 0x110]
mov edx, dword [ecx + 0x1f4]
cmp edx, dword [ebp - 0x20]
je 0x4883af
push 0
push 0
mov eax, dword [ebp - 0x110]
mov ecx, dword [eax + 0x1c8]
call fcn.004fa2b2
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x24]
mov dword [ecx + 0x1f0], edx
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x1f4], ecx
mov ecx, dword [ebp - 0x110]
call fcn.00502854
jmp case.0x487eff.3
mov edx, dword [ebp - 0x110]
mov dword [edx + 0x1f0], 0xffffff9c
mov eax, dword [ebp - 0x110]
mov dword [eax + 0x1f4], 0xffffff9c
mov ecx, dword [ebp - 0x110]
call fcn.00502854
jmp case.0x487eff.3
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x68]
sub eax, dword [ecx + 0x1e8]
mov ecx, dword [ebp - 0x110]
cdq
idiv dword [ecx + 0x264]
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x64]
sub eax, dword [edx + 0x1ec]
mov ecx, dword [ebp - 0x110]
cdq
idiv dword [ecx + 0x260]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x110]
call fcn.00502854
jmp case.0x487eff.3
push 1
push ecx
mov ecx, esp
push 0x582b94
call fcn.0041c8a0
push ecx
mov ecx, esp
push 0x58c888
call fcn.0041c8a0
mov ecx, 0x5c2f20
call fcn.0044e4b0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 0x14]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x84]
sub eax, dword [edx + 0x1e8]
mov ecx, dword [ebp - 0x110]
cdq
idiv dword [ecx + 0x264]
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x80]
sub eax, dword [edx + 0x1ec]
mov ecx, dword [ebp - 0x110]
cdq
idiv dword [ecx + 0x260]
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x110]
mov ecx, dword [edx + 0x268]
imul ecx, dword [eax + 0x260]
mov edx, dword [ebp - 0x110]
add ecx, dword [edx + 0x1ec]
cmp dword [ebp - 0x80], ecx
jle 0x4884e9
jmp 0x488ab5
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x6c], 0
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x7c]
push ecx
lea edx, [ebp - 0x88]
push edx
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x78]
push ecx
mov ecx, dword [ebp - 0x110]
call fcn.00488b10
mov ecx, dword [ebp - 0x110]
add ecx, 0x1cc
call fcn.004b40f0
test eax, eax
jne 0x488589
push 0x2e8
call fcn.0053e4e7
add esp, 4
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 0
je 0x488567
mov ecx, dword [ebp - 0xf0]
call fcn.0046b4e0
mov dword [ebp - 0x11c], eax
jmp 0x488571
mov dword [ebp - 0x11c], 0
mov edx, dword [ebp - 0x11c]
push edx
mov ecx, dword [ebp - 0x110]
add ecx, 0x1cc
call fcn.004b4100
mov ecx, dword [ebp - 0x110]
add ecx, 0x1cc
call fcn.004b40d0
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4885ec
push 0
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 0
push 0x6cf0000
push 0
mov ecx, dword [ebp - 0x110]
mov edx, dword [ecx + 0x1d0]
push edx
mov ecx, dword [ebp - 0x110]
add ecx, 0x1cc
call fcn.004b40d0
mov ecx, eax
call fcn.004fad42
lea eax, [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x110]
mov edx, dword [ecx + 0x1d0]
push edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [ebp - 0x84]
add eax, 2
mov dword [ebp - 0x84], eax
lea ecx, [ebp - 0x70]
call fcn.0040ee90
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 0x7c]
push edx
mov eax, dword [ebp - 0x88]
push eax
push str._d__02d__02d
lea ecx, [ebp - 0x70]
push ecx
call fcn.004ea900
add esp, 0x10
mov ecx, esp
lea edx, [ebp - 0x70]
push edx
call fcn.0041c880
sub esp, 8
mov ecx, esp
mov eax, dword [ebp - 0x80]
push eax
mov edx, dword [ebp - 0x84]
push edx
call fcn.00465290
push 0
mov eax, dword [ebp - 0x110]
mov ecx, dword [eax + 0x1d0]
push ecx
mov ecx, dword [ebp - 0x110]
add ecx, 0x1cc
call fcn.004b40d0
mov ecx, eax
call fcn.0046b7c0
push 0
push 5
mov ecx, dword [ebp - 0x110]
add ecx, 0x1cc
call fcn.004b40d0
mov ecx, eax
call fcn.004fa2b2
push 1
push 0
mov ecx, dword [ebp - 0x110]
add ecx, 0x1cc
call fcn.004b40d0
mov edx, dword [eax + 4]
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x7c]
mov dword [eax + 0x288], ecx
mov edx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x6c]
mov dword [edx + 0x28c], eax
mov ecx, dword [ebp - 0x110]
call fcn.00502854
lea ecx, [ebp - 0x70]
call fcn.0040f740
jmp case.0x487eff.3
push 1
push ecx
mov ecx, esp
push 0x582b94
call fcn.0041c8a0
push ecx
mov ecx, esp
push 0x58c874
call fcn.0041c8a0
mov ecx, 0x5c2f20
call fcn.0044e4b0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x110]
mov eax, dword [ebp - 0xa0]
sub eax, dword [ecx + 0x1e8]
mov ecx, dword [ebp - 0x110]
cdq
idiv dword [ecx + 0x264]
mov dword [ebp - 0x94], eax
mov edx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x9c]
sub eax, dword [edx + 0x1ec]
mov ecx, dword [ebp - 0x110]
cdq
idiv dword [ecx + 0x260]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0xac], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x8c], 0
lea edx, [ebp - 0x8c]
push edx
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0xac]
push ecx
mov edx, dword [ebp - 0x90]
push edx
mov eax, dword [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x110]
call fcn.00488b10
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x98]
mov dword [ecx + 0x288], edx
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x8c]
mov dword [eax + 0x28c], ecx
lea edx, [ebp - 0xb0]
push edx
mov ecx, 0x5c2f1c
call fcn.004a66d0
mov ecx, eax
call fcn.004653d0
lea eax, [ebp - 0xa4]
push eax
mov ecx, 0x5c2f1c
call fcn.004a66d0
mov ecx, eax
call fcn.00465420
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, 0x5c2f1c
call fcn.004a66d0
mov ecx, eax
call fcn.00465470
mov edx, dword [ebp - 0x110]
mov eax, dword [edx + 0x28c]
cmp eax, dword [ebp - 0x8c]
jne 0x488978
push ecx
mov ecx, esp
lea edx, [ebp - 0xa8]
push edx
call fcn.0041c880
push ecx
mov ecx, esp
lea eax, [ebp - 0xa4]
push eax
call fcn.0041c880
push ecx
mov ecx, esp
lea edx, [ebp - 0xb0]
push edx
call fcn.0041c880
mov eax, dword [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x98]
push ecx
mov edx, dword [ebp - 0xac]
push edx
mov ecx, dword [ebp - 0x110]
add ecx, 0x20c
call fcn.004654c0
movzx eax, al
test eax, eax
je 0x488978
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x90]
imul edx, dword [ecx + 0x260]
mov eax, dword [ebp - 0x110]
mov ecx, dword [eax + 0x1ec]
lea edx, [ecx + edx + 0x19]
push edx
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x94]
imul ecx, dword [eax + 0x264]
mov edx, dword [ebp - 0x110]
mov eax, dword [edx + 0x1e8]
lea ecx, [eax + ecx + 0xf]
push ecx
mov edx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x90]
imul eax, dword [edx + 0x260]
mov ecx, dword [ebp - 0x110]
add eax, dword [ecx + 0x1ec]
push eax
mov edx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x94]
imul eax, dword [edx + 0x264]
mov ecx, dword [ebp - 0x110]
add eax, dword [ecx + 0x1e8]
push eax
lea ecx, [ebp - 0xc0]
call fcn.004652b0
mov edx, dword [ebp - 0x9c]
push edx
mov eax, dword [ebp - 0xa0]
push eax
lea ecx, [ebp - 0xc0]
call fcn.00454060
test eax, eax
je 0x488978
push 5
push 0
push 0
push str.http:__www.12306.cn_mormhweb_
push 0
mov ecx, dword [ebp - 0x110]
mov edx, dword [ecx + 0x1d0]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
push 0
push 0x532
mov eax, dword [0x5c271c]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0x110]
call fcn.00502854
lea ecx, [ebp - 0xa8]
call fcn.0040f740
lea ecx, [ebp - 0xa4]
call fcn.0040f740
lea ecx, [ebp - 0xb0]
call fcn.0040f740
jmp case.0x487eff.3
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
push edx
push 0x7ea
mov eax, dword [0x5c271c]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x487eff.3
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 0xc4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x120], ecx
cmp dword [ebp - 0x120], 0x208
je 0x488a06
jmp case.0x487eff.3
lea edx, [ebp - 0xd4]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0xce]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x124]
mov dword [ecx + 0x284], edx
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x124]
mov dword [eax + 0x274], ecx
movzx edx, word [ebp - 0xd2]
mov dword [ebp - 0x128], edx
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x128]
mov dword [eax + 0x280], ecx
mov edx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x128]
mov dword [edx + 0x278], eax
movzx ecx, word [ebp - 0xd4]
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x12c]
mov dword [edx + 0x27c], eax
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x12c]
mov dword [ecx + 0x270], edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x110]
call fcn.00502a0e
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053ea90
mov esp, ebp
pop ebp
ret 4