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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100b3391
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x168], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x180]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 4]
mov esi, dword [ebx]
sub eax, esi
sar eax, 6
test eax, eax
je 0x100772ef
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
xor edi, edi
mov dword [esp + 0x188], 0
test eax, eax
je 0x10077248
xor ecx, ecx
mov dword [esp + 0x10], ecx
lea esp, [esp]
mov eax, dword [esi + ecx]
mov dword [esp + 0x34], eax
mov eax, dword [esi + ecx + 4]
mov dword [esp + 0x38], eax
mov eax, dword [esi + ecx + 8]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + ecx + 0xc]
mov dword [esp + 0x40], eax
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [esp + 0x4c], ax
lea eax, [ecx + 0x10]
add eax, esi
mov dword [esp + 0x60], 7
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x60], 0
call fcn.10004ff0
xor eax, eax
mov byte [esp + 0x188], 1
push 0xffffffffffffffff
push eax
mov word [esp + 0x64], ax
lea ecx, [esp + 0x64]
mov eax, dword [esp + 0x18]
add eax, 0x28
mov dword [esp + 0x78], 7
add eax, esi
mov dword [esp + 0x74], 0
push eax
call fcn.10004ff0
push 0xff
lea eax, [esp + 0x79]
mov byte [esp + 0x18c], 2
push 0
push eax
mov byte [esp + 0x80], 0
call sub.MSVCR120.dll_memset
push dword [esp + 0x4c]
lea eax, [esp + 0x84]
push dword [esp + 0x4c]
push dword [esp + 0x48]
push str._d__d__d
push eax
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0x20
cmp byte [esp + 0x74], 0
jne 0x100771bb
xor eax, eax
jmp 0x100771cb
lea eax, [esp + 0x74]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100771c2
sub eax, edx
push eax
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x24]
call fcn.1000dc90
mov byte [esp + 0x188], 0
cmp dword [esp + 0x70], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x100771f8
push dword [esp + 0x5c]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x70], 7
cmp dword [esp + 0x58], 8
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
jb 0x1007721f
push dword [esp + 0x44]
call esi
add esp, 4
mov eax, dword [ebx + 4]
inc edi
mov esi, dword [ebx]
sub eax, esi
mov ecx, dword [esp + 0x10]
add ecx, 0x40
sar eax, 6
mov dword [esp + 0x10], ecx
cmp edi, eax
jb 0x100770f0
cmp dword [esp + 0x30], 0x10
mov ebx, dword [esp + 0x1c]
jae 0x1007724c
lea ebx, [esp + 0x1c]
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x7c]
mov esi, dword [sym.imp.MSVCR120.dll_strncpy]
push 0x80
push str.phone.cell
mov edi, dword [edi]
push eax
mov dword [esp + 0x80], 0xb
mov dword [esp + 0x84], 5
call esi
push 0x5c
lea eax, [esp + 0x10c]
push ebx
push eax
call esi
add esp, 0x18
cmp dword [edi + 0x14], 0xffffffff
je 0x100772db
lea esi, [edi + 0x24]
mov dword [esp + 0x18], 0xe4
push esi
mov dword [esp + 0x18], 0x19810202
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 8
lea eax, [esp + 0x18]
push eax
lea ecx, [edi + 0x10]
call fcn.100040b0
test al, al
je 0x100772d4
push 0xe4
lea eax, [esp + 0x78]
push eax
lea ecx, [edi + 0x10]
call fcn.100040b0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x30], 0x10
jb 0x100772ef
push dword [esp + 0x1c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x168]
xor ecx, esp
call fcn.100ab974
mov esp, ebp
pop ebp
ret 4