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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10346e02
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi]
test ecx, ecx
je 0x1010722b
mov eax, dword [ecx]
call dword [eax + 0x44]
test eax, eax
je 0x1010722b
mov ecx, dword [esi]
test ecx, ecx
je 0x1010722b
mov eax, dword [ecx]
call dword [eax + 0x44]
mov edi, eax
test edi, edi
je 0x1010722b
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x1010722b
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x1010722b
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
call eax
test al, al
je 0x1010722b
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0xf8], 0
lea eax, [esp + 0x98]
push 0x50
push 0
push eax
mov dword [esp + 0xa0], 0
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x3c]
push 0x54
push 0
push eax
call sub.MSVCR120.dll_memset
mov eax, dword [esi + 0x74]
add esp, 0xc
mov dword [esp + 0x3c], 0x54
mov dword [esp + 0x40], eax
mov dword [esp + 0x50], 0x40014
push 8
push 0xa
mov dword [esp + 0x78], 1
mov dword [esp + 0x64], 1
mov dword [esp + 0x68], 0xa
call dword [sym.imp.MSVCR120.dll_calloc]
mov ebx, eax
add esp, 8
mov dword [esp + 0x64], ebx
mov ecx, edi
mov dword [esp + 0x28], ebx
mov dword [ebx], 1
mov edx, dword [edi]
call dword [edx + 4]
mov dword [ebx + 4], eax
mov ecx, edi
mov dword [esp + 0x68], 1
mov edx, dword [edi]
call dword [edx + 4]
lea ecx, [esp + 0x30]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x88], 0xffffffff
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 1
mov byte [esp + 0x38], 0
call fcn.101076e0
or dword [0x105e14e4], 8
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x84], 1
call dword [sym.imp.COMDLG32.dll_PrintDlgExW]
and dword [0x105e14e4], 0xfffffff7
test eax, eax
je 0x1010703e
call dword [sym.imp.COMDLG32.dll_CommDlgExtendedError]
test eax, eax
je 0x101071fb
push 0x30
push 0x1055acec
push 0x1055acd8
push dword [esi + 0x74]
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x101071fb
cmp dword [esp + 0x8c], 1
jne 0x101071fb
mov eax, dword [esp + 0x50]
test eax, 0x400000
je 0x1010706b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov dword [esp + 0x14], eax
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 8]
jmp 0x1010707e
test al, 2
jne 0x10107092
mov eax, dword [edi]
mov ecx, edi
mov dword [esp + 0x14], 1
call dword [eax + 4]
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x1c]
lea eax, [esp + 0x14]
push eax
call fcn.10107250
jmp 0x101070b8
xor esi, esi
cmp dword [esp + 0x5c], esi
jbe 0x101070b8
lea ebx, [ebx]
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x1c]
lea eax, [eax + esi*8]
push eax
call fcn.10107250
inc esi
cmp esi, dword [esp + 0x5c]
jb 0x101070a0
push dword [esp + 0x48]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalLock]
call esi
push dword [esp + 0x44]
mov ebx, eax
call esi
mov ebp, eax
test ebx, ebx
je 0x101070fb
movzx ecx, word [ebx]
movzx eax, word [ebx + 4]
lea ecx, [ebx + ecx*2]
mov dword [esp + 0xa4], ecx
lea eax, [ebx + eax*2]
movzx ecx, word [ebx + 2]
mov dword [esp + 0xa0], eax
lea ecx, [ebx + ecx*2]
mov dword [esp + 0x98], ecx
push 0x3c
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0xf8], 1
test eax, eax
je 0x1010713a
push dword [edi + 0x68]
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x24]
push ecx
push ebp
lea ecx, [esp + 0xa4]
push ecx
push dword [edi + 0x18]
mov ecx, eax
call fcn.10107860
mov esi, eax
jmp 0x1010713c
xor esi, esi
mov byte [esp + 0xf8], 0
test ebx, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
je 0x10107154
push dword [esp + 0x48]
call ebx
test ebp, ebp
je 0x1010715e
push dword [esp + 0x44]
call ebx
xor ecx, ecx
cmp dword [esi + 0x1c], ecx
jne 0x10107170
mov eax, dword [edi + 0x18]
mov ecx, 1
mov dword [esi + 0x1c], eax
or dword [0x105e14e4], 8
test ecx, ecx
jne 0x101071cb
push esi
lea ecx, [esp + 0x98]
call fcn.101088d0
mov byte [esp + 0xf8], 2
push ecx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [esp + 0x9c]
call fcn.10102d30
mov ecx, esi
call fcn.10107980
push esi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov byte [esp + 0xf8], 0
lea ecx, [esp + 0x94]
call fcn.10108a40
jmp 0x101071f0
push ecx
xor edx, edx
mov ecx, esi
call fcn.10107a60
add esp, 4
mov dword [esi + 0x1c], 0
mov ecx, esi
call fcn.10107980
push esi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
and dword [0x105e14e4], 0xfffffff7
mov ebx, dword [esp + 0x28]
push ebx
call dword [sym.imp.MSVCR120.dll_free]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
add esp, 4
push dword [esp + 0x48]
call esi
push dword [esp + 0x44]
call esi
mov dword [esp + 0xf8], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.100cd760
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret