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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f07a3
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.00430860
mov dword [esp + 0x178], 1
lea ecx, [esp + 0xa8]
mov dword [esp + 0xa4], vtable.tpsp::OPSHELLEXECUTE.0
call fcn.004bdc40
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.004bdc40
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.004bdc40
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.00449ed0
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 0x418c68
cmp esi, dword [ebx + 0x20]
jl 0x4188cb
push 0x265
push str.D:WorkCodeTPSPTpsp
push 3
lea ecx, [esp + 0x14c]
mov byte [esp + 0x1b], 0
call fcn.0049a910
mov byte [esp + 0x178], 8
or dword [esp + 0x10], 1
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.0049acd0
push eax
lea ecx, [esp + 0x13]
call fcn.0049af20
mov dword [esp + 0x178], 7
test byte [esp + 0x10], 1
je 0x4188ee
and dword [esp + 0x10], 0xfffffffe
lea ecx, [esp + 0x140]
call fcn.0049a940
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + esi*4]
dec eax
cmp eax, 3
ja case.default.0x4188fe
jmp dword [eax*4 + 0x419068]
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov edx, ebx
call fcn.00419a20
mov dword [esp + 0x44], eax
test eax, eax
je 0x418a1e
mov eax, dword [ebx + 0x18]
push str.Break
push eax
call fcn.0040d360
add esp, 8
test al, al
je 0x418c54
lea esi, [esp + 0x24]
mov byte [esp + 0x178], 6
call fcn.00449fd0
mov dword [esp + 0x4c], vtable.tpsp::OPDELETE.0
lea edi, [esp + 0x4c]
mov byte [esp + 0x178], 0xa
call fcn.0043a820
lea ecx, [esp + 0x50]
mov byte [esp + 0x178], 9
call fcn.004bdff0
mov ecx, edi
mov byte [esp + 0x178], 4
call fcn.0049bad0
mov dword [esp + 0x74], vtable.tpsp::OPUNLOAD.0
lea edi, [esp + 0x74]
mov byte [esp + 0x178], 0xc
call fcn.00438010
lea ecx, [esp + 0x78]
mov byte [esp + 0x178], 0xb
call fcn.004bdff0
mov ecx, edi
mov byte [esp + 0x178], 2
call fcn.0049bad0
mov dword [esp + 0xa4], vtable.tpsp::OPSHELLEXECUTE.0
lea edi, [esp + 0xa4]
mov byte [esp + 0x178], 0xe
call fcn.00436f40
lea ecx, [esp + 0xa8]
mov byte [esp + 0x178], 0xd
call fcn.004bdff0
mov ecx, edi
mov byte [esp + 0x178], 0
call fcn.0049bad0
lea ecx, [esp + 0xd4]
mov dword [esp + 0x178], 0xffffffff
call fcn.00430aa0
mov eax, dword [esp + 0x44]
jmp 0x418d85
mov eax, dword [ebx + 0x14]
push str.Server
push eax
call fcn.0040d360
add esp, 8
test al, al
jne 0x418daa
mov eax, ebx
call fcn.004066d0
mov esi, eax
lea ecx, [esp + 0xd4]
cmp esi, ecx
je 0x418a65
mov edx, dword [esp + 0xd4]
mov eax, dword [edx + 0xc]
call eax
mov edx, esi
lea ecx, [esp + 0xd4]
call fcn.00432b90
lea ecx, [esp + 0xd4]
call fcn.00417b70
mov edi, eax
test edi, edi
je 0x418c54
mov ecx, dword [esp + 0xec]
push str.Break
push ecx
call fcn.0040d360
add esp, 8
test al, al
je 0x418c54
lea esi, [esp + 0x24]
mov byte [esp + 0x178], 6
call fcn.00449fd0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x178], 4
call fcn.0043a7b0
lea ecx, [esp + 0x74]
mov byte [esp + 0x178], 2
call fcn.00437fa0
lea ecx, [esp + 0xa4]
mov byte [esp + 0x178], 0
call fcn.00436ed0
lea ecx, [esp + 0xd4]
mov dword [esp + 0x178], 0xffffffff
call fcn.00430aa0
mov eax, edi
jmp 0x418d85
mov eax, dword [ebx + 0x14]
push str.Server
push eax
call fcn.0040d360
add esp, 8
test al, al
jne 0x418e59
mov esi, dword [esp + 0x1c]
lea edi, [ebx + 0x2c]
call fcn.00421580
mov esi, eax
lea edx, [esp + 0xa4]
cmp esi, edx
je 0x418b4b
mov eax, dword [esp + 0xa4]
mov ecx, edx
mov edx, dword [eax + 0xc]
call edx
mov edx, esi
lea ecx, [esp + 0xa4]
call fcn.00437bd0
inc dword [esp + 0x1c]
lea eax, [esp + 0xa4]
push eax
call fcn.004183c0
mov edi, eax
test edi, edi
je 0x418c54
mov ecx, dword [esp + 0xc0]
jmp 0x418a82
mov eax, dword [ebx + 0x14]
push str.Server
push eax
call fcn.0040d360
add esp, 8
test al, al
jne 0x418f08
mov esi, dword [esp + 0x14]
lea edi, [ebx + 0x3c]
call fcn.00421580
mov esi, eax
lea edx, [esp + 0x74]
cmp esi, edx
je 0x418bb7
mov eax, dword [esp + 0x74]
mov ecx, edx
mov edx, dword [eax + 0xc]
call edx
mov edx, esi
lea ecx, [esp + 0x74]
call fcn.00438c20
inc dword [esp + 0x14]
lea eax, [esp + 0x74]
push eax
call fcn.004184d0
mov edi, eax
test edi, edi
je 0x418c54
mov ecx, dword [esp + 0x84]
jmp 0x418a82
mov eax, dword [ebx + 0x14]
push str.Server
push eax
call fcn.0040d360
add esp, 8
test al, al
jne 0x418fb7
mov esi, dword [esp + 0x18]
lea edi, [ebx + 0x4c]
call fcn.00421580
mov esi, eax
lea edx, [esp + 0x4c]
cmp esi, edx
je 0x418c20
mov eax, dword [esp + 0x4c]
mov ecx, edx
mov edx, dword [eax + 0xc]
call edx
mov edx, esi
lea ecx, [esp + 0x4c]
call fcn.0043b1f0
inc dword [esp + 0x18]
lea eax, [esp + 0x4c]
push eax
call fcn.004185e0
mov edi, eax
test edi, edi
je 0x418c54
mov ecx, dword [esp + 0x64]
jmp 0x418a82
push 0x9a6
push str...CoreManager.cpp
push 0x50d254
call fcn.00482fe7
add esp, 0xc
mov esi, dword [esp + 0x20]
inc esi
mov dword [esp + 0x20], esi
cmp esi, dword [ebx + 0x20]
jl 0x4188cb
xor edi, edi
mov byte [esp + 0x178], 6
cmp dword [esp + 0x2c], edi
je 0x418cb3
cmp dword [esp + 0x34], edi
je 0x418c9d
lea edx, [esp + 0x30]
push edx
call dword [esp + 0x2c]
test eax, eax
jne 0x418c9d
push 0x69
push str...Coreutility_common.cpp
push 0x50d254
call fcn.00482fe7
add esp, 0xc
cmp byte [esp + 0x38], 0
je 0x418cb3
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.0043a820
lea ecx, [esp + 0x50]
mov byte [esp + 0x178], 0x27
call fcn.004bdff0
mov ecx, edi
mov byte [esp + 0x178], 4
call fcn.0049bad0
mov dword [esp + 0x74], vtable.tpsp::OPUNLOAD.0
lea edi, [esp + 0x74]
mov byte [esp + 0x178], 0x2a
call fcn.00438010
lea ecx, [esp + 0x78]
mov byte [esp + 0x178], 0x29
call fcn.004bdff0
mov ecx, edi
mov byte [esp + 0x178], 2
call fcn.0049bad0
mov dword [esp + 0xa4], vtable.tpsp::OPSHELLEXECUTE.0
lea edi, [esp + 0xa4]
mov byte [esp + 0x178], 0x2c
call fcn.00436f40
mov byte [esp + 0x178], 0x2b
lea ecx, [esp + 0xa8]
call fcn.004bdff0
lea ecx, [esp + 0xa4]
mov byte [esp + 0x178], 0
call fcn.0049bad0
lea ecx, [esp + 0xd4]
mov dword [esp + 0x178], 0xffffffff
call fcn.00430aa0
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.004815c9
mov esp, ebp
pop ebp
ret 4
lea esi, [esp + 0x24]
mov byte [esp + 0x178], 6
call fcn.00449fd0
mov dword [esp + 0x4c], vtable.tpsp::OPDELETE.0
lea edi, [esp + 0x4c]
mov byte [esp + 0x178], 0x10
call fcn.0043a820
lea ecx, [esp + 0x50]
mov byte [esp + 0x178], 0xf
call fcn.004bdff0
mov ecx, edi
mov byte [esp + 0x178], 4
call fcn.0049bad0
mov dword [esp + 0x74], vtable.tpsp::OPUNLOAD.0
lea edi, [esp + 0x74]
mov byte [esp + 0x178], 0x12
call fcn.00438010
lea ecx, [esp + 0x78]
mov byte [esp + 0x178], 0x11
call fcn.004bdff0
mov ecx, edi
mov byte [esp + 0x178], 2
call fcn.0049bad0
mov dword [esp + 0xa4], vtable.tpsp::OPSHELLEXECUTE.0
lea edi, [esp + 0xa4]
mov byte [esp + 0x178], 0x14
call fcn.00436f40
mov byte [esp + 0x178], 0x13
jmp 0x418d4c
lea esi, [esp + 0x24]
mov byte [esp + 0x178], 6
call fcn.00449fd0
mov dword [esp + 0x4c], vtable.tpsp::OPDELETE.0
lea edi, [esp + 0x4c]
mov byte [esp + 0x178], 0x16
call fcn.0043a820
lea ecx, [esp + 0x50]
mov byte [esp + 0x178], 0x15
call fcn.004bdff0
mov ecx, edi
mov byte [esp + 0x178], 4
call fcn.0049bad0
mov dword [esp + 0x74], vtable.tpsp::OPUNLOAD.0
lea edi, [esp + 0x74]
mov byte [esp + 0x178], 0x18
call fcn.00438010
lea ecx, [esp + 0x78]
mov byte [esp + 0x178], 0x17
call fcn.004bdff0
mov ecx, edi
mov byte [esp + 0x178], 2
call fcn.0049bad0
mov dword [esp + 0xa4], vtable.tpsp::OPSHELLEXECUTE.0
lea edi, [esp + 0xa4]
mov byte [esp + 0x178], 0x1a
call fcn.00436f40
mov byte [esp + 0x178], 0x19
jmp 0x418d4c
lea esi, [esp + 0x24]
mov byte [esp + 0x178], 6
call fcn.00449fd0
mov dword [esp + 0x4c], vtable.tpsp::OPDELETE.0
lea edi, [esp + 0x4c]
mov byte [esp + 0x178], 0x1c
call fcn.0043a820
lea ecx, [esp + 0x50]
mov byte [esp + 0x178], 0x1b
call fcn.004bdff0
mov ecx, edi
mov byte [esp + 0x178], 4
call fcn.0049bad0
mov dword [esp + 0x74], vtable.tpsp::OPUNLOAD.0
lea edi, [esp + 0x74]
mov byte [esp + 0x178], 0x1e
call fcn.00438010
lea ecx, [esp + 0x78]
mov byte [esp + 0x178], 0x1d
call fcn.004bdff0
mov ecx, edi
mov byte [esp + 0x178], 2
call fcn.0049bad0
mov dword [esp + 0xa4], vtable.tpsp::OPSHELLEXECUTE.0
lea edi, [esp + 0xa4]
mov byte [esp + 0x178], 0x20
call fcn.00436f40
mov byte [esp + 0x178], 0x1f
jmp 0x418d4c
lea esi, [esp + 0x24]
mov byte [esp + 0x178], 6
call fcn.00449fd0
mov dword [esp + 0x4c], vtable.tpsp::OPDELETE.0
lea edi, [esp + 0x4c]
mov byte [esp + 0x178], 0x22
call fcn.0043a820
lea ecx, [esp + 0x50]
mov byte [esp + 0x178], 0x21
call fcn.004bdff0
mov ecx, edi
mov byte [esp + 0x178], 4
call fcn.0049bad0
mov dword [esp + 0x74], vtable.tpsp::OPUNLOAD.0
lea edi, [esp + 0x74]
mov byte [esp + 0x178], 0x24
call fcn.00438010
lea ecx, [esp + 0x78]
mov byte [esp + 0x178], 0x23
call fcn.004bdff0
mov ecx, edi
mov byte [esp + 0x178], 2
call fcn.0049bad0
mov dword [esp + 0xa4], vtable.tpsp::OPSHELLEXECUTE.0
lea edi, [esp + 0xa4]
mov byte [esp + 0x178], 0x26
call fcn.00436f40
mov byte [esp + 0x178], 0x25
jmp 0x418d4c