Function at 0x11139e80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
cmp dword [ebx + 0x64], 0
push edi
mov dword [ebp - 0x9c], esi
je 0x11139ebe
push 0x216
push str...ctl32_nsmdlg.cpp
push str.m_attached__NULL
call fcn.11067750
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x4c]
mov edx, esi
shr edx, 0x10
mov dword [ebx + 0x34], eax
mov dword [ebp - 0x98], ecx
test edx, edx
jne 0x11139edc
movzx eax, si
mov dword [ebx + 0x40], eax
push 0
mov ecx, 0x1127ee20
call fcn.11170bb0
mov esi, dword [ebx + 0x40]
lea ecx, [ebp - 0x88]
push ecx
lea edi, [eax + 0x1c]
lea edx, [ebp - 0x8c]
push edx
mov ecx, edi
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x88], esi
call fcn.11160840
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x94]
cmp eax, dword [ecx + 0x20]
je 0x11139f38
pop edi
pop esi
mov eax, 2
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret 8
push 0
lea edx, [ebp - 0xa4]
push edx
mov ecx, edi
mov dword [ebp - 0xa4], esi
mov byte [ebp - 0xa0], 1
call fcn.11139ae0
push eax
lea eax, [ebp - 0xa4]
push eax
mov ecx, edi
call fcn.110cd580
mov esi, dword [ebx + 0x30]
mov dword [ebp - 0xa0], esi
test esi, esi
jne 0x11139f88
push 0x228
push str...ctl32_nsmdlg.cpp
push 0x11228ba0
call fcn.11067750
add esp, 0xc
mov eax, dword [ebx + 0x44]
test eax, eax
jne 0x11139f92
mov eax, dword [ebx + 0x40]
or eax, 0x10000
push eax
mov dword [ebp - 0xac], eax
call fcn.110ebe80
add esp, 4
mov ecx, esi
mov dword [ebp - 0xa8], eax
call fcn.110eb4b0
mov esi, eax
mov dword [ebp - 0x88], esi
test esi, esi
je 0x11139ff1
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x11139fd2
mov dword [ebp - 0x88], eax
jmp 0x11139ff1
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x11139fea
push str.Error._NSMDialog_CreateModal_has_invisible_parent_n
call fcn.111bd7b0
add esp, 4
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [ebp - 0x98]
mov dword [ecx], 1
call fcn.110fe3e0
mov edx, dword [ebp - 0x9c]
push 0
push edx
mov esi, eax
push 5
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov edi, eax
test edi, edi
jne 0x1113a033
push 0x254
push str...ctl32_nsmdlg.cpp
push str.hRsrc____Unable_to_find_resource_
call fcn.11067750
add esp, 0xc
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x1113a058
push 0x258
push str...ctl32_nsmdlg.cpp
push str.hGlobal____Unable_to_load_resource_
call fcn.11067750
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x1113a07c
push 0x25d
push str...ctl32_nsmdlg.cpp
push str.pDlgTemplate____Unable_to_lock_resource_
call fcn.11067750
add esp, 0xc
mov esi, dword [ebp - 0x88]
push esi
call fcn.11138d10
fstp st(0)
add esp, 4
cmp byte [0x1127ee18], 0
je 0x1113a0ac
push esi
call fcn.11138d10
fmul qword [0x1120e0c0]
add esp, 4
call fcn.111d9130
jmp 0x1113a0b7
push 0
push esi
call fcn.111bcad0
add esp, 8
fld1
mov dword [ebx + 0x80], eax
fstp qword [ebp - 0x90]
test esi, esi
je 0x1113a144
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1113a144
push 0x40
lea eax, [ebp - 0x84]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x1113a144
mov edx, 0x11206794
lea ecx, [ebp - 0x84]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x1113a119
test ax, ax
je 0x1113a115
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x1113a119
add ecx, 4
add edx, 4
test ax, ax
jne 0x1113a0f3
xor eax, eax
jmp 0x1113a11e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1113a144
push esi
call fcn.11138d10
fstp qword [ebp - 0x90]
push 0
call fcn.11138d10
fdivr qword [ebp - 0x90]
add esp, 8
fstp qword [ebp - 0x90]
push 0x48
call fcn.111709c0
add esp, 4
test eax, eax
je 0x1113a15e
push edi
mov ecx, eax
call fcn.11138e20
mov edi, eax
jmp 0x1113a160
xor edi, edi
fld qword [ebp - 0x90]
fld st(0)
fld1
fucompp
fnstsw ax
test ah, 0x44
jnp 0x1113a192
fmul qword [0x111fb5f8]
call fcn.111d9130
push eax
push str.ScaleModalDlg__d____n
call fcn.111bd7b0
fld qword [ebp - 0x90]
add esp, 8
sub esp, 8
mov ecx, edi
fstp qword [esp]
call fcn.11138750
mov esi, eax
test edi, edi
je 0x1113a1b5
mov ecx, edi
call fcn.111362a0
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [ebp - 0x88]
push ebx
push 0x11136a50
push ecx
push esi
call fcn.110fe3d0
push eax
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
push esi
mov edi, eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
cmp edi, 0xffffffff
jne 0x1113a202
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x9c]
push ebx
push 0x11136a50
push edx
push eax
call fcn.110fe3e0
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov edi, eax
mov ecx, dword [ebp - 0x98]
mov esi, dword [ebp - 0x94]
mov dword [ecx], 0
mov edx, dword [ebx + 0x40]
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x98]
push ecx
lea ecx, [esi + 0x1c]
mov dword [ebp - 0x8c], edx
call fcn.11160840
mov eax, dword [eax]
mov edx, esi
cmp eax, dword [edx + 0x20]
je 0x1113a24c
push eax
lea eax, [ebp - 0x8c]
push eax
lea ecx, [esi + 0x1c]
call fcn.110330f0
mov ecx, dword [ebp - 0xa8]
push ecx
call fcn.110ebe80
add esp, 4
cmp eax, dword [ebp - 0xac]
je 0x1113a26c
push eax
call fcn.110ebe80
add esp, 4
mov edx, dword [ebp - 0x88]
mov ecx, dword [ebp - 0xa0]
push edx
call fcn.110eb450
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.111d9022
mov esp, ebp
pop ebp
ret 8