Function at 0x433c50
Capabilities:
Allocate or change rwx memory
Enumerate pe sections
Execute shellcode via indirect call
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b8
mov eax, dword [0x1004610]
xor eax, ebp
mov dword [ebp - 0x94], eax
push esi
push edi
cmp dword [ebp + 8], 0
jne 0x433c75
xor eax, eax
jmp 0x434394
mov eax, dword [ebp + 8]
mov dword [ebp - 0x80], eax
push 0x40
mov ecx, dword [ebp - 0x80]
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
cmp eax, 1
jne 0x433c93
xor eax, eax
jmp 0x434394
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x80]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x1c], eax
push 0xf8
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
cmp eax, 1
jne 0x433cba
xor eax, eax
jmp 0x434394
mov edx, dword [ebp - 0x1c]
movzx eax, word [edx + 0x14]
cmp eax, 0xe0
jne 0x433cd7
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx + 0x18]
cmp edx, 0x10b
je 0x433cde
xor eax, eax
jmp 0x434394
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax + 6]
cmp ecx, 1
jge 0x433cf1
xor eax, eax
jmp 0x434394
mov edx, dword [ebp - 0x1c]
movzx eax, word [edx + 0x14]
mov ecx, dword [ebp - 0x1c]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 0x84], edx
mov dword [ebp - 4], 0x28
mov eax, dword [ebp - 0x84]
sub eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx + 6]
imul edx, dword [ebp - 4]
add eax, edx
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x38], 0
xor ecx, ecx
mov word [ebp - 0x18], cx
jmp 0x433d46
mov dx, word [ebp - 0x18]
add dx, 1
mov word [ebp - 0x18], dx
movzx eax, word [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx + 6]
cmp eax, edx
jae 0x433e1a
movzx eax, word [ebp - 0x18]
imul eax, eax, 0x28
movzx ecx, word [ebp - 0x18]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + eax + 0xc]
mov edx, dword [ebp - 0x84]
add eax, dword [edx + ecx + 0x10]
cmp dword [ebp - 0x10], eax
jae 0x433da5
movzx eax, word [ebp - 0x18]
imul eax, eax, 0x28
movzx ecx, word [ebp - 0x18]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + eax + 0xc]
mov edx, dword [ebp - 0x84]
add eax, dword [edx + ecx + 0x10]
mov dword [ebp - 0x10], eax
movzx eax, word [ebp - 0x18]
imul eax, eax, 0x28
movzx ecx, word [ebp - 0x18]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + eax + 0xc]
mov edx, dword [ebp - 0x84]
add eax, dword [edx + ecx + 8]
cmp dword [ebp - 0x10], eax
jae 0x433df1
movzx eax, word [ebp - 0x18]
imul eax, eax, 0x28
movzx ecx, word [ebp - 0x18]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + eax + 0xc]
mov edx, dword [ebp - 0x84]
add eax, dword [edx + ecx + 8]
mov dword [ebp - 0x10], eax
push 0xfbc27c
movzx eax, word [ebp - 0x18]
imul eax, eax, 0x28
add eax, dword [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x433e15
movzx ecx, word [ebp - 0x18]
mov dword [ebp - 0x38], ecx
jmp 0x433d3a
lea edx, [ebp - 0x78]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp - 0x74]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp - 0x74]
test edx, edx
je 0x433e44
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
imul ecx, dword [ebp - 0x74]
mov dword [ebp - 0x54], ecx
push 0x40
push 0x1000
mov edx, dword [ebp - 0x54]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x433e71
xor eax, eax
jmp 0x434394
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.00563a30
add esp, 0xc
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x14], 0
xor eax, eax
mov word [ebp - 0x18], ax
jmp 0x433eae
mov cx, word [ebp - 0x18]
add cx, 1
mov word [ebp - 0x18], cx
movzx edx, word [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax + 6]
cmp edx, ecx
jge 0x433f15
movzx edx, word [ebp - 0x18]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x28]
add ecx, dword [eax + edx + 0xc]
mov dword [ebp - 0x24], ecx
movzx edx, word [ebp - 0x18]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx + 0x14]
mov dword [ebp - 0x44], ecx
movzx edx, word [ebp - 0x18]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax + edx + 0x10]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00563a30
add esp, 0xc
jmp 0x433ea2
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x80]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
add edx, 0xf8
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x80]
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 0
jne 0x433f66
push 0x8000
push 0
mov eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x434394
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x80]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
je 0x433f83
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x80]
mov dword [ebp - 8], eax
jmp 0x433f9b
push 0x8000
push 0
mov ecx, dword [ebp - 0x80]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x434394
mov edx, 1
test edx, edx
je 0x434254
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
jne 0x433fbf
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0xc], 0
jne 0x433fbf
jmp 0x434254
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
add eax, dword [ebp - 0x40]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x30], 0
cmp dword [ebp + 0x10], 0
je 0x433fe5
mov ecx, dword [ebp - 0xc]
push ecx
call dword [ebp + 0x10]
add esp, 4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x433ff8
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x43400b
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x434110
mov ecx, 6
mov esi, 0xfbc260
lea edi, [ebp - 0x1a0]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
push 0xe9
push 0
lea ecx, [ebp - 0x185]
push ecx
call fcn.00561430
add esp, 0xc
lea edx, [ebp - 0x1a0]
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x90]
movsx ecx, byte [eax]
test ecx, ecx
je 0x43406a
mov edx, dword [ebp - 0x90]
add edx, 1
mov dword [ebp - 0x90], edx
jmp 0x43404c
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1a4], eax
mov ecx, dword [ebp - 0x1a4]
movsx edx, byte [ecx]
test edx, edx
je 0x4340c7
mov eax, dword [ebp - 0x90]
lea ecx, [ebp - 0x1a0]
sub eax, ecx
cmp eax, 0x82
jl 0x434097
jmp 0x4340c7
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x1a4]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 0x90]
add edx, 1
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x1a4]
add eax, 1
mov dword [ebp - 0x1a4], eax
jmp 0x434073
mov ecx, dword [ebp - 0x90]
mov byte [ecx], 0
push 0xfbc220
lea edx, [ebp - 0x1a0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0xfbc218
lea eax, [ebp - 0x1a0]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x8000
push 0
mov ecx, dword [ebp - 0x80]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x434394
mov edx, dword [ebp - 8]
cmp dword [edx], 0
je 0x434128
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
add ecx, dword [ebp - 0x80]
mov dword [ebp - 0x8c], ecx
jmp 0x434137
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
add eax, dword [ebp - 0x80]
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10]
add edx, dword [ebp - 0x80]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x8c]
cmp dword [eax], 0
je 0x434246
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx]
add edx, dword [ebp - 0x80]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x1a8], VariantInit
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax]
and ecx, dword [ebp - 0x1a8]
je 0x4341c8
cmp dword [ebp + 0x14], 0
je 0x4341a5
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx]
and eax, 0xffff
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call dword [ebp + 0x14]
add esp, 8
mov edx, dword [ebp - 0x88]
mov dword [edx], eax
jmp 0x4341c6
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax]
and ecx, 0xffff
push ecx
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x88]
mov dword [ecx], eax
jmp 0x434202
cmp dword [ebp + 0x14], 0
je 0x4341e9
mov edx, dword [ebp - 0x34]
add edx, 2
push edx
mov eax, dword [ebp - 0x30]
push eax
call dword [ebp + 0x14]
add esp, 8
mov ecx, dword [ebp - 0x88]
mov dword [ecx], eax
jmp 0x434202
mov edx, dword [ebp - 0x34]
add edx, 2
push edx
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x88]
mov dword [ecx], eax
cmp dword [ebp - 0x88], 0
jne 0x434223
push 0x8000
push 0
mov edx, dword [ebp - 0x80]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x434394
mov eax, dword [ebp - 0x88]
add eax, 4
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x8c]
add ecx, 4
mov dword [ebp - 0x8c], ecx
jmp 0x434146
mov edx, dword [ebp - 8]
add edx, 0x14
mov dword [ebp - 8], edx
jmp 0x433f9b
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0xa0]
mov dword [ebp - 0x3c], ecx
cmp dword [ebp - 0x3c], 0
je 0x43436e
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x1b4], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1b4]
add ecx, dword [eax + 0x50]
mov dword [ebp - 0x1b0], ecx
mov edx, dword [ebp - 0x3c]
add edx, dword [ebp - 0x80]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
cmp dword [eax], 0
je 0x43436e
mov ecx, dword [ebp - 0x3c]
add ecx, 8
mov dword [ebp - 0x1b8], ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
add eax, dword [edx + 4]
cmp dword [ebp - 0x1b8], eax
jae 0x43435d
mov ecx, dword [ebp - 0x1b8]
movzx edx, word [ecx]
and edx, 0xf000
mov dword [ebp - 0x50], edx
cmp dword [ebp - 0x50], 0x3000
jne 0x43432e
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x80]
add ecx, dword [eax]
mov edx, dword [ebp - 0x1b8]
movzx eax, word [edx]
and eax, 0xfff
add ecx, eax
mov dword [ebp - 0x7c], ecx
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x80]
add edx, dword [ecx]
mov eax, dword [ebp - 0x1c]
sub edx, dword [eax + 0x34]
mov dword [ebp - 0x1ac], edx
mov ecx, dword [ebp - 0x1ac]
cmp ecx, dword [ebp - 0x1b4]
jb 0x43432c
mov edx, dword [ebp - 0x1ac]
cmp edx, dword [ebp - 0x1b0]
jae 0x43432c
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x1ac]
mov dword [eax], ecx
jmp 0x434349
cmp dword [ebp - 0x50], 0
je 0x434349
push 0x8000
push 0
mov edx, dword [ebp - 0x80]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x434394
mov eax, dword [ebp - 0x1b8]
add eax, 2
mov dword [ebp - 0x1b8], eax
jmp 0x4342a6
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x3c]
add edx, dword [ecx + 4]
mov dword [ebp - 0x3c], edx
jmp 0x43428e
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x28]
add ecx, dword [ebp - 0x80]
mov dword [ebp - 0x4c], ecx
cmp dword [ebp + 0xc], 0
jne 0x434386
mov edx, dword [ebp - 0x28]
mov dword [ebp + 0xc], edx
push 0
push 1
mov eax, dword [ebp + 0xc]
push eax
call dword [ebp - 0x4c]
mov eax, dword [ebp - 0x28]
pop edi
pop esi
mov ecx, dword [ebp - 0x94]
xor ecx, ebp
call fcn.00560195
mov esp, ebp
pop ebp
ret