Function at 0x414700
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x40
push esi
push 0x30
call fcn.0044e9da
add esp, 4
mov esi, eax
call dword [sym.imp.user32.dll_GetDialogBaseUnits]
push 0xfffffffffffffffa
push edi
call dword [sym.imp.user32.dll_GetWindowLongA]
push 0
push eax
push 0
push edi
push 0x64
push 0x64
push 0
push 0
push 0x54010000
push 0x46f3cc
push 0x4717bc
push 0
mov dword [esi + 4], 0
call dword [sym.imp.user32.dll_CreateWindowExA]
test eax, eax
mov dword [esi], eax
jne 0x414761
push esi
call fcn.0045d8b0
add esp, 4
xor eax, eax
pop esi
add esp, 0x40
ret
push ebx
mov ebx, dword [sym.imp.user32.dll_SendMessageA]
push ebp
lea eax, [esp + 0x30]
push eax
push 0
mov dword [esp + 0x38], 3
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x44], 0x4717b0
mov ecx, dword [esi]
push 0x1307
push ecx
call ebx
lea edx, [esp + 0x30]
push edx
push 1
mov dword [esp + 0x44], 0x4717a4
mov eax, dword [esi]
push 0x1307
push eax
call ebx
lea ecx, [esp + 0x30]
push ecx
push 2
mov dword [esp + 0x44], 0x47179c
mov edx, dword [esi]
push 0x1307
push edx
call ebx
mov ebp, dword [sym.imp.kernel32.dll_FindResourceA]
push 5
push 0x8a
push 0
call ebp
push eax
push 0
call dword [sym.imp.kernel32.dll_LoadResource]
push eax
call dword [sym.imp.kernel32.dll_LockResource]
push 5
push 0x8d
push 0
mov dword [esi + 0x18], eax
call ebp
push eax
push 0
call dword [sym.imp.kernel32.dll_LoadResource]
push eax
call dword [sym.imp.kernel32.dll_LockResource]
push 5
push 0x97
push 0
mov dword [esi + 0x1c], eax
call ebp
push eax
push 0
call dword [sym.imp.kernel32.dll_LoadResource]
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov dword [esi + 0x20], eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.user32.dll_SetRectEmpty]
lea ecx, [esp + 0x10]
push ecx
push 1
mov dword [esp + 0x20], 0x190
mov dword [esp + 0x24], 0x12c
mov edx, dword [esi]
push 0x1328
push edx
call ebx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, 8
sub eax, ecx
mov ecx, 8
sub ecx, edx
push eax
push ecx
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.user32.dll_OffsetRect]
lea eax, [esp + 0x10]
push eax
lea ebp, [esi + 8]
push ebp
call dword [sym.imp.user32.dll_CopyRect]
mov ecx, dword [esi]
push ebp
push 0
push 0x1328
push ecx
call ebx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov ebp, dword [sym.imp.user32.dll_SetWindowPos]
push 4
sub edx, eax
push edx
mov edx, dword [esp + 0x20]
sub edx, ecx
push edx
push eax
mov eax, dword [esi]
push ecx
push 0
push eax
call ebp
push 2
push edi
call dword [sym.imp.user32.dll_GetDlgItem]
lea ecx, [esp + 0x20]
mov ebx, eax
push ecx
push ebx
call dword [sym.imp.user32.dll_GetWindowRect]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push 5
push 0
push 0
add edx, 8
push edx
sub eax, dword [esp + 0x38]
add eax, ecx
push eax
push 0
push ebx
call ebp
lea ecx, [esp + 0x20]
push ecx
push ebx
call dword [sym.imp.user32.dll_GetWindowRect]
mov ebx, dword [sym.imp.user32.dll_ScreenToClient]
lea edx, [esp + 0x20]
push edx
push edi
call ebx
lea eax, [esp + 0x28]
push eax
push edi
call ebx
push 1
push edi
call dword [sym.imp.user32.dll_GetDlgItem]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
sub edx, ecx
push 4
push edx
mov edx, dword [esp + 0x30]
mov ebx, edx
sub ebx, dword [esp + 0x28]
push ebx
push ecx
mov ecx, dword [esp + 0x30]
lea ecx, [ecx + ecx - 8]
sub ecx, edx
push ecx
push 0
push eax
call ebp
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
neg edx
push edx
neg eax
push eax
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.user32.dll_OffsetRect]
mov ebp, dword [sym.imp.user32.dll_GetSystemMetrics]
push 7
call ebp
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
lea ebx, [eax + eax + 0x10]
sub ebx, edx
push 8
add ebx, ecx
call ebp
lea edx, [eax + eax + 0x18]
mov eax, edx
sub eax, dword [esp + 0x14]
push 4
mov dword [esp + 0x10], eax
call ebp
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
add ecx, ebp
mov ebp, dword [esp + 0x1c]
push 6
add eax, ecx
add eax, ebp
push eax
push ebx
push 0
push 0
push 0
push edi
call dword [sym.imp.user32.dll_SetWindowPos]
push 0xffffffffffffffeb
push edi
mov dword [esi + 0x24], 0x413c20
mov dword [esi + 0x28], 0x413e40
mov dword [esi + 0x2c], 0x414180
call dword [sym.imp.user32.dll_GetWindowLongA]
push edi
mov dword [eax], esi
call fcn.004145f0
add esp, 4
pop ebp
pop ebx
mov eax, 1
pop esi
add esp, 0x40
ret