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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1013e980
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x10170024]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x18], 1
call edx
mov ebx, dword [esi]
mov ecx, dword [edi + 0x1c]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esi + 4]
mov dword [eax + 4], ebx
mov ebx, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov dword [eax + 8], ebx
mov dword [eax + 0xc], esi
mov eax, dword [edx + 0xcc]
call eax
cmp eax, 0xffffffff
jne 0x10078597
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [edi + 0x1c]
mov esi, dword [ebp + 0x10]
mov edx, dword [ecx]
push esi
push eax
mov eax, dword [edx + 0xdc]
call eax
test eax, 0xffff
jne 0x10078580
mov ecx, dword [edi + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xe0]
call eax
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MSVCR80.dll_void____cdecl_operator_new___unsigned_int_
mov esi, eax
mov eax, dword [edi + 0x1c]
mov ebx, dword [eax]
mov ecx, eax
mov edx, dword [ecx]
mov eax, dword [edx + 0xe0]
add esp, 4
add ebx, 0xe4
call eax
mov ecx, dword [edi + 0x1c]
mov edx, dword [ebx]
push eax
push esi
call edx
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xe0]
call edx
call fcn.10060720
mov dword [esp + 0x4c], eax
mov byte [eax + 0x11], 1
mov eax, dword [esp + 0x4c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [eax], eax
mov eax, dword [esp + 0x4c]
xor ebx, ebx
mov dword [eax + 8], eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x78], ebx
call fcn.10060720
mov dword [esp + 0x40], eax
mov byte [eax + 0x11], 1
mov eax, dword [esp + 0x40]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x40]
mov dword [eax], eax
mov eax, dword [esp + 0x40]
mov dword [eax + 8], eax
mov dword [esp + 0x44], ebx
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x34]
mov byte [esp + 0x7c], 1
push edx
lea ebx, [esp + 0x44]
mov dword [esp + 0x1c], eax
call fcn.1005bd70
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xe0]
mov dword [esp + 0x14], 0
call edx
test eax, eax
jbe 0x100787aa
mov dword [esp + 0x10], esi
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx]
mov edx, dword [esi]
mov eax, dword [eax + 0xec]
push 0
push edx
call eax
mov ebx, eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x1c]
mov ecx, ebx
mov dword [esp + 0x24], ebx
call eax
mov ecx, dword [ebp + 0xc]
cmp dword [esi], ecx
mov dword [esp + 0x1c], eax
je 0x1007877a
cmp eax, 0xffffffff
je 0x1007877a
mov edx, dword [esp + 0x40]
mov eax, dword [edx]
lea esi, [esp + 0x3c]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], eax
test esi, esi
mov eax, dword [esp + 0x40]
mov dword [esp + 0x34], eax
je 0x100786f4
lea ecx, [esp + 0x3c]
cmp esi, ecx
je 0x100786fa
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x34]
cmp dword [esp + 0x2c], edx
je 0x10078776
test esi, esi
jne 0x1007870e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x2c]
cmp eax, dword [esi + 4]
jne 0x1007871d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
cmp ecx, dword [edx + 0xc]
jne 0x10078760
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x58]
push edx
lea ebx, [esp + 0x50]
mov dword [esp + 0x28], eax
call fcn.1005bd70
mov eax, dword [esi]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x64]
push edx
lea ebx, [esp + 0x44]
mov dword [esp + 0x28], eax
call fcn.1005bd70
lea esi, [esp + 0x28]
call fcn.1005ed90
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
jmp 0x100786e0
mov esi, dword [esp + 0x10]
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
call edx
mov ecx, dword [edi + 0x1c]
mov ebx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0xe0]
add ebx, 1
add esi, 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
call edx
cmp ebx, eax
jb 0x10078695
mov eax, dword [esp + 0x4c]
mov ebx, dword [eax]
lea esi, [esp + 0x48]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebx
lea esp, [esp]
test esi, esi
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x34], ecx
je 0x100787d4
lea edx, [esp + 0x48]
cmp esi, edx
je 0x100787da
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, dword [esp + 0x34]
je 0x10078874
test esi, esi
jne 0x100787ee
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, dword [esi + 4]
jne 0x100787f9
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx]
mov edx, dword [ebx + 0xc]
mov eax, dword [eax + 0x100]
push edx
call eax
test eax, eax
jne 0x1007885e
call sub.Comn.dll_GetObjectLog
mov ecx, dword [esp + 0x28]
cmp ebx, dword [ecx + 4]
mov esi, eax
jne 0x10078824
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [ebx + 0xc]
mov eax, dword [esi]
push edx
push 0x1d03
mov edi, str..UiTaskMgr.cpp
mov dword [esp + 0x2c], eax
call fcn.10064760
add esp, 4
push eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0xc]
push str._s:_DeleteVer__d_error.
push esi
call eax
mov edi, dword [ebp + 8]
add esp, 0x10
mov dword [esp + 0x18], 0
lea esi, [esp + 0x28]
call fcn.1005ed90
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
jmp 0x100787c0
mov byte [esp + 0x78], 0
mov eax, dword [esp + 0x40]
mov edx, dword [eax]
push eax
lea ecx, [esp + 0x40]
push ecx
mov esi, ecx
push edx
push esi
lea ecx, [esp + 0x40]
push ecx
mov edi, esi
call fcn.1005ebe0
mov edx, dword [esp + 0x40]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
xor eax, eax
add esp, 4
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [esp + 0x4c]
mov edx, dword [eax]
push eax
lea ecx, [esp + 0x4c]
push ecx
push edx
mov esi, ecx
push esi
lea eax, [esp + 0x40]
push eax
mov edi, ecx
call fcn.1005ebe0
mov ecx, dword [esp + 0x4c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x1c]
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc