Function at 0x42148e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4402f6
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
mov eax, dword [0x448138]
xor eax, esp
mov dword [esp + 0x1b8], eax
push ebx
push esi
push edi
mov eax, dword [0x448138]
xor eax, esp
push eax
lea eax, [esp + 0x1d0]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], eax
mov edi, edx
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 4], eax
jne 0x421738
mov ecx, 0x154
mov dword [esp + 0x18], ebx
mov edx, ecx
lea eax, [esp + 0x6c]
mov byte [eax], bl
inc eax
dec edx
jne 0x421506
push ebx
lea eax, [esp + 0x70]
push eax
push ecx
push 0x29
mov dword [esp + 0x7c], ecx
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
test eax, eax
je 0x42152e
mov eax, dword [esp + 0x184]
mov dword [esp + 0x18], eax
push 0x406120
mov eax, edi
call fcn.0040e3ef
cmp eax, ebx
je 0x421656
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
lea ecx, [esp + 0x20]
push ecx
push 0x406128
push eax
mov dword [esp + 0x1e4], ebx
call fcn.0040e459
mov esi, dword [esp + 0x24]
cmp esi, dword [esp + 0x28]
jbe 0x421574
call fcn.0042b0a4
lea eax, [esp + 0x20]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x48], eax
mov esi, dword [esp + 0x28]
cmp dword [esp + 0x24], esi
jbe 0x421593
call fcn.0042b0a4
mov dword [esp + 0x4c], esi
lea edi, [esp + 0x48]
lea esi, [esp + 0x30]
call fcn.0040c70d
test al, al
je 0x421641
call fcn.0041a8d0
mov esi, dword [eax]
push ebx
lea ecx, [esp + 0x54]
mov dword [esp + 0x6c], 0xf
call fcn.00408384
lea eax, [esp + 0x50]
push eax
lea edi, [esi + 0x30]
push 0x403b50
mov byte [esp + 0x1e0], 1
call fcn.004237b0
test al, al
pop ecx
pop ecx
je 0x421627
push 0x406130
lea eax, [esp + 0x54]
call fcn.0040c69d
test eax, eax
jne 0x421600
mov ebx, dword [esp + 0x10]
lea eax, [ebx + 0x14]
jmp 0x421619
push 0x40613c
lea eax, [esp + 0x54]
call fcn.0040c69d
test eax, eax
jne 0x421627
mov ebx, dword [esp + 0x10]
lea eax, [ebx + 0x18]
push dword [esp + 0x18]
mov ecx, esi
push eax
call fcn.0042181c
xor ebx, ebx
push ebx
push 1
lea ecx, [esp + 0x58]
call fcn.00408339
lea esi, [esp + 0x30]
call fcn.00417150
jmp 0x421584
or dword [esp + 0x1d8], 0xffffffff
lea esi, [esp + 0x20]
call fcn.00420b6d
mov esi, dword [esp + 0x10]
movzx eax, word [esi + 0x1c]
push 5
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
cmp edi, ebx
je 0x4216ce
push edi
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x4216ce
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push dword [esi + 0x14]
mov dword [esp + 0x14], eax
push edi
push dword [esi + 4]
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
call fcn.0041277b
test eax, eax
pop ecx
pop ecx
jl 0x4216ce
push dword [ebp + 0x10]
push dword [esp + 0x20]
push dword [esi + 0xc]
push dword [esp + 0x20]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
push dword [esp + 0x14]
mov dword [esi + 8], eax
call fcn.0042acc6
pop ecx
cmp dword [esi + 8], ebx
jne 0x4216ee
push dword [ebp + 0x10]
movzx eax, word [esi + 0x1c]
push dword [esp + 0x20]
push dword [esi + 0xc]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
cmp eax, ebx
jne 0x4216f9
xor al, al
jmp 0x42173e
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x48]
push ecx
push eax
lea edi, [esp + 0x4c]
lea ebx, [esp + 0x48]
call fcn.00421179
add esp, 0xc
push 1
push dword [esp + 0x44]
push dword [esp + 0x44]
push dword [esp + 0x44]
push dword [esp + 0x54]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_MoveWindow]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov byte [esi + 0x10], 1
mov al, 1
mov ecx, dword [esp + 0x1d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1b8]
xor ecx, esp
call fcn.0042acb7
mov esp, ebp
pop ebp
ret 0xc