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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4efa03
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x51d584]
xor eax, esp
mov dword [esp + 0x15c], eax
push esi
push edi
mov eax, dword [0x51d584]
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.0042fff0
mov dword [esp + 0x178], 1
lea ecx, [esp + 0xa8]
mov dword [esp + 0xa4], vtable.tpsp::OPSHELLEXECUTE.0
call fcn.004bccf0
mov eax, dword [0x525270]
mov ecx, dword [0x525274]
mov edx, dword [0x525278]
mov esi, 0x51e6e0
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.004bccf0
mov eax, dword [0x525280]
mov ecx, dword [0x525284]
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.004bccf0
mov edx, dword [0x5252a4]
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.00449410
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 0x418c48
cmp esi, dword [ebx + 0x20]
jl 0x4188ab
push 0x265
push str.D:WorkCodeTPSPTpsp
push 3
lea ecx, [esp + 0x14c]
mov byte [esp + 0x1b], 0
call fcn.00499b70
mov byte [esp + 0x178], 8
or dword [esp + 0x10], 1
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00499e60
push eax
lea ecx, [esp + 0x13]
call fcn.0049a0b0
mov dword [esp + 0x178], 7
test byte [esp + 0x10], 1
je 0x4188ce
and dword [esp + 0x10], 0xfffffffe
lea ecx, [esp + 0x140]
call fcn.00499ba0
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + esi*4]
dec eax
cmp eax, 3
ja case.default.0x4188de
jmp dword [eax*4 + 0x419048]
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov edx, ebx
call fcn.00419a00
mov dword [esp + 0x44], eax
test eax, eax
je 0x4189fe
mov eax, dword [ebx + 0x18]
push str.Break
push eax
call fcn.0040d310
add esp, 8
test al, al
je 0x418c34
lea esi, [esp + 0x24]
mov byte [esp + 0x178], 6
call fcn.00449510
mov dword [esp + 0x4c], vtable.tpsp::OPDELETE.0
lea edi, [esp + 0x4c]
mov byte [esp + 0x178], 0xa
call fcn.00439f80
lea ecx, [esp + 0x50]
mov byte [esp + 0x178], 9
call fcn.004bd0a0
mov ecx, edi
mov byte [esp + 0x178], 4
call fcn.0049ac60
mov dword [esp + 0x74], vtable.tpsp::OPUNLOAD.0
lea edi, [esp + 0x74]
mov byte [esp + 0x178], 0xc
call fcn.00437770
lea ecx, [esp + 0x78]
mov byte [esp + 0x178], 0xb
call fcn.004bd0a0
mov ecx, edi
mov byte [esp + 0x178], 2
call fcn.0049ac60
mov dword [esp + 0xa4], vtable.tpsp::OPSHELLEXECUTE.0
lea edi, [esp + 0xa4]
mov byte [esp + 0x178], 0xe
call fcn.004366a0
lea ecx, [esp + 0xa8]
mov byte [esp + 0x178], 0xd
call fcn.004bd0a0
mov ecx, edi
mov byte [esp + 0x178], 0
call fcn.0049ac60
lea ecx, [esp + 0xd4]
mov dword [esp + 0x178], 0xffffffff
call fcn.00430230
mov eax, dword [esp + 0x44]
jmp 0x418d65
mov eax, dword [ebx + 0x14]
push str.Server
push eax
call fcn.0040d310
add esp, 8
test al, al
jne 0x418d8a
mov eax, ebx
call fcn.004066b0
mov esi, eax
lea ecx, [esp + 0xd4]
cmp esi, ecx
je 0x418a45
mov edx, dword [esp + 0xd4]
mov eax, dword [edx + 0xc]
call eax
mov edx, esi
lea ecx, [esp + 0xd4]
call fcn.00432330
lea ecx, [esp + 0xd4]
call fcn.00417b50
mov edi, eax
test edi, edi
je 0x418c34
mov ecx, dword [esp + 0xec]
push str.Break
push ecx
call fcn.0040d310
add esp, 8
test al, al
je 0x418c34
lea esi, [esp + 0x24]
mov byte [esp + 0x178], 6
call fcn.00449510
lea ecx, [esp + 0x4c]
mov byte [esp + 0x178], 4
call fcn.00439f10
lea ecx, [esp + 0x74]
mov byte [esp + 0x178], 2
call fcn.00437700
lea ecx, [esp + 0xa4]
mov byte [esp + 0x178], 0
call fcn.00436630
lea ecx, [esp + 0xd4]
mov dword [esp + 0x178], 0xffffffff
call fcn.00430230
mov eax, edi
jmp 0x418d65
mov eax, dword [ebx + 0x14]
push str.Server
push eax
call fcn.0040d310
add esp, 8
test al, al
jne 0x418e39
mov esi, dword [esp + 0x1c]
lea edi, [ebx + 0x2c]
call fcn.0040d9e0
mov esi, eax
lea edx, [esp + 0xa4]
cmp esi, edx
je 0x418b2b
mov eax, dword [esp + 0xa4]
mov ecx, edx
mov edx, dword [eax + 0xc]
call edx
mov edx, esi
lea ecx, [esp + 0xa4]
call fcn.00437330
inc dword [esp + 0x1c]
lea eax, [esp + 0xa4]
push eax
call fcn.004183a0
mov edi, eax
test edi, edi
je 0x418c34
mov ecx, dword [esp + 0xc0]
jmp 0x418a62
mov eax, dword [ebx + 0x14]
push str.Server
push eax
call fcn.0040d310
add esp, 8
test al, al
jne 0x418ee8
mov esi, dword [esp + 0x14]
lea edi, [ebx + 0x3c]
call fcn.0040d9e0
mov esi, eax
lea edx, [esp + 0x74]
cmp esi, edx
je 0x418b97
mov eax, dword [esp + 0x74]
mov ecx, edx
mov edx, dword [eax + 0xc]
call edx
mov edx, esi
lea ecx, [esp + 0x74]
call fcn.00438370
inc dword [esp + 0x14]
lea eax, [esp + 0x74]
push eax
call fcn.004184b0
mov edi, eax
test edi, edi
je 0x418c34
mov ecx, dword [esp + 0x84]
jmp 0x418a62
mov eax, dword [ebx + 0x14]
push str.Server
push eax
call fcn.0040d310
add esp, 8
test al, al
jne 0x418f97
mov esi, dword [esp + 0x18]
lea edi, [ebx + 0x4c]
call fcn.0040d9e0
mov esi, eax
lea edx, [esp + 0x4c]
cmp esi, edx
je 0x418c00
mov eax, dword [esp + 0x4c]
mov ecx, edx
mov edx, dword [eax + 0xc]
call edx
mov edx, esi
lea ecx, [esp + 0x4c]
call fcn.0043a8c0
inc dword [esp + 0x18]
lea eax, [esp + 0x4c]
push eax
call fcn.004185c0
mov edi, eax
test edi, edi
je 0x418c34
mov ecx, dword [esp + 0x64]
jmp 0x418a62
push 0x973
push str...CoreManager.cpp
push 0x50c24c
call fcn.004822f7
add esp, 0xc
mov esi, dword [esp + 0x20]
inc esi
mov dword [esp + 0x20], esi
cmp esi, dword [ebx + 0x20]
jl 0x4188ab
xor edi, edi
mov byte [esp + 0x178], 6
cmp dword [esp + 0x2c], edi
je 0x418c93
cmp dword [esp + 0x34], edi
je 0x418c7d
lea edx, [esp + 0x30]
push edx
call dword [esp + 0x2c]
test eax, eax
jne 0x418c7d
push 0x69
push str...Coreutility_common.cpp
push 0x50c24c
call fcn.004822f7
add esp, 0xc
cmp byte [esp + 0x38], 0
je 0x418c93
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.00439f80
lea ecx, [esp + 0x50]
mov byte [esp + 0x178], 0x27
call fcn.004bd0a0
mov ecx, edi
mov byte [esp + 0x178], 4
call fcn.0049ac60
mov dword [esp + 0x74], vtable.tpsp::OPUNLOAD.0
lea edi, [esp + 0x74]
mov byte [esp + 0x178], 0x2a
call fcn.00437770
lea ecx, [esp + 0x78]
mov byte [esp + 0x178], 0x29
call fcn.004bd0a0
mov ecx, edi
mov byte [esp + 0x178], 2
call fcn.0049ac60
mov dword [esp + 0xa4], vtable.tpsp::OPSHELLEXECUTE.0
lea edi, [esp + 0xa4]
mov byte [esp + 0x178], 0x2c
call fcn.004366a0
mov byte [esp + 0x178], 0x2b
lea ecx, [esp + 0xa8]
call fcn.004bd0a0
lea ecx, [esp + 0xa4]
mov byte [esp + 0x178], 0
call fcn.0049ac60
lea ecx, [esp + 0xd4]
mov dword [esp + 0x178], 0xffffffff
call fcn.00430230
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.004809b9
mov esp, ebp
pop ebp
ret 4
lea esi, [esp + 0x24]
mov byte [esp + 0x178], 6
call fcn.00449510
mov dword [esp + 0x4c], vtable.tpsp::OPDELETE.0
lea edi, [esp + 0x4c]
mov byte [esp + 0x178], 0x10
call fcn.00439f80
lea ecx, [esp + 0x50]
mov byte [esp + 0x178], 0xf
call fcn.004bd0a0
mov ecx, edi
mov byte [esp + 0x178], 4
call fcn.0049ac60
mov dword [esp + 0x74], vtable.tpsp::OPUNLOAD.0
lea edi, [esp + 0x74]
mov byte [esp + 0x178], 0x12
call fcn.00437770
lea ecx, [esp + 0x78]
mov byte [esp + 0x178], 0x11
call fcn.004bd0a0
mov ecx, edi
mov byte [esp + 0x178], 2
call fcn.0049ac60
mov dword [esp + 0xa4], vtable.tpsp::OPSHELLEXECUTE.0
lea edi, [esp + 0xa4]
mov byte [esp + 0x178], 0x14
call fcn.004366a0
mov byte [esp + 0x178], 0x13
jmp 0x418d2c
lea esi, [esp + 0x24]
mov byte [esp + 0x178], 6
call fcn.00449510
mov dword [esp + 0x4c], vtable.tpsp::OPDELETE.0
lea edi, [esp + 0x4c]
mov byte [esp + 0x178], 0x16
call fcn.00439f80
lea ecx, [esp + 0x50]
mov byte [esp + 0x178], 0x15
call fcn.004bd0a0
mov ecx, edi
mov byte [esp + 0x178], 4
call fcn.0049ac60
mov dword [esp + 0x74], vtable.tpsp::OPUNLOAD.0
lea edi, [esp + 0x74]
mov byte [esp + 0x178], 0x18
call fcn.00437770
lea ecx, [esp + 0x78]
mov byte [esp + 0x178], 0x17
call fcn.004bd0a0
mov ecx, edi
mov byte [esp + 0x178], 2
call fcn.0049ac60
mov dword [esp + 0xa4], vtable.tpsp::OPSHELLEXECUTE.0
lea edi, [esp + 0xa4]
mov byte [esp + 0x178], 0x1a
call fcn.004366a0
mov byte [esp + 0x178], 0x19
jmp 0x418d2c
lea esi, [esp + 0x24]
mov byte [esp + 0x178], 6
call fcn.00449510
mov dword [esp + 0x4c], vtable.tpsp::OPDELETE.0
lea edi, [esp + 0x4c]
mov byte [esp + 0x178], 0x1c
call fcn.00439f80
lea ecx, [esp + 0x50]
mov byte [esp + 0x178], 0x1b
call fcn.004bd0a0
mov ecx, edi
mov byte [esp + 0x178], 4
call fcn.0049ac60
mov dword [esp + 0x74], vtable.tpsp::OPUNLOAD.0
lea edi, [esp + 0x74]
mov byte [esp + 0x178], 0x1e
call fcn.00437770
lea ecx, [esp + 0x78]
mov byte [esp + 0x178], 0x1d
call fcn.004bd0a0
mov ecx, edi
mov byte [esp + 0x178], 2
call fcn.0049ac60
mov dword [esp + 0xa4], vtable.tpsp::OPSHELLEXECUTE.0
lea edi, [esp + 0xa4]
mov byte [esp + 0x178], 0x20
call fcn.004366a0
mov byte [esp + 0x178], 0x1f
jmp 0x418d2c
lea esi, [esp + 0x24]
mov byte [esp + 0x178], 6
call fcn.00449510
mov dword [esp + 0x4c], vtable.tpsp::OPDELETE.0
lea edi, [esp + 0x4c]
mov byte [esp + 0x178], 0x22
call fcn.00439f80
lea ecx, [esp + 0x50]
mov byte [esp + 0x178], 0x21
call fcn.004bd0a0
mov ecx, edi
mov byte [esp + 0x178], 4
call fcn.0049ac60
mov dword [esp + 0x74], vtable.tpsp::OPUNLOAD.0
lea edi, [esp + 0x74]
mov byte [esp + 0x178], 0x24
call fcn.00437770
lea ecx, [esp + 0x78]
mov byte [esp + 0x178], 0x23
call fcn.004bd0a0
mov ecx, edi
mov byte [esp + 0x178], 2
call fcn.0049ac60
mov dword [esp + 0xa4], vtable.tpsp::OPSHELLEXECUTE.0
lea edi, [esp + 0xa4]
mov byte [esp + 0x178], 0x26
call fcn.004366a0
mov byte [esp + 0x178], 0x25
jmp 0x418d2c