Function at 0x43b740
Capabilities:
Enumerate pe sections
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x10], edx
push 4
push 0x1000
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x50]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x3c]
mov ecx, dword [ebp - 0x10]
add eax, dword [ecx + 0x54]
push eax
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.0049c670
add esp, 0xc
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 0x16]
and ecx, 0x2000
jne 0x43b7b0
xor eax, eax
jmp 0x43bd2e
mov edx, dword [ebp - 0x10]
movzx eax, word [edx + 0x18]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x10b
je 0x43b7ca
xor eax, eax
jmp 0x43bd2e
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx + 0x14]
mov eax, dword [ebp - 0x10]
lea ecx, [eax + edx + 0x18]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], 0
jmp 0x43b7ed
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 6]
cmp dword [ebp - 0x24], ecx
jge 0x43b8da
mov edx, dword [ebp - 0x24]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x20]
cmp dword [eax + edx + 0x10], 0
jne 0x43b868
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x38], 0
jbe 0x43b866
push 4
push 0x1000
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x38]
push eax
mov ecx, dword [ebp - 0x24]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
add eax, dword [edx + ecx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x20]
mov dword [eax + edx + 8], ecx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x38]
push edx
push 0
mov eax, dword [ebp - 0x28]
push eax
call fcn.0049ca10
add esp, 0xc
jmp 0x43b8d5
push 4
push 0x1000
mov ecx, dword [ebp - 0x24]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + ecx + 0x10]
push eax
mov ecx, dword [ebp - 0x24]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
add eax, dword [edx + ecx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x24]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + ecx + 0x10]
push eax
mov ecx, dword [ebp - 0x24]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp + 8]
add eax, dword [edx + ecx + 0x14]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0049c670
add esp, 0xc
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x20]
mov dword [ecx + eax + 8], edx
jmp 0x43b7e4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
sub eax, dword [edx + 0x34]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa0
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
jbe 0x43ba79
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
cmp dword [edx], 0
je 0x43ba79
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x30]
add edx, 8
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], 0
jmp 0x43b93c
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 4]
sub edx, 8
shr edx, 1
cmp dword [ebp - 0x3c], edx
jge 0x43ba68
mov eax, dword [ebp - 0x38]
mov cx, word [eax]
shr cx, 0xc
and cx, 0xf
movzx edx, cx
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
sub eax, 1
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 9
ja case.0x43b981.3
mov ecx, dword [ebp - 0x78]
movzx edx, byte [ecx + 0x43bd48]
jmp dword [edx*4 + 0x43bd34]
mov eax, 0xfff
mov ecx, dword [ebp - 0x38]
and ax, word [ecx]
movzx edx, ax
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + edx]
add ecx, dword [ebp - 0x1c]
mov edx, 0xfff
mov eax, dword [ebp - 0x38]
and dx, word [eax]
movzx edx, dx
mov eax, dword [ebp - 0x34]
mov dword [eax + edx], ecx
jmp case.0x43b981.3
mov ecx, 0xfff
mov edx, dword [ebp - 0x38]
and cx, word [edx]
movzx eax, cx
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + eax]
add edx, dword [ebp - 0x1c]
mov eax, 0xfff
mov ecx, dword [ebp - 0x38]
and ax, word [ecx]
movzx eax, ax
mov ecx, dword [ebp - 0x34]
mov dword [ecx + eax], edx
jmp case.0x43b981.3
mov edx, 0xfff
mov eax, dword [ebp - 0x38]
and dx, word [eax]
movzx ecx, dx
mov edx, dword [ebp - 0x1c]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
mov edx, dword [ebp - 0x34]
movzx ecx, word [edx + ecx]
add ecx, eax
mov edx, 0xfff
mov eax, dword [ebp - 0x38]
and dx, word [eax]
movzx edx, dx
mov eax, dword [ebp - 0x34]
mov word [eax + edx], cx
jmp case.0x43b981.3
mov ecx, 0xfff
mov edx, dword [ebp - 0x38]
and cx, word [edx]
movzx eax, cx
mov ecx, dword [ebp - 0x1c]
and ecx, 0xffff
movzx edx, cx
mov ecx, dword [ebp - 0x34]
movzx eax, word [ecx + eax]
add eax, edx
mov ecx, 0xfff
mov edx, dword [ebp - 0x38]
and cx, word [edx]
movzx ecx, cx
mov edx, dword [ebp - 0x34]
mov word [edx + ecx], ax
mov eax, dword [ebp - 0x38]
add eax, 2
mov dword [ebp - 0x38], eax
jmp 0x43b933
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x30]
add edx, dword [ecx + 4]
mov dword [ebp - 0x30], edx
jmp 0x43b90a
mov eax, dword [ebp - 0x10]
add eax, 0x80
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 4], 0
jbe 0x43bb8c
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
add eax, dword [edx]
mov dword [ebp - 0x40], eax
jmp 0x43baa7
mov ecx, dword [ebp - 0x40]
add ecx, 0x14
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
cmp dword [edx + 0xc], 0
je 0x43bb8c
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x43bad2
jmp 0x43bb8c
mov edx, dword [ebp - 0x40]
cmp dword [edx], 0
je 0x43bae4
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
mov dword [ebp - 0x7c], ecx
jmp 0x43baed
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x14]
add eax, dword [edx + 0x10]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x45], 0
jmp 0x43bb1a
mov ecx, dword [ebp - 0x44]
add ecx, 4
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x4c]
add edx, 4
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0
je 0x43bb7d
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx]
and edx, 0x80000000
je 0x43bb4c
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
and ecx, 0xffff
push ecx
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], eax
jmp 0x43bb6d
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x14]
add eax, dword [edx]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
add ecx, 2
push ecx
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], eax
mov edx, dword [ebp - 0x4c]
cmp dword [edx], 0
jne 0x43bb7b
mov byte [ebp - 0x45], 1
jmp 0x43bb7d
jmp 0x43bb08
movzx eax, byte [ebp - 0x45]
test eax, eax
je 0x43bb87
jmp 0x43bb8c
jmp 0x43ba9e
mov dword [ebp - 0x58], 0
jmp 0x43bb9e
mov ecx, dword [ebp - 0x58]
add ecx, 1
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x10]
movzx eax, word [edx + 6]
cmp dword [ebp - 0x58], eax
jge 0x43bd09
mov ecx, dword [ebp - 0x58]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + ecx + 0x24]
and eax, 0x2000000
je 0x43bbee
push 0x4000
mov ecx, dword [ebp - 0x58]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + ecx + 0x10]
push eax
mov ecx, dword [ebp - 0x58]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
add eax, dword [edx + ecx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x43bb95
mov ecx, dword [ebp - 0x58]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + ecx + 0x10]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jne 0x43bc3f
mov ecx, dword [ebp - 0x58]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + ecx + 0x24]
and eax, 0x40
je 0x43bc21
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x20]
mov dword [ebp - 0x60], edx
jmp 0x43bc3f
mov eax, dword [ebp - 0x58]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + eax + 0x24]
and edx, 0x80
je 0x43bc3f
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x60], ecx
cmp dword [ebp - 0x60], 0
jne 0x43bc4a
jmp 0x43bb95
mov edx, dword [ebp - 0x58]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + edx + 0x24]
and ecx, 0x20000000
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x58]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + edx + 0x24]
and ecx, 0x40000000
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x58]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + edx + 0x24]
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x6c]
shl edx, 4
mov eax, dword [ebp - 0x70]
lea ecx, [edx + eax*8 + 0x4faef4]
mov edx, dword [ebp - 0x5c]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x58]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + ecx + 0x24]
and eax, 0x4000000
je 0x43bcd7
mov ecx, dword [ebp - 0x64]
or ecx, 0x200
mov dword [ebp - 0x64], ecx
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x58]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + ecx + 0x10]
push eax
mov ecx, dword [ebp - 0x58]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
add eax, dword [edx + ecx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x43bb95
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x28], 0
je 0x43bd2b
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
add eax, dword [edx + 0x28]
mov dword [ebp - 0x74], eax
je 0x43bd2b
push 0
push 1
mov ecx, dword [ebp - 0x14]
push ecx
call dword [ebp - 0x74]
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret