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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x421523
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x44f584]
xor eax, esp
mov dword [esp + 0x15c], eax
push esi
push edi
mov eax, dword [0x44f584]
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.00362090
mov dword [esp + 0x178], 1
lea ecx, [esp + 0xa8]
mov dword [esp + 0xa4], vtable.tpsp::OPSHELLEXECUTE.0
call fcn.003ee720
mov eax, dword [0x4572b0]
mov ecx, dword [0x4572b4]
mov edx, dword [0x4572b8]
mov esi, 0x4506e0
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.003ee720
mov eax, dword [0x4572c0]
mov ecx, dword [0x4572c4]
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.003ee720
mov edx, dword [0x4572e4]
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.0037b510
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 0x34a1d8
cmp esi, dword [ebx + 0x20]
jl 0x349e3b
push 0x265
push str.D:workTpsp
push 3
lea ecx, [esp + 0x14c]
mov byte [esp + 0x1b], 0
call fcn.003cb6d0
mov byte [esp + 0x178], 8
or dword [esp + 0x10], 1
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.003cb9c0
push eax
lea ecx, [esp + 0x13]
call fcn.003cbc10
mov dword [esp + 0x178], 7
test byte [esp + 0x10], 1
je 0x349e5e
and dword [esp + 0x10], 0xfffffffe
lea ecx, [esp + 0x140]
call fcn.003cb700
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + esi*4]
dec eax
cmp eax, 3
ja case.default.0x349e6e
jmp dword [eax*4 + 0x34a5d8]
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov edx, ebx
call fcn.0034af90
mov dword [esp + 0x44], eax
test eax, eax
je 0x349f8e
mov eax, dword [ebx + 0x18]
push str.Break
push eax
call fcn.0033d7d0
add esp, 8
test al, al
je 0x34a1c4
lea esi, [esp + 0x24]
mov byte [esp + 0x178], 6
call fcn.0037b610
mov dword [esp + 0x4c], vtable.tpsp::OPDELETE.0
lea edi, [esp + 0x4c]
mov byte [esp + 0x178], 0xa
call fcn.0036c030
lea ecx, [esp + 0x50]
mov byte [esp + 0x178], 9
call fcn.003eead0
mov ecx, edi
mov byte [esp + 0x178], 4
call fcn.003cc7c0
mov dword [esp + 0x74], vtable.tpsp::OPUNLOAD.0
lea edi, [esp + 0x74]
mov byte [esp + 0x178], 0xc
call fcn.00369820
lea ecx, [esp + 0x78]
mov byte [esp + 0x178], 0xb
call fcn.003eead0
mov ecx, edi
mov byte [esp + 0x178], 2
call fcn.003cc7c0
mov dword [esp + 0xa4], vtable.tpsp::OPSHELLEXECUTE.0
lea edi, [esp + 0xa4]
mov byte [esp + 0x178], 0xe
call fcn.00368740
lea ecx, [esp + 0xa8]
mov byte [esp + 0x178], 0xd
call fcn.003eead0
mov ecx, edi
mov byte [esp + 0x178], 0
call fcn.003cc7c0
lea ecx, [esp + 0xd4]
mov dword [esp + 0x178], 0xffffffff
call fcn.003622d0
mov eax, dword [esp + 0x44]
jmp 0x34a2f5
mov eax, dword [ebx + 0x14]
push str.Server
push eax
call fcn.0033d7d0
add esp, 8
test al, al
jne 0x34a31a
mov eax, ebx
call fcn.00336880
mov esi, eax
lea ecx, [esp + 0xd4]
cmp esi, ecx
je 0x349fd5
mov edx, dword [esp + 0xd4]
mov eax, dword [edx + 0xc]
call eax
mov edx, esi
lea ecx, [esp + 0xd4]
call fcn.003643d0
lea ecx, [esp + 0xd4]
call fcn.003490e0
mov edi, eax
test edi, edi
je 0x34a1c4
mov ecx, dword [esp + 0xec]
push str.Break
push ecx
call fcn.0033d7d0
add esp, 8
test al, al
je 0x34a1c4
lea esi, [esp + 0x24]
mov byte [esp + 0x178], 6
call fcn.0037b610
lea ecx, [esp + 0x4c]
mov byte [esp + 0x178], 4
call fcn.0036bfc0
lea ecx, [esp + 0x74]
mov byte [esp + 0x178], 2
call fcn.003697b0
lea ecx, [esp + 0xa4]
mov byte [esp + 0x178], 0
call fcn.003686d0
lea ecx, [esp + 0xd4]
mov dword [esp + 0x178], 0xffffffff
call fcn.003622d0
mov eax, edi
jmp 0x34a2f5
mov eax, dword [ebx + 0x14]
push str.Server
push eax
call fcn.0033d7d0
add esp, 8
test al, al
jne 0x34a3c9
mov esi, dword [esp + 0x1c]
lea edi, [ebx + 0x2c]
call fcn.00352c30
mov esi, eax
lea edx, [esp + 0xa4]
cmp esi, edx
je 0x34a0bb
mov eax, dword [esp + 0xa4]
mov ecx, edx
mov edx, dword [eax + 0xc]
call edx
mov edx, esi
lea ecx, [esp + 0xa4]
call fcn.003693e0
inc dword [esp + 0x1c]
lea eax, [esp + 0xa4]
push eax
call fcn.00349930
mov edi, eax
test edi, edi
je 0x34a1c4
mov ecx, dword [esp + 0xc0]
jmp 0x349ff2
mov eax, dword [ebx + 0x14]
push str.Server
push eax
call fcn.0033d7d0
add esp, 8
test al, al
jne 0x34a478
mov esi, dword [esp + 0x14]
lea edi, [ebx + 0x3c]
call fcn.00352c30
mov esi, eax
lea edx, [esp + 0x74]
cmp esi, edx
je 0x34a127
mov eax, dword [esp + 0x74]
mov ecx, edx
mov edx, dword [eax + 0xc]
call edx
mov edx, esi
lea ecx, [esp + 0x74]
call fcn.0036a420
inc dword [esp + 0x14]
lea eax, [esp + 0x74]
push eax
call fcn.00349a40
mov edi, eax
test edi, edi
je 0x34a1c4
mov ecx, dword [esp + 0x84]
jmp 0x349ff2
mov eax, dword [ebx + 0x14]
push str.Server
push eax
call fcn.0033d7d0
add esp, 8
test al, al
jne 0x34a527
mov esi, dword [esp + 0x18]
lea edi, [ebx + 0x4c]
call fcn.00352c30
mov esi, eax
lea edx, [esp + 0x4c]
cmp esi, edx
je 0x34a190
mov eax, dword [esp + 0x4c]
mov ecx, edx
mov edx, dword [eax + 0xc]
call edx
mov edx, esi
lea ecx, [esp + 0x4c]
call fcn.0036ca00
inc dword [esp + 0x18]
lea eax, [esp + 0x4c]
push eax
call fcn.00349b50
mov edi, eax
test edi, edi
je 0x34a1c4
mov ecx, dword [esp + 0x64]
jmp 0x349ff2
push 0xa3d
push str...CoreManager.cpp
push 0x43e244
call fcn.003b3c57
add esp, 0xc
mov esi, dword [esp + 0x20]
inc esi
mov dword [esp + 0x20], esi
cmp esi, dword [ebx + 0x20]
jl 0x349e3b
xor edi, edi
mov byte [esp + 0x178], 6
cmp dword [esp + 0x2c], edi
je 0x34a223
cmp dword [esp + 0x34], edi
je 0x34a20d
lea edx, [esp + 0x30]
push edx
call dword [esp + 0x2c]
test eax, eax
jne 0x34a20d
push 0x69
push str...Coreutility_common.cpp
push 0x43e244
call fcn.003b3c57
add esp, 0xc
cmp byte [esp + 0x38], 0
je 0x34a223
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.0036c030
lea ecx, [esp + 0x50]
mov byte [esp + 0x178], 0x27
call fcn.003eead0
mov ecx, edi
mov byte [esp + 0x178], 4
call fcn.003cc7c0
mov dword [esp + 0x74], vtable.tpsp::OPUNLOAD.0
lea edi, [esp + 0x74]
mov byte [esp + 0x178], 0x2a
call fcn.00369820
lea ecx, [esp + 0x78]
mov byte [esp + 0x178], 0x29
call fcn.003eead0
mov ecx, edi
mov byte [esp + 0x178], 2
call fcn.003cc7c0
mov dword [esp + 0xa4], vtable.tpsp::OPSHELLEXECUTE.0
lea edi, [esp + 0xa4]
mov byte [esp + 0x178], 0x2c
call fcn.00368740
mov byte [esp + 0x178], 0x2b
lea ecx, [esp + 0xa8]
call fcn.003eead0
lea ecx, [esp + 0xa4]
mov byte [esp + 0x178], 0
call fcn.003cc7c0
lea ecx, [esp + 0xd4]
mov dword [esp + 0x178], 0xffffffff
call fcn.003622d0
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.003b2239
mov esp, ebp
pop ebp
ret 4
lea esi, [esp + 0x24]
mov byte [esp + 0x178], 6
call fcn.0037b610
mov dword [esp + 0x4c], vtable.tpsp::OPDELETE.0
lea edi, [esp + 0x4c]
mov byte [esp + 0x178], 0x10
call fcn.0036c030
lea ecx, [esp + 0x50]
mov byte [esp + 0x178], 0xf
call fcn.003eead0
mov ecx, edi
mov byte [esp + 0x178], 4
call fcn.003cc7c0
mov dword [esp + 0x74], vtable.tpsp::OPUNLOAD.0
lea edi, [esp + 0x74]
mov byte [esp + 0x178], 0x12
call fcn.00369820
lea ecx, [esp + 0x78]
mov byte [esp + 0x178], 0x11
call fcn.003eead0
mov ecx, edi
mov byte [esp + 0x178], 2
call fcn.003cc7c0
mov dword [esp + 0xa4], vtable.tpsp::OPSHELLEXECUTE.0
lea edi, [esp + 0xa4]
mov byte [esp + 0x178], 0x14
call fcn.00368740
mov byte [esp + 0x178], 0x13
jmp 0x34a2bc
lea esi, [esp + 0x24]
mov byte [esp + 0x178], 6
call fcn.0037b610
mov dword [esp + 0x4c], vtable.tpsp::OPDELETE.0
lea edi, [esp + 0x4c]
mov byte [esp + 0x178], 0x16
call fcn.0036c030
lea ecx, [esp + 0x50]
mov byte [esp + 0x178], 0x15
call fcn.003eead0
mov ecx, edi
mov byte [esp + 0x178], 4
call fcn.003cc7c0
mov dword [esp + 0x74], vtable.tpsp::OPUNLOAD.0
lea edi, [esp + 0x74]
mov byte [esp + 0x178], 0x18
call fcn.00369820
lea ecx, [esp + 0x78]
mov byte [esp + 0x178], 0x17
call fcn.003eead0
mov ecx, edi
mov byte [esp + 0x178], 2
call fcn.003cc7c0
mov dword [esp + 0xa4], vtable.tpsp::OPSHELLEXECUTE.0
lea edi, [esp + 0xa4]
mov byte [esp + 0x178], 0x1a
call fcn.00368740
mov byte [esp + 0x178], 0x19
jmp 0x34a2bc
lea esi, [esp + 0x24]
mov byte [esp + 0x178], 6
call fcn.0037b610
mov dword [esp + 0x4c], vtable.tpsp::OPDELETE.0
lea edi, [esp + 0x4c]
mov byte [esp + 0x178], 0x1c
call fcn.0036c030
lea ecx, [esp + 0x50]
mov byte [esp + 0x178], 0x1b
call fcn.003eead0
mov ecx, edi
mov byte [esp + 0x178], 4
call fcn.003cc7c0
mov dword [esp + 0x74], vtable.tpsp::OPUNLOAD.0
lea edi, [esp + 0x74]
mov byte [esp + 0x178], 0x1e
call fcn.00369820
lea ecx, [esp + 0x78]
mov byte [esp + 0x178], 0x1d
call fcn.003eead0
mov ecx, edi
mov byte [esp + 0x178], 2
call fcn.003cc7c0
mov dword [esp + 0xa4], vtable.tpsp::OPSHELLEXECUTE.0
lea edi, [esp + 0xa4]
mov byte [esp + 0x178], 0x20
call fcn.00368740
mov byte [esp + 0x178], 0x1f
jmp 0x34a2bc
lea esi, [esp + 0x24]
mov byte [esp + 0x178], 6
call fcn.0037b610
mov dword [esp + 0x4c], vtable.tpsp::OPDELETE.0
lea edi, [esp + 0x4c]
mov byte [esp + 0x178], 0x22
call fcn.0036c030
lea ecx, [esp + 0x50]
mov byte [esp + 0x178], 0x21
call fcn.003eead0
mov ecx, edi
mov byte [esp + 0x178], 4
call fcn.003cc7c0
mov dword [esp + 0x74], vtable.tpsp::OPUNLOAD.0
lea edi, [esp + 0x74]
mov byte [esp + 0x178], 0x24
call fcn.00369820
lea ecx, [esp + 0x78]
mov byte [esp + 0x178], 0x23
call fcn.003eead0
mov ecx, edi
mov byte [esp + 0x178], 2
call fcn.003cc7c0
mov dword [esp + 0xa4], vtable.tpsp::OPSHELLEXECUTE.0
lea edi, [esp + 0xa4]
mov byte [esp + 0x178], 0x26
call fcn.00368740
mov byte [esp + 0x178], 0x25
jmp 0x34a2bc