Function at 0x411d30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x428e20
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x4362ac]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x38], ebx
movzx esi, word [ebp + 8]
mov eax, dword [0x438c70]
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceA]
push 0xf0
push esi
push eax
call edi
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x14], ecx
cmp eax, ecx
je 0x411da5
mov ecx, dword [0x438c70]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x411da5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x30], eax
mov edx, dword [0x438c70]
push 5
push esi
push edx
call edi
test eax, eax
je 0x4120e7
push eax
mov eax, dword [0x438c70]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4120de
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x4120de
movzx ecx, word [eax + 2]
mov dword [esp + 0x34], eax
xor eax, eax
mov edx, 0xffff
cmp cx, dx
sete al
cmp cx, dx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x34]
lea ecx, [eax + 0x10]
je 0x411e05
lea ecx, [eax + 8]
movzx esi, word [ecx]
mov ecx, eax
mov dword [esp + 0x3c], esi
call fcn.0040ba30
mov edi, eax
mov eax, dword [ebx + 4]
push 5
push eax
mov dword [esp + 0x30], edi
call dword [sym.imp.USER32.dll_GetWindow]
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], edx
cmp cx, si
jae 0x4120e7
jmp 0x411e44
mov edi, dword [esp + 0x28]
cmp dword [esp + 0x20], 0
je 0x411e53
mov ecx, dword [edi + 0x14]
lea eax, [edi + 0x18]
jmp 0x411e5a
movzx ecx, word [edi + 0x10]
lea eax, [edi + 0x12]
cmp word [eax], 0x7b
jne 0x412060
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x24]
push edx
mov ebx, ecx
mov dword [esp + 0x28], 0
call fcn.0040bb40
mov ebx, eax
xor eax, eax
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x60], eax
cmp ebx, eax
je 0x411ed6
push ebx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x41209b
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [esp + 0x24]
push ebx
push ecx
push ebx
push eax
call fcn.00416b6d
push eax
call fcn.00404e60
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea edx, [esp + 0x18]
push edx
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
xor eax, eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
mov byte [esp + 0x60], 1
mov esi, dword [esp + 0x18]
push eax
call fcn.0040bd00
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jl 0x41203b
mov dword [esp + 0x14], 0
call fcn.00410480
mov esi, dword [esp + 0x20]
test esi, esi
je 0x411f1e
movzx eax, word [edi + 0xc]
lea ecx, [edi + 0x18]
mov dword [esp + 0x34], ecx
jmp 0x411f29
movzx eax, word [edi + 8]
lea edx, [edi + 0x12]
mov dword [esp + 0x34], edx
movsx edx, ax
mov dword [esp + 0x44], edx
test esi, esi
je 0x411f3a
movzx eax, word [edi + 0xe]
jmp 0x411f3e
movzx eax, word [edi + 0xa]
movsx ecx, ax
mov dword [esp + 0x48], ecx
test esi, esi
je 0x411f4f
movzx eax, word [edi + 0x10]
jmp 0x411f53
movzx eax, word [edi + 0xc]
cwde
add eax, edx
mov dword [esp + 0x4c], eax
test esi, esi
je 0x411f64
movzx eax, word [edi + 0x12]
jmp 0x411f68
movzx eax, word [edi + 0xe]
mov ebx, dword [esp + 0x38]
movsx edx, ax
add edx, ecx
mov ecx, dword [ebx + 4]
lea eax, [esp + 0x44]
push eax
push ecx
mov dword [esp + 0x58], edx
call dword [sym.imp.USER32.dll_MapDialogRect]
test esi, esi
je 0x411f93
mov esi, dword [edi + 0x14]
mov edx, dword [edi + 4]
mov eax, dword [edi + 8]
jmp 0x411f9b
movzx esi, word [edi + 0x10]
mov eax, dword [edi]
xor edx, edx
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
or eax, 0x10000
push eax
push ecx
mov eax, esp
mov dword [ecx], esi
lea edx, [esp + 0x54]
mov dword [eax], edx
mov eax, dword [ebx + 4]
mov dword [esp + 0x50], esp
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004121e0
mov esi, dword [esp + 0x14]
test esi, esi
je 0x412032
cmp dword [esp + 0x20], 0
je 0x411fe3
mov edi, dword [edi]
test edi, edi
je 0x411fe3
push edi
push esi
call dword [sym.imp.USER32.dll_SetWindowContextHelpId]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x1c]
call fcn.00412590
mov dword [esp + 0x14], eax
test eax, eax
jl 0x4120bd
cmp word [esp + 0x2c], 0
jne 0x412012
xor eax, eax
jmp 0x412016
mov eax, dword [esp + 0x1c]
push 0x13
push 0
push 0
push 0
push 0
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x1c], esi
jmp 0x41203b
call fcn.00408110
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esp + 0x60], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x412076
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x412076
test dx, dx
je 0x412076
mov ecx, dword [esp + 0x1c]
push 2
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x20]
mov eax, edi
call fcn.0040bad0
mov edx, dword [esp + 0x2c]
inc edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
cmp dx, word [esp + 0x3c]
jb 0x411e40
jmp 0x4120e7
mov dword [esp + 0x60], 0xffffffff
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], 0x8007000e
test eax, eax
je 0x4120e7
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x4120e7
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esp + 0x60], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4120e7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x4120e7
call fcn.00408110
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4