Function at 0x21022267
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov dword [ebp - 0x4c], ecx
cmp dword [ebp + 0xc], 0
jne 0x2102227b
jmp 0x2102243a
push 0x836
call fcn.21058728
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x210222a6
push str.could_not_allocate_FpJob
call fcn.2100df3d
jmp 0x2102243a
push 0x836
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.210493f0
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [edx], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 4]
mov word [ebp - 0x14], dx
mov eax, dword [ebp - 4]
mov cx, word [ebp - 0x14]
mov word [eax + 8], cx
mov edx, dword [ebp + 8]
mov ax, word [edx + 6]
mov word [ebp - 0x18], ax
mov ecx, dword [ebp - 4]
mov dx, word [ebp - 0x18]
mov word [ecx + 0xa], dx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
mov dword [ecx + 0x14], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x28]
mov dword [edx + 0x18], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x2c], edx
push 0
mov eax, dword [ebp - 0x2c]
push eax
push pe_nt_image_headers32
mov ecx, dword [ebp - 4]
add ecx, 0x1c
push ecx
call fcn.210033dc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x30], eax
push 0
mov ecx, dword [ebp - 0x30]
push ecx
push 0x104
mov edx, dword [ebp - 4]
add edx, 0x21c
push edx
call fcn.210033dc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x34], ecx
push 0
mov edx, dword [ebp - 0x34]
push edx
push 0x104
mov eax, dword [ebp - 4]
add eax, 0x424
push eax
call fcn.210033dc
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 0x2c]
mov word [ebp - 0x38], dx
mov eax, dword [ebp - 4]
mov cx, word [ebp - 0x38]
mov word [eax + 0x62c], cx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x3c], eax
push 0
mov ecx, dword [ebp - 0x3c]
push ecx
push 0x104
mov edx, dword [ebp - 4]
add edx, 0x62e
push edx
call fcn.210033dc
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x6c]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x40]
push edx
call dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x44]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x48]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.21058751
add esp, 4
mov esp, ebp
pop ebp
ret 0x10