Function at 0x422b05
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x1a4
mov eax, 0x443b45
call fcn.00429926
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0x18]
mov esi, ecx
mov dword [ebp - 0x190], eax
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esi + 4], eax
cmp dword [esi + 8], ebx
jne 0x422d4a
mov ecx, 0x154
mov dword [ebp - 0x188], ebx
mov edx, ecx
lea eax, [ebp - 0x180]
mov byte [eax], bl
inc eax
dec edx
jne 0x422b52
push ebx
lea eax, [ebp - 0x180]
push eax
push ecx
push 0x29
mov dword [ebp - 0x180], ecx
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
test eax, eax
je 0x422b7c
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x188], eax
push 0x403e60
mov ecx, edi
call fcn.0041002f
cmp eax, ebx
je 0x422c4f
mov dword [ebp - 0x1a0], ebx
mov dword [ebp - 0x19c], ebx
mov dword [ebp - 0x198], ebx
lea ecx, [ebp - 0x1a4]
push ecx
push 0x403e58
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.004123b7
mov edi, dword [ebp - 0x1a0]
jmp 0x422c38
mov eax, dword [edi]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18c], eax
call fcn.00408032
mov ecx, dword [ebp - 0x18c]
lea eax, [ebp - 0x2c]
push eax
push 0x401598
mov byte [ebp - 4], 1
call fcn.0040e7ec
test al, al
je 0x422c2a
push 0x403e4c
lea ecx, [ebp - 0x2c]
call fcn.0040beca
test eax, eax
jne 0x422c02
lea eax, [esi + 0x14]
jmp 0x422c16
push 0x403e40
lea ecx, [ebp - 0x2c]
call fcn.0040beca
test eax, eax
jne 0x422c2a
lea eax, [esi + 0x18]
push dword [ebp - 0x188]
mov ecx, esi
push eax
push dword [ebp - 0x18c]
call fcn.0042259e
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00407cc4
add edi, 4
cmp edi, dword [ebp - 0x19c]
jne 0x422bc0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a4]
call fcn.00409751
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 0x422ccc
push edi
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x422ccc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push dword [esi + 0x14]
lea ecx, [ebp - 0x184]
push ecx
push eax
push edi
push dword [esi + 4]
mov dword [ebp - 0x184], ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
call fcn.0041362d
add esp, 0x10
test eax, eax
jl 0x422ccc
push dword [ebp + 0x14]
push dword [ebp - 0x190]
push dword [esi + 0xc]
push dword [ebp - 0x184]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
push dword [ebp - 0x184]
mov dword [esi + 8], eax
call fcn.00429f17
pop ecx
cmp dword [esi + 8], ebx
jne 0x422cee
push dword [ebp + 0x14]
movzx eax, word [esi + 0x1c]
push dword [ebp - 0x190]
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 0x422cf9
xor al, al
jmp 0x422d50
lea ecx, [ebp - 0x1a8]
push ecx
lea ecx, [ebp - 0x194]
push ecx
lea ecx, [ebp - 0x1b0]
push ecx
lea ecx, [ebp - 0x1ac]
push ecx
push eax
call fcn.00421742
add esp, 0x14
push 1
push dword [ebp - 0x1a8]
push dword [ebp - 0x194]
push dword [ebp - 0x1b0]
push dword [ebp - 0x1ac]
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
call fcn.004299b8
ret 0x14