Function at 0x10018a60
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x104b0c64]
imul eax, dword [0x104b0e20]
mov dword [0x104b0d88], eax
mov ecx, dword [0x104b0cb4]
and ecx, dword [0x104b0d6c]
mov dword [0x104b0d9c], ecx
mov edx, dword [0x104b0cbc]
imul edx, dword [0x104b0e18]
mov dword [0x104b0bec], edx
mov eax, dword [0x104b0e10]
sub eax, dword [0x104b0c24]
mov dword [0x104b0be8], eax
mov ecx, dword [0x104b0c48]
and ecx, dword [0x104b0d1c]
mov dword [0x104b0c38], ecx
mov edx, dword [0x104b0e2c]
sub edx, dword [0x104b0ca8]
mov dword [0x104b0d68], edx
mov eax, dword [0x104b0d38]
and eax, dword [0x104b0c74]
mov dword [0x104b0cdc], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x14], edx
mov eax, dword [0x104b0d1c]
sub eax, dword [0x104b0e80]
mov dword [0x104b0d48], eax
mov ecx, dword [0x104b0d58]
add ecx, dword [0x104b0d6c]
mov dword [0x104b0bdc], ecx
mov edx, dword [0x104b0d90]
add edx, dword [0x104b0d88]
mov dword [0x104b0e94], edx
mov eax, dword [0x104b0e34]
add eax, dword [0x104b0c24]
mov dword [0x104b0e54], eax
mov ecx, dword [0x104b0e94]
and ecx, dword [0x104b0df0]
mov dword [0x104b0e1c], ecx
mov edx, dword [0x104b0be0]
and edx, dword [0x104b0d90]
mov dword [0x104b0ccc], edx
mov eax, dword [0x104b0dfc]
sub eax, dword [0x104b0e5c]
mov dword [0x104b0c54], eax
mov ecx, dword [0x104b0c3c]
imul ecx, dword [0x104b0c14]
mov dword [0x104b0c80], ecx
mov edx, dword [0x104b0d44]
and edx, dword [0x104b0e40]
mov dword [0x104b0cbc], edx
mov eax, dword [0x104b0be0]
imul eax, dword [0x104b0c90]
mov dword [0x104b0cec], eax
mov ecx, dword [0x104b0c44]
and ecx, dword [0x104b0d5c]
mov dword [0x104b0c60], ecx
mov edx, dword [0x104b0db8]
add edx, dword [0x104b0e9c]
mov dword [0x104b0e34], edx
mov eax, dword [0x104b0d64]
sub eax, dword [0x104b0d44]
mov dword [0x104b0d1c], eax
mov ecx, dword [0x104b0d54]
sub ecx, dword [0x104b0c54]
mov dword [0x104b0e90], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
movzx ecx, word [edx + 0x14]
lea edx, [eax + ecx + 0x18]
mov dword [ebp - 4], edx
mov eax, dword [0x104b0e2c]
imul eax, dword [0x104b0dfc]
mov dword [0x104b0cf8], eax
mov ecx, dword [0x104b0de8]
imul ecx, dword [0x104b0d28]
mov dword [0x104b0e18], ecx
mov edx, dword [0x104b0d70]
add edx, dword [0x104b0cc4]
mov dword [0x104b0cd4], edx
mov eax, dword [0x104b0d08]
sub eax, dword [0x104b0e88]
mov dword [0x104b0c50], eax
mov dword [ebp - 0xc], 0
jmp 0x10018c53
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
add edx, 0x28
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
movzx edx, word [ecx + 6]
cmp dword [ebp - 0xc], edx
jge 0x10018fed
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
jne 0x10018eac
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0x10], edx
mov eax, dword [0x104b0c5c]
and eax, dword [0x104b0d28]
mov dword [0x104b0dfc], eax
mov ecx, dword [0x104b0d40]
imul ecx, dword [0x104b0e00]
mov dword [0x104b0c18], ecx
mov edx, dword [0x104b0dc0]
imul edx, dword [0x104b0d9c]
mov dword [0x104b0e54], edx
cmp dword [ebp - 0x10], 0
jle 0x10018e3e
push 4
push 0x1000
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
add edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
mov eax, dword [0x104b0cc8]
imul eax, dword [0x104b0d04]
mov dword [0x104b0e08], eax
mov ecx, dword [0x104b0c58]
and ecx, dword [0x104b0d34]
mov dword [0x104b0e94], ecx
mov edx, dword [0x104b0cfc]
sub edx, dword [0x104b0c08]
mov dword [0x104b0ce8], edx
mov eax, dword [0x104b0c20]
and eax, dword [0x104b0db0]
mov dword [0x104b0d34], eax
mov ecx, dword [0x104b0c30]
and ecx, dword [0x104b0d60]
mov dword [0x104b0ca4], ecx
mov edx, dword [0x104b0dfc]
and edx, dword [0x104b0e98]
mov dword [0x104b0db4], edx
mov eax, dword [0x104b0cb8]
and eax, dword [0x104b0cc0]
mov dword [0x104b0d70], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 8], edx
mov eax, dword [0x104b0c00]
and eax, dword [0x104b0e30]
mov dword [0x104b0e64], eax
mov ecx, dword [0x104b0e08]
and ecx, dword [0x104b0e9c]
mov dword [0x104b0d78], ecx
mov edx, dword [0x104b0d14]
add edx, dword [0x104b0e04]
mov dword [0x104b0dac], edx
mov eax, dword [0x104b0ce8]
sub eax, dword [0x104b0e00]
mov dword [0x104b0d0c], eax
mov ecx, dword [0x104b0d84]
add ecx, dword [0x104b0cf8]
mov dword [0x104b0d14], ecx
mov edx, dword [0x104b0d88]
add edx, dword [0x104b0d68]
mov dword [0x104b0dfc], edx
mov eax, dword [0x104b0c20]
sub eax, dword [0x104b0be4]
mov dword [0x104b0d9c], eax
mov ecx, dword [0x104b0e78]
and ecx, dword [0x104b0db4]
mov dword [0x104b0d18], ecx
mov edx, dword [0x104b0e6c]
sub edx, dword [0x104b0d24]
mov dword [0x104b0d38], edx
mov eax, dword [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.10154010
add esp, 0xc
mov edx, dword [0x104b0e60]
imul edx, dword [0x104b0cb8]
mov dword [0x104b0d00], edx
mov eax, dword [0x104b0d98]
and eax, dword [0x104b0dbc]
mov dword [0x104b0c30], eax
mov ecx, dword [0x104b0c80]
add ecx, dword [0x104b0ce8]
mov dword [0x104b0e90], ecx
jmp 0x10018c41
push 4
push 0x1000
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
add edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
mov eax, dword [0x104b0e90]
sub eax, dword [0x104b0e50]
mov dword [0x104b0da0], eax
mov ecx, dword [0x104b0e44]
add ecx, dword [0x104b0d9c]
mov dword [0x104b0dac], ecx
mov edx, dword [0x104b0e1c]
and edx, dword [0x104b0e84]
mov dword [0x104b0e4c], edx
mov eax, dword [0x104b0de8]
and eax, dword [0x104b0c48]
mov dword [0x104b0d8c], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.10153a90
add esp, 0xc
mov eax, dword [0x104b0d0c]
add eax, dword [0x104b0d60]
mov dword [0x104b0c3c], eax
mov ecx, dword [0x104b0e68]
and ecx, dword [0x104b0e5c]
mov dword [0x104b0df4], ecx
mov edx, dword [0x104b0de0]
and edx, dword [0x104b0d28]
mov dword [0x104b0d24], edx
mov eax, dword [0x104b0c1c]
and eax, dword [0x104b0be8]
mov dword [0x104b0cf4], eax
mov ecx, dword [0x104b0d58]
imul ecx, dword [0x104b0cc4]
mov dword [0x104b0d10], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx + 8], eax
mov ecx, dword [0x104b0d88]
sub ecx, dword [0x104b0c34]
mov dword [0x104b0d8c], ecx
mov edx, dword [0x104b0e58]
and edx, dword [0x104b0e20]
mov dword [0x104b0d34], edx
mov eax, dword [0x104b0dfc]
imul eax, dword [0x104b0df0]
mov dword [0x104b0e58], eax
mov ecx, dword [0x104b0e4c]
imul ecx, dword [0x104b0c90]
mov dword [0x104b0dcc], ecx
mov edx, dword [0x104b0e50]
and edx, dword [0x104b0c00]
mov dword [0x104b0cfc], edx
jmp 0x10018c41
mov esp, ebp
pop ebp
ret