Function at 0x41d440
Capabilities:
Create process on windows
Extract resource via kernel32 functions
Hide graphical window
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x2a4
mov dword [0x476cc4], eax
mov ecx, 0x55
push ebx
push ebp
push esi
mov ebp, dword [esp + 0x2b4]
push edi
xor eax, eax
lea edi, [esp + 0x1c]
push 0
rep stosd dword es:[edi], eax
push 1
push 3
push 1
push 0x80000000
push ebp
mov dword [0x477374], 0
stosb byte es:[edi], al
call fcn.0044a650
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41d815
mov edi, dword [0x477328]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov eax, ecx
mov edi, 0x476bc0
mov edx, edi
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, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x45a1cc
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x174]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push edx
mov dword [0x476a84], 4
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x41d593
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [0x477328]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1a0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov eax, ecx
mov edi, 0x476bc0
mov ebp, edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x476aa0
mov esi, edi
mov edx, ecx
mov edi, ebp
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
push eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push ebp
call fcn.0044c925
add esp, 0x14
lea eax, [esp + 0x18]
push 0
push eax
lea ecx, [esp + 0x24]
push 0x155
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edi, [esp + 0x6d]
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_LoadResource]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, dword [esp + 0x2bc]
mov edx, ecx
mov esi, edi
mov edi, 0x476980
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x41d6ac
mov eax, dword [0x4773fc]
push 5
push 0x94
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, dword [0x4773fc]
push eax
push ecx
call ebx
mov edx, dword [0x477340]
push 0
mov esi, eax
push 0x41d840
push 0
push esi
push edx
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamA]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
test edi, edi
je 0x41d82e
mov edi, dword [0x477328]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov eax, ecx
mov edi, 0x476bc0
mov edx, edi
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, 0x476aa0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x45a1cc
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x476cc4]
mov dword [0x477374], 0
test eax, eax
jne 0x41d6f2
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
call fcn.004354f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jae 0x41d6f2
mov dl, byte [eax + 0x28]
test dl, dl
je 0x41d6e7
inc dword [0x477374]
add eax, 0x62
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x41d6da
mov edx, dword [esp + 0x20]
mov eax, dword [0x477374]
lea ecx, [eax + edx*2]
cmp ecx, 0x3e8
jle 0x41d738
push 0x34
push 0x22c
push 0x476aa0
mov dword [0x47740c], 1
call fcn.00448b60
cmp eax, 7
jne 0x41d738
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2a4
ret 0xc
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov edx, dword [0x4773fc]
push 5
push 0x95
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
mov eax, dword [0x4773fc]
push eax
call ebx
mov ecx, dword [0x477340]
push 0
mov esi, eax
push 0x41e0a0
push 0
push esi
push ecx
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
push 5
push eax
mov dword [0x476ccc], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x476ccc]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [0x476ccc]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [0x476cc4]
test eax, eax
je 0x41d7be
push 0
call fcn.004368e0
call fcn.00436410
push 0xfa2
call fcn.004410d0
call fcn.0041e0d0
mov edi, 0x476980
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x41d7ef
mov ecx, dword [0x477358]
push 1
push eax
push eax
push 0x476980
push 0x45a5fc
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edx, dword [0x476ccc]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2a4
ret 0xc
push 0x30
push 0x217
push ebp
call fcn.00448b60
mov eax, dword [0x476ccc]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2a4
ret 0xc