Function at 0x417bd0
Capabilities:
Copy file
Extract resource via kernel32 functions
Hide graphical window

Disassembly:
sub esp, 0x1c8
mov ecx, 0x24
xor eax, eax
push ebx
push ebp
push esi
push edi
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
mov ecx, 0xd
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov eax, dword [0x477444]
mov ecx, dword [0x477340]
neg eax
sbb eax, eax
add eax, 0xa8
and eax, 0xffff
push eax
push ecx
call dword [sym.imp.USER32.dll_LoadBitmapA]
mov ecx, dword [0x4773fc]
mov ebp, eax
lea eax, [esp + 0x48]
mov edx, 3
mov esi, 0x30
mov dword [eax - 4], esi
mov dword [eax], 0x20
mov dword [eax + 4], ecx
mov dword [eax + 0x18], ebp
add eax, esi
dec edx
jne 0x417c29
mov ebx, dword [esp + 0x1dc]
mov edi, dword [0x4773b8]
lea edx, [esp + 0x44]
mov dword [esp + 0x1c], ecx
xor eax, eax
or ecx, 0xffffffff
mov dword [esp + 0x50], 0x92
mov dword [esp + 0x5c], 0x417e70
mov dword [esp + 0x80], 0x610
mov dword [esp + 0x8c], 0x417f60
mov dword [esp + 0xb0], 0xb9
mov dword [esp + 0xbc], 0x4180d0
mov dword [esp + 0x10], 0x34
mov dword [esp + 0x14], 0x2a8
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], 3
mov dword [esp + 0x30], edx
mov dword [0x476e20], eax
mov dword [0x476e18], eax
mov dword [0x476e24], eax
mov dword [0x476e1c], eax
lea edx, [esp + 0xd4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x45a4e0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0xd4]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00448fd0
test eax, eax
je 0x417d55
mov ecx, dword [0x477410]
push 0
lea edx, [esp + 0xd8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x417d55
call fcn.00431e90
test eax, eax
je 0x417d55
lea eax, [esp + 0xd4]
push eax
call fcn.0044c687
add esp, 4
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.COMCTL32.dll_PropertySheetA]
cmp eax, 0xffffffff
push ebp
jne 0x417d7b
call dword [sym.imp.GDI32.dll_DeleteObject]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c8
ret 4
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x476e20]
test eax, eax
je 0x417d6c
mov eax, dword [0x476e1c]
test eax, eax
je 0x417d6c
mov ebp, dword [sym.imp.USER32.dll_UpdateWindow]
push ebx
mov dword [0x477350], 1
call ebp
call fcn.004327d0
mov edx, dword [0x4773fc]
push 5
push 0x83
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
mov eax, dword [0x4773fc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ecx, dword [0x477340]
push 0
mov edi, eax
push 0x41d070
push ebx
push edi
push ecx
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
mov esi, eax
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call ebp
mov ebp, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push ebx
call ebp
push 1
push 0x3ee
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push 0x3ed
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [0x476e18]
mov ecx, dword [0x476e20]
push eax
mov eax, dword [0x476e24]
push esi
push 0
push edx
push eax
push ecx
call fcn.00442200
mov edx, dword [0x476e20]
push edx
call fcn.0044c186
add esp, 4
push 1
push ebx
call ebp
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c8
ret 4