Function at 0x4191c0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x34
push ebx
push esi
push edi
push ebp
mov ebp, dword [esp + 0x4c]
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 0x14]
push ecx
call fcn.004d53f0
mov dword [esp + 0x28], eax
add esp, 4
mov word [esp + 0x12], 0xfffe
mov dword [esp + 0x14], 0
mov ecx, dword [ebp + 4]
lea edi, [esp + 0x2c]
xor eax, eax
mov edx, dword [ecx + 0x38]
mov ecx, 6
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
rep stosd dword es:[edi], eax
mov word [esp + 0x2c], 0x18
mov word [esp + 0x2e], 0x222
cmp dword [esp + 0x54], eax
je 0x41944f
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x48]
mov dword [eax], 0
cmp dword [ecx + 0x5c], 0
je 0x419453
push 0x3e
mov eax, dword [ebx + 0x44]
push 0x10
push eax
push ebx
call fcn.004aa140
mov dword [esp + 0x24], eax
add esp, 0x10
test eax, eax
je 0x419453
lea edi, [esp + 0x2c]
mov esi, dword [esp + 0x50]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x3c], 0
cmp dword [esp + 0x20], 0
je 0x4192ba
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x34]
mov edx, dword [esp + 0x50]
push eax
push ecx
mov eax, dword [edx + 4]
push eax
mov ecx, dword [edx + 8]
mov eax, dword [esp + 0x2c]
push ecx
push 1
push eax
push ebx
call fcn.004b2000
add esp, 0x1c
test ax, ax
jne 0x419453
mov ax, word [esp + 0x38]
push 0x3e
shl ax, 2
mov ecx, dword [ebx + 0x44]
push eax
push ecx
push ebx
call fcn.004aa140
mov dword [esp + 0x4c], eax
add esp, 0x10
test eax, eax
je 0x419453
xor si, si
cmp word [esp + 0x38], si
jbe 0x419318
movzx eax, si
inc si
mov ecx, dword [esp + 0x50]
lea edi, [eax*4]
mov eax, dword [ecx + 0x10]
mov edx, dword [eax + edi]
push edx
push ebp
push ebx
call fcn.00419f00
mov ecx, dword [esp + 0x48]
add esp, 0xc
mov dword [ecx + edi], eax
cmp si, word [esp + 0x38]
jb 0x4192e9
mov ecx, dword [ebp + 4]
lea edx, [esp + 0x18]
lea esi, [esp + 0x2c]
cmp byte [ecx + 0x10], 1
sbb al, al
neg al
push eax
push 0
push edx
mov eax, dword [ebp]
mov edx, dword [esp + 0x30]
push esi
push eax
mov esi, dword [edx + 0x14]
push esi
mov eax, dword [ecx + 0x14]
push 6
push 0x10
push eax
call fcn.004d52d0
add esp, 0x24
test ax, ax
jne 0x419453
cmp dword [esp + 0x1c], 0
je 0x419372
mov eax, dword [esp + 0x1c]
push eax
push ebx
call fcn.004a9fe0
mov dword [esp + 0x24], 0
add esp, 8
cmp dword [esp + 0x18], 0
je 0x419453
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov ax, word [eax + 4]
cmp dword [esp + 0x20], 0
mov word [ecx], ax
mov edx, dword [esp + 0x18]
mov ax, word [edx + 6]
mov word [ecx + 2], ax
je 0x419427
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x18]
push eax
mov edx, dword [ecx + 8]
mov eax, dword [esp + 0x18]
add eax, 4
push eax
mov ax, word [ecx + 4]
imul ax, word [ecx + 6]
push eax
push edx
mov eax, dword [esp + 0x30]
push 0
push eax
push ebx
call fcn.004b2000
add esp, 0x1c
test ax, ax
jne 0x419453
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x60], 0
je 0x41941a
mov edx, dword [ebp + 4]
mov ecx, dword [esp + 0x14]
cmp byte [edx + 0x10], 1
sbb al, al
mov esi, dword [ecx + 0xc]
neg al
mov ecx, dword [esp + 0x24]
push eax
push 0
mov eax, dword [ebp]
push 0
mov ebp, dword [ecx + 0x14]
push esi
push eax
push ebp
mov eax, dword [edx + 0x14]
push 7
push 0xc
push eax
call fcn.004d52d0
add esp, 0x24
test ax, ax
jne 0x419453
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov dword [ecx + 8], eax
jmp 0x41943c
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 8]
mov dword [ecx + 4], edx
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x14]
mov word [esp + 0x12], 0
mov dword [eax], ecx
jmp 0x419453
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebx + 0x44]
push eax
push ecx
push ebx
call fcn.004aa460
add esp, 0xc
cmp word [esp + 0x12], 0
je 0x4194a9
cmp dword [esp + 0x1c], 0
je 0x419482
mov eax, dword [esp + 0x1c]
push eax
push ebx
call fcn.004a9fe0
add esp, 8
cmp dword [esp + 0x28], 0
je 0x419497
mov eax, dword [esp + 0x28]
push eax
push ebx
call fcn.004a9fe0
add esp, 8
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx + 0x44]
push ecx
push eax
push ebx
call fcn.004aa460
add esp, 0xc
mov ax, word [esp + 0x12]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x34
ret