Function at 0x4020d4
Capabilities:
Create process on windows
Extract resource via kernel32 functions
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5cc
push ebx
push esi
push edi
push 0xa
pop ecx
mov esi, 0x44f170
lea edi, [ebp - 0xb8]
push 0x10
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x44f15c
lea edi, [ebp - 0x48]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop ecx
mov esi, 0x44f118
lea edi, [ebp - 0x8c]
lea eax, [ebp - 0xb8]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, 0x44f108
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x44f0fc
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x44f0ec
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push eax
movsb byte es:[edi], byte [esi]
call fcn.00401fe8
lea eax, [ebp - 0x48]
push eax
call fcn.00401fe8
lea eax, [ebp - 0x8c]
push eax
call fcn.00401fe8
lea eax, [ebp - 0x34]
push eax
call fcn.00401fe8
lea eax, [ebp - 0x14]
push eax
call fcn.00401fe8
lea eax, [ebp - 0x24]
push eax
call fcn.00401fe8
add esp, 0x18
xor ebx, ebx
push 0xa
push 0x44f0e8
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
je 0x402361
mov edi, dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x402361
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, 0xae
jne 0x402361
push 0xad
push dword [ebp - 4]
push 0x4556a0
call fcn.00440750
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp byte [0x4556a0], bl
je 0x4021f0
call fcn.00401bb5
test eax, eax
jne 0x402361
cmp byte [0x4556a2], bl
je 0x402205
call fcn.00401be6
test eax, eax
jne 0x402361
cmp byte [0x4556a3], bl
je 0x40221a
call fcn.00401c52
test eax, eax
jne 0x402361
cmp byte [0x4556a1], bl
je 0x40222f
call fcn.00401c10
test eax, eax
jne 0x402361
lea eax, [ebp - 0x4c8]
mov esi, 0x80000002
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0xb8]
push eax
push esi
call fcn.00401ea1
add esp, 0x10
test eax, eax
je 0x402361
lea eax, [ebp - 0x3c4]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x8c]
push eax
push esi
call fcn.00401ea1
add esp, 0x10
test eax, eax
je 0x402361
lea eax, [ebp - 0x1bc]
dec esi
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x8c]
push eax
push esi
call fcn.00401ea1
add esp, 0x10
test eax, eax
je 0x402361
lea eax, [ebp - 0x5cc]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x8c]
push eax
push esi
call fcn.00401ea1
add esp, 0x10
test eax, eax
je 0x402361
push 0x4556b6
call fcn.00402022
cmp byte [0x45571a], bl
pop ecx
je 0x40239f
mov esi, 0x45571b
push esi
call fcn.00402022
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x2c0]
push eax
call fcn.0043feb0
lea eax, [ebp - 0x2c0]
push 0x44f0e4
push eax
call fcn.0043fec0
lea eax, [ebp - 0x2c0]
push esi
push eax
call fcn.0043fec0
add esp, 0x1c
push 0xa
push 0x44f0e0
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
je 0x402361
push esi
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x402361
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x2c0]
push 0x44f0dc
push eax
call fcn.004403d1
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
jne 0x40236a
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
push edi
push 1
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00440642
push edi
call fcn.00440177
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push 1
push ebx
lea eax, [ebp - 0x2c0]
push ebx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
call fcn.00405c32
cmp byte [0x4556a5], bl
je 0x4023b1
call 0x4024f1
cmp byte [0x4556a6], bl
je 0x4023be
call fcn.0040273d
cmp byte [0x4556a7], bl
je 0x4023d3
lea eax, [ebp - 0x4c8]
push eax
call fcn.00402a19
pop ecx
cmp byte [0x4556a8], bl
je 0x4023e8
lea eax, [ebp - 0x1bc]
push eax
call fcn.00402dc7
pop ecx
cmp byte [0x4556a9], bl
je 0x4023f5
call fcn.00402f6d
cmp byte [0x4556aa], bl
je 0x402402
call fcn.0040331d
cmp byte [0x4556ab], bl
je 0x40240f
call fcn.004035a4
cmp byte [0x4556ac], bl
je 0x402424
lea eax, [ebp - 0x3c4]
push eax
call fcn.00403680
pop ecx
cmp byte [0x4556ad], bl
je 0x402439
lea eax, [ebp - 0x1bc]
push eax
call fcn.0040386d
pop ecx
cmp byte [0x4556ae], bl
je 0x402446
call fcn.0040427a
cmp byte [0x4556af], bl
je 0x402463
lea eax, [ebp - 0x5cc]
push eax
lea eax, [ebp - 0x1bc]
push eax
call fcn.0040459b
pop ecx
pop ecx
cmp byte [0x4556b0], bl
je 0x402478
lea eax, [ebp - 0x1bc]
push eax
call fcn.0040470a
pop ecx
cmp byte [0x4556b1], bl
je 0x402485
call fcn.00404adb
cmp byte [0x4556b2], bl
je 0x40249a
lea eax, [ebp - 0x1bc]
push eax
call fcn.00404cd0
pop ecx
cmp byte [0x4556b3], bl
je 0x4024af
lea eax, [ebp - 0x3c4]
push eax
call fcn.00404eeb
pop ecx
cmp byte [0x4556b4], bl
je 0x4024c4
lea eax, [ebp - 0x1bc]
push eax
call fcn.0040514d
pop ecx
cmp byte [0x4556b5], bl
je 0x4024d9
lea eax, [ebp - 0x1bc]
push eax
call fcn.004055dc
pop ecx
call fcn.00405ea4
cmp byte [0x4556a4], bl
je 0x4024eb
call fcn.00401c89
push ebx
call fcn.0044056d
push ebp
mov ebp, esp
sub esp, 0xf4
push ebx
push esi
push edi
mov esi, 0x44f1b8
lea edi, [ebp - 0x7c]
push 5
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop ecx
mov esi, 0x44f1a4
lea edi, [ebp - 0x90]
lea eax, [ebp - 0x7c]
xor ebx, ebx
push eax
rep movsd dword es:[edi], dword [esi]
mov word [ebp - 0x54], 0xe0
mov word [ebp - 0x52], 0xc8
mov word [ebp - 0x50], 0x108
mov word [ebp - 0x4e], 0x110
mov word [ebp - 0x4c], 0xc0
mov word [ebp - 0x4a], 0x114
mov word [ebp - 0x48], pe_nt_image_headers32
mov word [ebp - 0x46], 0xdc
mov word [ebp - 0x44], 0xb4
mov word [ebp - 0x42], 0xe4
mov word [ebp - 0x40], 0x118
mov word [ebp - 0x3e], 0x114
mov word [ebp - 0x3c], 0x104
mov word [ebp - 0x3a], 0xb4
mov word [ebp - 0x38], 0xd0
mov word [ebp - 0x36], 0xdc
mov word [ebp - 0x34], 0xd0
mov word [ebp - 0x32], 0xe0
mov word [ebp - 0x30], 0xb4
mov word [ebp - 0x2e], 0xe0
mov word [ebp - 0x2c], pe_nt_image_headers32
mov word [ebp - 0x2a], 0xdc
mov word [ebp - 0x28], 0xc8
mov word [ebp - 0x26], 0xb4
mov word [ebp - 0x24], 0x110
mov word [ebp - 0x22], 0xd4
mov word [ebp - 0x20], 0x114
mov word [ebp - 0x1e], 0x118
mov word [ebp - 0x1c], 0x114
mov word [ebp - 0x1a], 0xd4
mov word [ebp - 0x18], 0x108
mov word [ebp - 0x16], 0xdc
mov word [ebp - 0x14], 0xdc
mov word [ebp - 0x12], 0xe4
mov word [ebp - 0x10], 0x108
mov word [ebp - 0xe], 0xc0
mov word [ebp - 0xc], bx
mov dword [ebp - 4], ebx
call fcn.00401fe8
lea eax, [ebp - 0x90]
push eax
call fcn.00401fe8
mov eax, dword [0x454f20]
pop ecx
cmp eax, ebx
pop ecx
je 0x402736
cmp dword [0x454f24], ebx
je 0x402736
cmp dword [0x454f40], ebx
je 0x402736
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x7c]
push ebx
push ecx
call eax
lea eax, [ebp - 0x54]
xor esi, esi
cmp dword [ebp - 8], ebx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], 0x4a
mov edi, 0x44f1a0
jbe 0x4026c4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + esi*4]
lea eax, [eax + esi*4]
mov ecx, dword [ecx + 0x1c]
mov dword [ebp - 0x60], ecx
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x6c]
push eax
push 1
push ebx
lea eax, [ebp - 0x5c]
push ebx
push eax
lea eax, [ebp - 0x64]
push ebx
push eax
call dword [0x454f40]
push dword [ebp - 0x68]
lea eax, [ebp - 0xf4]
push 0x44f19c
push eax
call fcn.004404ee
lea eax, [ebp - 0xf4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + esi*4]
push dword [eax + 0x30]
push 0x454f50
push edi
call fcn.0040596d
add esp, 0x1c
inc esi
cmp esi, dword [ebp - 8]
jb 0x40265e
push dword [ebp - 4]
call dword [0x454f24]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x90]
push ebx
push eax
call dword [0x454f20]
xor esi, esi
cmp dword [ebp - 8], ebx
jbe 0x402728
mov eax, dword [ebp - 4]
mov eax, dword [eax + esi*4]
push dword [eax + 0x1c]
lea eax, [ebp - 0xf4]
push 0x44f19c
push eax
call fcn.004404ee
lea eax, [ebp - 0xf4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + esi*4]
push dword [eax + 0x30]
push 0x454f50
push edi
call fcn.0040596d
add esp, 0x1c
inc esi
cmp esi, dword [ebp - 8]
jb 0x4026ea
push dword [ebp - 4]
call dword [0x454f24]
push 1
pop eax
jmp 0x402738
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret