Function at 0x466f40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x506040]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x84], ebx
push edi
mov dword [ebp - 0x80], esi
call dword [sym.imp.USER32.dll_GetDialogBaseUnits]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 8
push eax
mov dword [ebp - 0x1c], 8
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0
push dword [esi + 0xf8]
push 0
push ebx
push 0x64
push 0x64
push 0
push 0
push 0x54000000
push 0x4db82f
push str.SysTabControl32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [esi + 0xfc], eax
test eax, eax
jne 0x466fdf
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x467286
movzx eax, ax
or eax, 0x80070000
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004ba66b
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x7c]
push ecx
push 0
push 0x1307
push eax
mov dword [ebp - 0x7c], 3
mov dword [ebp - 0x68], 0xffffffff
mov dword [ebp - 0x70], 0x4e3378
call ebx
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x70], 0x4e336c
push eax
push 1
push 0x1307
push dword [esi + 0xfc]
call ebx
mov edx, dword [esi + 0xfc]
push ecx
mov ecx, dword [esi + 0xf8]
call fcn.00467b10
mov dword [esi + 0x11c], eax
mov edx, dword [esi + 0xfc]
mov ecx, dword [esi + 0xf8]
call fcn.0046a280
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceA]
add esp, 4
mov dword [esi + 0x120], eax
push 5
push 0x85
push 0
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
push dword [esi + 0xf8]
call edi
mov esi, dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call esi
mov ecx, dword [ebp - 0x80]
push 5
push 0x84
push 0
mov dword [ecx + 0x114], eax
call ebx
mov ebx, dword [ebp - 0x80]
push eax
push dword [ebx + 0xf8]
call edi
push eax
call esi
mov edi, dword [sym.imp.USER32.dll_GetClientRect]
mov dword [ebx + 0x118], eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebx + 0x11c]
push dword [eax + 0xd4]
call edi
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebx + 0x120]
push dword [eax + 0xd4]
call edi
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, dword [ebx + 0x114]
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
movsx eax, word [ecx + 0x16]
cmp eax, esi
cmovg esi, eax
mov dword [ebp - 0x10], esi
movsx eax, word [ecx + 0x18]
mov ecx, dword [ebx + 0x118]
cmp eax, edx
cmovg edx, eax
mov dword [ebp - 0xc], edx
movsx eax, word [ecx + 0x16]
cmp eax, esi
cmovg esi, eax
mov dword [ebp - 0x10], esi
movsx eax, word [ecx + 0x18]
cmp eax, edx
cmovg edx, eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x84]
mov dword [ebp - 0xc], edx
call dword [sym.imp.USER32.dll_MapDialogRect]
lea eax, [ebp - 0x18]
push eax
push 1
push 0x1328
push dword [ebx + 0xfc]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
call ebx
mov eax, dword [ebp - 0x14]
neg eax
push eax
mov eax, dword [ebp - 0x18]
neg eax
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov esi, dword [ebp - 0x80]
lea eax, [ebp - 0x18]
push eax
add esi, 0x104
push esi
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [ebp - 0x80]
push esi
push 0
push 0x1328
push dword [eax + 0xfc]
call ebx
mov ebx, dword [ebp - 0x80]
mov ecx, dword [esi]
push 4
mov edx, dword [ebx + 0x108]
mov eax, dword [ebx + 0x110]
sub eax, edx
push eax
mov eax, dword [ebx + 0x10c]
sub eax, ecx
push eax
mov eax, dword [ebx + 0x11c]
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
push edx
push ecx
push 0
push dword [eax + 0xd4]
call ebx
mov edx, dword [esi]
mov eax, dword [ebp - 0x80]
mov esi, eax
push 4
mov ecx, dword [eax + 0x108]
mov eax, dword [esi + 0x110]
sub eax, ecx
push eax
mov eax, dword [esi + 0x10c]
sub eax, edx
push eax
mov eax, dword [esi + 0x120]
push ecx
push edx
push 0
push dword [eax + 0xd4]
call ebx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
sub eax, edx
mov ecx, dword [ebp - 0x18]
push 4
push eax
mov eax, dword [ebp - 0x10]
sub eax, ecx
push eax
push edx
push ecx
push 0
push dword [esi + 0xfc]
call ebx
mov ebx, dword [ebp - 0x84]
lea eax, [ebp - 0x50]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x60]
push eax
push ebx
call edi
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 7
call ebx
push 0x2d
mov esi, eax
call ebx
lea eax, [esi + esi]
sub eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x10]
push 8
mov dword [ebp - 0x88], eax
call ebx
push 4
mov esi, eax
call ebx
push 0xf
mov edi, eax
call ebx
lea edx, [esi + esi]
sub edx, dword [ebp - 0x14]
push 6
add edx, eax
add edx, edi
add edx, dword [ebp - 0xc]
push edx
push dword [ebp - 0x88]
push 0
push 0
push 0
push dword [ebp - 0x84]
call dword [sym.imp.USER32.dll_SetWindowPos]
push ecx
mov ecx, dword [ebp - 0x80]
call fcn.004672a0
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ba66b
mov esp, ebp
pop ebp
ret 4