Function at 0x4188e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f07b3
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x51e584]
xor eax, esp
mov dword [esp + 0x15c], eax
push esi
push edi
mov eax, dword [0x51e584]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea edx, [esp + 0xd4]
xor edi, edi
push edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x14], edi
call fcn.00430f80
mov dword [esp + 0x178], 1
lea ecx, [esp + 0xa8]
mov dword [esp + 0xa4], vtable.tpsp::OPSHELLEXECUTE.0
call fcn.004bdb50
mov eax, dword [0x526270]
mov ecx, dword [0x526274]
mov edx, dword [0x526278]
mov esi, 0x51f6e0
mov dword [esp + 0xcc], edi
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc4], 0x1f4
mov dword [esp + 0xc0], edx
mov byte [esp + 0xc8], 0
mov dword [esp + 0xd0], edi
mov byte [esp + 0x178], 3
lea ecx, [esp + 0x78]
mov dword [esp + 0x74], vtable.tpsp::OPUNLOAD.0
call fcn.004bdb50
mov eax, dword [0x526280]
mov ecx, dword [0x526284]
mov dword [esp + 0x9c], edi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x8c], 0x1b58
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edi
mov byte [esp + 0x90], 0
mov dword [esp + 0xa0], edi
mov byte [esp + 0x178], 5
lea ecx, [esp + 0x50]
mov dword [esp + 0x4c], vtable.tpsp::OPDELETE.0
call fcn.004bdb50
mov edx, dword [0x5262a4]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], 0x3e8
mov dword [esp + 0x64], edx
mov byte [esp + 0x68], 0
mov dword [esp + 0x70], edi
mov eax, ebx
lea esi, [esp + 0x24]
mov byte [esp + 0x178], 6
call fcn.00449e70
xor esi, esi
mov byte [esp + 0x178], 7
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], esi
cmp dword [ebx + 0x20], edi
jle 0x418e88
cmp esi, dword [ebx + 0x20]
jl 0x418aeb
push 0x265
push str.E:WorkCodeTPSPTpsp
push 3
lea ecx, [esp + 0x14c]
mov byte [esp + 0x1b], 0
call fcn.0049a7e0
mov byte [esp + 0x178], 8
or dword [esp + 0x10], 1
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.0049aad0
push eax
lea ecx, [esp + 0x13]
call fcn.0049ad20
mov dword [esp + 0x178], 7
test byte [esp + 0x10], 1
je 0x418b0e
and dword [esp + 0x10], 0xfffffffe
lea ecx, [esp + 0x140]
call fcn.0049a810
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + esi*4]
dec eax
cmp eax, 3
ja case.default.0x418b1e
jmp dword [eax*4 + 0x419288]
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov edx, ebx
call fcn.00419c40
mov dword [esp + 0x44], eax
test eax, eax
je 0x418c3e
mov eax, dword [ebx + 0x18]
push str.Break
push eax
call fcn.0040d580
add esp, 8
test al, al
je 0x418e74
lea esi, [esp + 0x24]
mov byte [esp + 0x178], 6
call fcn.00449f70
mov dword [esp + 0x4c], vtable.tpsp::OPDELETE.0
lea edi, [esp + 0x4c]
mov byte [esp + 0x178], 0xa
call fcn.0043af00
lea ecx, [esp + 0x50]
mov byte [esp + 0x178], 9
call fcn.004bdf00
mov ecx, edi
mov byte [esp + 0x178], 4
call fcn.0049b8d0
mov dword [esp + 0x74], vtable.tpsp::OPUNLOAD.0
lea edi, [esp + 0x74]
mov byte [esp + 0x178], 0xc
call fcn.00438640
lea ecx, [esp + 0x78]
mov byte [esp + 0x178], 0xb
call fcn.004bdf00
mov ecx, edi
mov byte [esp + 0x178], 2
call fcn.0049b8d0
mov dword [esp + 0xa4], vtable.tpsp::OPSHELLEXECUTE.0
lea edi, [esp + 0xa4]
mov byte [esp + 0x178], 0xe
call fcn.00437620
lea ecx, [esp + 0xa8]
mov byte [esp + 0x178], 0xd
call fcn.004bdf00
mov ecx, edi
mov byte [esp + 0x178], 0
call fcn.0049b8d0
lea ecx, [esp + 0xd4]
mov dword [esp + 0x178], 0xffffffff
call fcn.004311c0
mov eax, dword [esp + 0x44]
jmp 0x418fa5
mov eax, dword [ebx + 0x14]
push str.Server
push eax
call fcn.0040d580
add esp, 8
test al, al
jne 0x418fca
mov eax, ebx
call fcn.00406730
mov esi, eax
lea ecx, [esp + 0xd4]
cmp esi, ecx
je 0x418c85
mov edx, dword [esp + 0xd4]
mov eax, dword [edx + 0xc]
call eax
mov edx, esi
lea ecx, [esp + 0xd4]
call fcn.004332b0
lea ecx, [esp + 0xd4]
call fcn.00417d90
mov edi, eax
test edi, edi
je 0x418e74
mov ecx, dword [esp + 0xec]
push str.Break
push ecx
call fcn.0040d580
add esp, 8
test al, al
je 0x418e74
lea esi, [esp + 0x24]
mov byte [esp + 0x178], 6
call fcn.00449f70
lea ecx, [esp + 0x4c]
mov byte [esp + 0x178], 4
call fcn.0043ae90
lea ecx, [esp + 0x74]
mov byte [esp + 0x178], 2
call fcn.004385d0
lea ecx, [esp + 0xa4]
mov byte [esp + 0x178], 0
call fcn.004375b0
lea ecx, [esp + 0xd4]
mov dword [esp + 0x178], 0xffffffff
call fcn.004311c0
mov eax, edi
jmp 0x418fa5
mov eax, dword [ebx + 0x14]
push str.Server
push eax
call fcn.0040d580
add esp, 8
test al, al
jne 0x419079
mov esi, dword [esp + 0x1c]
lea edi, [ebx + 0x2c]
call fcn.00421ce0
mov esi, eax
lea edx, [esp + 0xa4]
cmp esi, edx
je 0x418d6b
mov eax, dword [esp + 0xa4]
mov ecx, edx
mov edx, dword [eax + 0xc]
call edx
mov edx, esi
lea ecx, [esp + 0xa4]
call fcn.00438200
inc dword [esp + 0x1c]
lea eax, [esp + 0xa4]
push eax
call fcn.004185e0
mov edi, eax
test edi, edi
je 0x418e74
mov ecx, dword [esp + 0xc0]
jmp 0x418ca2
mov eax, dword [ebx + 0x14]
push str.Server
push eax
call fcn.0040d580
add esp, 8
test al, al
jne 0x419128
mov esi, dword [esp + 0x14]
lea edi, [ebx + 0x3c]
call fcn.00421ce0
mov esi, eax
lea edx, [esp + 0x74]
cmp esi, edx
je 0x418dd7
mov eax, dword [esp + 0x74]
mov ecx, edx
mov edx, dword [eax + 0xc]
call edx
mov edx, esi
lea ecx, [esp + 0x74]
call fcn.004392f0
inc dword [esp + 0x14]
lea eax, [esp + 0x74]
push eax
call fcn.004186f0
mov edi, eax
test edi, edi
je 0x418e74
mov ecx, dword [esp + 0x84]
jmp 0x418ca2
mov eax, dword [ebx + 0x14]
push str.Server
push eax
call fcn.0040d580
add esp, 8
test al, al
jne 0x4191d7
mov esi, dword [esp + 0x18]
lea edi, [ebx + 0x4c]
call fcn.00421ce0
mov esi, eax
lea edx, [esp + 0x4c]
cmp esi, edx
je 0x418e40
mov eax, dword [esp + 0x4c]
mov ecx, edx
mov edx, dword [eax + 0xc]
call edx
mov edx, esi
lea ecx, [esp + 0x4c]
call fcn.0043b8d0
inc dword [esp + 0x18]
lea eax, [esp + 0x4c]
push eax
call fcn.00418800
mov edi, eax
test edi, edi
je 0x418e74
mov ecx, dword [esp + 0x64]
jmp 0x418ca2
push 0x9a6
push str...CoreManager.cpp
push 0x50d22c
call fcn.00482fc7
add esp, 0xc
mov esi, dword [esp + 0x20]
inc esi
mov dword [esp + 0x20], esi
cmp esi, dword [ebx + 0x20]
jl 0x418aeb
xor edi, edi
mov byte [esp + 0x178], 6
cmp dword [esp + 0x2c], edi
je 0x418ed3
cmp dword [esp + 0x34], edi
je 0x418ebd
lea edx, [esp + 0x30]
push edx
call dword [esp + 0x2c]
test eax, eax
jne 0x418ebd
push 0x69
push str...Coreutility_common.cpp
push 0x50d22c
call fcn.00482fc7
add esp, 0xc
cmp byte [esp + 0x38], 0
je 0x418ed3
mov eax, dword [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x4c], vtable.tpsp::OPDELETE.0
lea edi, [esp + 0x4c]
mov byte [esp + 0x178], 0x28
call fcn.0043af00
lea ecx, [esp + 0x50]
mov byte [esp + 0x178], 0x27
call fcn.004bdf00
mov ecx, edi
mov byte [esp + 0x178], 4
call fcn.0049b8d0
mov dword [esp + 0x74], vtable.tpsp::OPUNLOAD.0
lea edi, [esp + 0x74]
mov byte [esp + 0x178], 0x2a
call fcn.00438640
lea ecx, [esp + 0x78]
mov byte [esp + 0x178], 0x29
call fcn.004bdf00
mov ecx, edi
mov byte [esp + 0x178], 2
call fcn.0049b8d0
mov dword [esp + 0xa4], vtable.tpsp::OPSHELLEXECUTE.0
lea edi, [esp + 0xa4]
mov byte [esp + 0x178], 0x2c
call fcn.00437620
mov byte [esp + 0x178], 0x2b
lea ecx, [esp + 0xa8]
call fcn.004bdf00
lea ecx, [esp + 0xa4]
mov byte [esp + 0x178], 0
call fcn.0049b8d0
lea ecx, [esp + 0xd4]
mov dword [esp + 0x178], 0xffffffff
call fcn.004311c0
xor eax, eax
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x15c]
xor ecx, esp
call fcn.004815a9
mov esp, ebp
pop ebp
ret 4
lea esi, [esp + 0x24]
mov byte [esp + 0x178], 6
call fcn.00449f70
mov dword [esp + 0x4c], vtable.tpsp::OPDELETE.0
lea edi, [esp + 0x4c]
mov byte [esp + 0x178], 0x10
call fcn.0043af00
lea ecx, [esp + 0x50]
mov byte [esp + 0x178], 0xf
call fcn.004bdf00
mov ecx, edi
mov byte [esp + 0x178], 4
call fcn.0049b8d0
mov dword [esp + 0x74], vtable.tpsp::OPUNLOAD.0
lea edi, [esp + 0x74]
mov byte [esp + 0x178], 0x12
call fcn.00438640
lea ecx, [esp + 0x78]
mov byte [esp + 0x178], 0x11
call fcn.004bdf00
mov ecx, edi
mov byte [esp + 0x178], 2
call fcn.0049b8d0
mov dword [esp + 0xa4], vtable.tpsp::OPSHELLEXECUTE.0
lea edi, [esp + 0xa4]
mov byte [esp + 0x178], 0x14
call fcn.00437620
mov byte [esp + 0x178], 0x13
jmp 0x418f6c
lea esi, [esp + 0x24]
mov byte [esp + 0x178], 6
call fcn.00449f70
mov dword [esp + 0x4c], vtable.tpsp::OPDELETE.0
lea edi, [esp + 0x4c]
mov byte [esp + 0x178], 0x16
call fcn.0043af00
lea ecx, [esp + 0x50]
mov byte [esp + 0x178], 0x15
call fcn.004bdf00
mov ecx, edi
mov byte [esp + 0x178], 4
call fcn.0049b8d0
mov dword [esp + 0x74], vtable.tpsp::OPUNLOAD.0
lea edi, [esp + 0x74]
mov byte [esp + 0x178], 0x18
call fcn.00438640
lea ecx, [esp + 0x78]
mov byte [esp + 0x178], 0x17
call fcn.004bdf00
mov ecx, edi
mov byte [esp + 0x178], 2
call fcn.0049b8d0
mov dword [esp + 0xa4], vtable.tpsp::OPSHELLEXECUTE.0
lea edi, [esp + 0xa4]
mov byte [esp + 0x178], 0x1a
call fcn.00437620
mov byte [esp + 0x178], 0x19
jmp 0x418f6c
lea esi, [esp + 0x24]
mov byte [esp + 0x178], 6
call fcn.00449f70
mov dword [esp + 0x4c], vtable.tpsp::OPDELETE.0
lea edi, [esp + 0x4c]
mov byte [esp + 0x178], 0x1c
call fcn.0043af00
lea ecx, [esp + 0x50]
mov byte [esp + 0x178], 0x1b
call fcn.004bdf00
mov ecx, edi
mov byte [esp + 0x178], 4
call fcn.0049b8d0
mov dword [esp + 0x74], vtable.tpsp::OPUNLOAD.0
lea edi, [esp + 0x74]
mov byte [esp + 0x178], 0x1e
call fcn.00438640
lea ecx, [esp + 0x78]
mov byte [esp + 0x178], 0x1d
call fcn.004bdf00
mov ecx, edi
mov byte [esp + 0x178], 2
call fcn.0049b8d0
mov dword [esp + 0xa4], vtable.tpsp::OPSHELLEXECUTE.0
lea edi, [esp + 0xa4]
mov byte [esp + 0x178], 0x20
call fcn.00437620
mov byte [esp + 0x178], 0x1f
jmp 0x418f6c
lea esi, [esp + 0x24]
mov byte [esp + 0x178], 6
call fcn.00449f70
mov dword [esp + 0x4c], vtable.tpsp::OPDELETE.0
lea edi, [esp + 0x4c]
mov byte [esp + 0x178], 0x22
call fcn.0043af00
lea ecx, [esp + 0x50]
mov byte [esp + 0x178], 0x21
call fcn.004bdf00
mov ecx, edi
mov byte [esp + 0x178], 4
call fcn.0049b8d0
mov dword [esp + 0x74], vtable.tpsp::OPUNLOAD.0
lea edi, [esp + 0x74]
mov byte [esp + 0x178], 0x24
call fcn.00438640
lea ecx, [esp + 0x78]
mov byte [esp + 0x178], 0x23
call fcn.004bdf00
mov ecx, edi
mov byte [esp + 0x178], 2
call fcn.0049b8d0
mov dword [esp + 0xa4], vtable.tpsp::OPSHELLEXECUTE.0
lea edi, [esp + 0xa4]
mov byte [esp + 0x178], 0x26
call fcn.00437620
mov byte [esp + 0x178], 0x25
jmp 0x418f6c