Function at 0x42dba0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x1d], 0
mov al, byte [esi + 0x1c]
movzx ebx, word [esi]
movzx edi, word [esi + 4]
movzx ecx, word [esi + 6]
movzx ebp, word [esi + 2]
mov byte [esp + 0x13], al
mov dword [esp + 0x18], ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x14], ecx
je 0x42dc09
test al, al
jne 0x42dbef
mov eax, dword [esi + 0x20]
mov edx, ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00411810
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov eax, dword [esi + 0x24]
mov edx, ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00411810
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
lea eax, [edi - 2]
mov dword [esp + 0x28], eax
lea edx, [ebp + 1]
lea eax, [ebx + 1]
mov dword [esp + 0x1c], eax
lea eax, [ecx - 2]
push 6
push eax
lea eax, [edi - 2]
push eax
lea ecx, [ebx + 1]
call fcn.00411760
mov edx, dword [0x54e3b0]
add esp, 0xc
imul ecx, ebp, 0x278
movzx eax, bx
mov ebx, dword [0x54e3ac]
add eax, ecx
mov dword [esp + 0x34], ecx
shl eax, 2
mov dword [esp + 0x2c], eax
add eax, ebx
mov dword [esp + 0x24], eax
movzx eax, di
mov dword [esp + 0x20], eax
test eax, eax
je 0x42dc78
mov edi, dword [esp + 0x24]
mov ecx, eax
mov eax, edx
rep stosd dword es:[edi], eax
mov edx, dword [0x54e3b0]
mov ebx, dword [0x54e3ac]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
dec ecx
add ecx, ebp
movzx eax, di
movzx ecx, cx
imul ecx, ecx, 0x278
add ecx, eax
mov eax, dword [esp + 0x20]
lea edi, [ebx + ecx*4]
test eax, eax
je 0x42dcae
mov ecx, eax
mov eax, edx
rep stosd dword es:[edi], eax
mov edx, dword [0x54e3b0]
mov ebx, dword [0x54e3ac]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
movzx ecx, cx
add eax, ebx
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x42dce0
mov dword [eax], edx
lea eax, [eax + 0x9e0]
sub ecx, 1
jne 0x42dcc3
mov edx, dword [0x54e3b0]
mov ebx, dword [0x54e3ac]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
add eax, edi
mov dword [esp + 0x30], eax
dec eax
movzx eax, ax
add eax, dword [esp + 0x34]
lea eax, [ebx + eax*4]
test ecx, ecx
je 0x42dd13
nop dword [eax]
mov dword [eax], edx
lea eax, [eax + 0x9e0]
sub ecx, 1
jne 0x42dd00
mov ebx, dword [0x54e3ac]
mov eax, dword [esp + 0x1c]
movzx edx, ax
lea eax, [ebp + 1]
movzx eax, ax
imul ecx, eax, 0x278
add ecx, edx
cmp byte [esp + 0x13], 0
jne 0x42dda0
lea edx, [ebx + ecx*4]
lea ecx, [edi - 3]
movzx ecx, cx
test ecx, ecx
je 0x42dd45
mov eax, dword [0x54e3dc]
mov edi, edx
rep stosd dword es:[edi], eax
mov ebx, dword [esp + 0x14]
lea edx, [ebp + 2]
mov edi, dword [esp + 0x1c]
mov ecx, edi
push 0xb
lea eax, [ebx - 4]
push eax
call fcn.00411880
lea eax, [ebx - 2]
add esp, 8
add eax, ebp
movzx ecx, ax
mov eax, dword [esp + 0x28]
imul edx, ecx, 0x278
movzx ecx, di
add edx, ecx
mov ecx, dword [0x54e3ac]
lea edi, [ecx + edx*4]
movzx ecx, ax
test ecx, ecx
je 0x42dd8e
mov eax, dword [0x54e3d8]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x30]
lea ecx, [ebx - 3]
add eax, 0xfffffffe
movzx edi, ax
lea eax, [ebp + 1]
jmp 0x42ddc6
mov eax, dword [esp + 0x28]
lea edi, [ebx + ecx*4]
movzx ecx, ax
test ecx, ecx
je 0x42ddb5
mov eax, dword [0x54e3d8]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
movzx edi, ax
add ecx, 0xfffffffd
lea eax, [ebp + 2]
push 0xa
push ecx
movzx edx, ax
mov ecx, edi
call fcn.00411880
mov edi, dword [esi + 0xc]
add esp, 8
test edi, edi
je 0x42de93
cmp byte [edi], 0
je 0x42de93
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x42de52
cmp byte [ebx], 0
je 0x42de52
mov ecx, ebx
call fcn.00410c20
movzx ecx, ax
mov eax, dword [esp + 0x20]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x18]
movzx ecx, ax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff8
cdq
sub eax, edx
sar eax, 1
add eax, ebp
cmp byte [esp + 0x13], 1
movzx edx, ax
jne 0x42de37
lea eax, [ecx + 1]
movzx ecx, ax
mov eax, 7
jmp 0x42de3c
mov eax, 6
push ebx
push 7
add edx, eax
call fcn.00410fd0
mov edi, dword [esi + 0xc]
add esp, 8
add ebp, 0xfffb
mov ecx, edi
call fcn.00410c20
movzx ecx, ax
mov eax, dword [esp + 0x20]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x18]
movzx ecx, ax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff8
cdq
sub eax, edx
sar eax, 1
add eax, ebp
cmp byte [esp + 0x13], 1
push edi
movzx edx, ax
push 7
jne 0x42de8b
inc edx
inc ecx
call fcn.00410fd0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret