Function at 0x48dfdb
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, ecx
push ebx
push esi
push edi
mov edi, dword [eax]
mov esi, edx
mov ecx, dword [eax + 0x1ec]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], eax
test byte [edi + 0x3c], 1
mov dword [ebp - 0x28], ecx
mov dword [ebp - 8], edi
je 0x48e009
xor eax, eax
jmp 0x48e560
imul eax, dword [ebp + 8], 0x50
mov edx, dword [esi + 0x20]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0xc], eax
mov ecx, dword [eax + edx + 0x38]
mov ebx, dword [eax + edx + 0x1c]
xor eax, eax
inc eax
mov dword [ebp - 0x1c], ecx
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x30], eax
je 0x48e035
cmp dword [ebp + 0x10], 0
je 0x48e03f
jmp 0x48e002
cmp dword [ebp + 0x10], 0
je 0x48e03f
cmp dword [edx], eax
jg 0x48e002
mov eax, dword [ebx + 0x3c]
mov ecx, dword [ebx + 0x20]
test eax, eax
je 0x48e04f
cmp dword [esi + 0x3c], 0
jne 0x48e002
cmp dword [ebx + 0x40], 0
jne 0x48e002
movzx edi, word [esi + 6]
test edi, 0x1000
je 0x48e065
test eax, eax
jne 0x48e002
cmp dword [ecx], 0
je 0x48e002
movzx ecx, word [ebx + 6]
test cl, 1
jne 0x48e002
test eax, eax
je 0x48e088
xor ecx, ecx
inc ecx
cmp dword [edx], ecx
jg 0x48e002
cmp dword [ebp + 0xc], 0
jne 0x48e002
movzx ecx, word [esi + 6]
and ecx, 1
je 0x48e09b
cmp dword [ebp + 0x10], 0
jne 0x48e002
cmp dword [esi + 0x30], 0
mov edi, dword [ebp - 8]
je 0x48e0ae
cmp dword [ebx + 0x30], 0
jne 0x48e002
cmp dword [ebp + 0xc], 0
je 0x48e0be
cmp dword [ebx + 0x30], 0
jne 0x48e002
test eax, eax
je 0x48e0d9
cmp dword [esi + 0x24], 0
jne 0x48e002
test eax, eax
je 0x48e0d9
test cx, cx
jne 0x48e002
movzx eax, word [ebx + 6]
test eax, 0x800
jne 0x48e002
movzx eax, word [esi + 6]
test eax, 0x800
je 0x48e0fe
xor eax, eax
cmp dword [ebx + 0x34], eax
jne 0x48e002
mov eax, dword [ebp - 0xc]
test byte [eax + edx + 0x2c], 0x20
jne 0x48e002
xor eax, eax
cmp dword [ebx + 0x34], eax
je 0x48e1a6
cmp dword [ebx + 0x30], eax
jne 0x48e002
cmp dword [ebp + 0xc], eax
jne 0x48e002
test cx, cx
jne 0x48e002
inc eax
cmp dword [edx], eax
jne 0x48e002
mov ecx, ebx
test byte [ecx + 6], 5
jne 0x48e002
mov eax, dword [ecx + 0x34]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x48e15b
cmp byte [ecx + 4], 0x74
jne 0x48e002
mov eax, dword [ecx + 0x20]
cmp dword [eax], 1
jl 0x48e002
mov eax, dword [ebx]
mov ecx, dword [ecx]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x48e002
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
jne 0x48e13d
mov eax, dword [esi + 0x30]
test eax, eax
je 0x48e1a6
cmp dword [eax], ecx
jle 0x48e1a6
mov eax, dword [eax + 4]
add eax, 0x14
xor edi, edi
cmp word [eax], di
je 0x48e002
mov edi, dword [esi + 0x30]
inc ecx
add eax, 0x18
cmp ecx, dword [edi]
mov edi, dword [ebp - 8]
jl 0x48e18d
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + edx + 0x10]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1ec], eax
xor eax, eax
push eax
push eax
push eax
push 0x15
pop edx
call fcn.0047bd14
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov ecx, dword [ebp - 0x28]
mov dword [eax + 0x1ec], ecx
mov eax, dword [ebx + 0x34]
jmp 0x48e24f
mov eax, dword [ebp - 0x14]
mov edx, eax
mov ebx, dword [esi + 0x30]
mov edi, dword [esi + 0x3c]
mov esi, dword [esi + 0x40]
mov ecx, dword [eax + 0x34]
mov dword [ebp - 0x24], ecx
xor ecx, ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x34], ecx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], ecx
push ecx
mov ecx, dword [ebp - 8]
call fcn.004769d3
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x40], esi
mov esi, eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], ebx
mov byte [esi + 4], 0x74
test ecx, ecx
jne 0x48e22c
mov dword [esi + 0x34], eax
jmp 0x48e23c
mov dword [ecx + 0x34], eax
test eax, eax
je 0x48e236
mov dword [eax + 0x38], ecx
mov dword [ecx + 0x38], esi
mov dword [esi + 0x34], ecx
mov edi, dword [ebp - 8]
cmp byte [edi + 0x40], 0
jne 0x48e55d
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x48e1d7
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + eax + 0x1c]
mov ebx, edx
mov dword [ebp - 0x34], edx
mov edx, dword [ecx + eax + 0xc]
mov ecx, edi
mov dword [ebp - 0x24], ebx
call fcn.00454220
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + eax + 0x10]
mov ecx, edi
call fcn.00454220
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + eax + 0x14]
mov ecx, edi
call fcn.00454220
mov edx, dword [ebp - 0x18]
xor ecx, ecx
mov eax, dword [ebp - 0xc]
mov dword [eax + edx + 0xc], ecx
mov dword [eax + edx + 0x10], ecx
mov dword [eax + edx + 0x14], ecx
mov dword [eax + edx + 0x1c], ecx
mov ecx, dword [eax + edx + 0x18]
test ecx, ecx
je 0x48e2f8
movzx eax, word [ecx + 0x28]
cmp ax, word [ebp - 0x30]
jne 0x48e2e8
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x10]
mov eax, dword [eax + 0x198]
test eax, eax
cmovne esi, eax
mov eax, esi
mov eax, dword [eax + 0x20c]
mov dword [ecx + 0x48], eax
mov eax, esi
mov esi, dword [ebp - 0x14]
mov dword [eax + 0x20c], ecx
jmp 0x48e2ed
dec eax
mov word [ecx + 0x28], ax
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov dword [eax + edx + 0x18], ecx
jmp 0x48e2fa
xor ecx, ecx
mov eax, dword [ebx + 0x20]
mov byte [ebp - 1], cl
mov ecx, dword [esi + 0x20]
mov dword [ebp - 0x30], eax
mov edx, dword [eax]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x48e324
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
mov al, byte [edi + eax + 0x2c]
mov edi, dword [ebp - 8]
mov byte [ebp - 1], al
jmp 0x48e346
xor eax, eax
xor edx, edx
push eax
push eax
mov ecx, edi
call fcn.0047f797
pop ecx
pop ecx
mov ecx, eax
mov dword [ebp - 0x20], ecx
mov dword [esi + 0x20], ecx
test ecx, ecx
je 0x48e553
mov edx, dword [ebp - 0x10]
xor eax, eax
inc eax
cmp edx, eax
jle 0x48e376
mov eax, dword [ebp + 8]
inc eax
push eax
lea eax, [edx - 1]
mov edx, ecx
push eax
mov ecx, edi
call fcn.0047f6bf
pop ecx
pop ecx
mov ecx, eax
mov dword [esi + 0x20], ecx
cmp byte [edi + 0x40], 0
mov dword [ebp - 0x20], ecx
jne 0x48e553
mov edx, dword [ebp - 0x10]
test edx, edx
jle 0x48e3d1
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 0x30]
add edi, 8
mov ebx, dword [ebp - 8]
add esi, 8
add edi, ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], edi
mov edx, dword [edi + 0x38]
mov ecx, ebx
call fcn.0047f63c
push 0x14
pop ecx
push 0x50
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x2c]
push eax
push esi
call fcn.005533c0
mov edi, dword [ebp - 0x28]
add esi, 0x50
add edi, 0x50
mov dword [ebp - 0x2c], esi
add esp, 0xc
mov dword [ebp - 0x28], edi
dec dword [ebp - 0x10]
jne 0x48e391
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov al, byte [ebp - 1]
mov byte [edx + ecx + 0x2c], al
xor edx, edx
mov eax, dword [esi]
mov ecx, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
cmp dword [eax], edx
jle 0x48e42c
mov ebx, edx
xor esi, esi
mov edx, dword [eax + 4]
cmp dword [edx + ebx + 4], esi
jne 0x48e41b
mov edx, dword [edx + ebx + 8]
mov ecx, edi
call fcn.0045450c
mov esi, eax
mov ecx, esi
call fcn.0045610b
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
mov dword [ecx + ebx + 4], esi
xor esi, esi
mov ecx, dword [ebp - 0x2c]
inc ecx
add ebx, 0x18
mov dword [ebp - 0x2c], ecx
cmp ecx, dword [eax]
jl 0x48e3ef
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov edx, dword [esi]
mov ecx, edi
push dword [ebp - 0x1c]
call fcn.0048def7
cmp dword [ebp + 0xc], 0
pop ecx
pop ecx
je 0x48e466
push dword [ebx]
mov edx, dword [esi + 0x28]
mov ecx, edi
push dword [ebp - 0x1c]
call fcn.0048def7
push dword [ebx]
mov edx, dword [esi + 0x2c]
mov ecx, edi
push dword [ebp - 0x1c]
call fcn.0048de54
add esp, 0x10
mov dword [esi + 0x2c], eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x48e477
mov dword [esi + 0x30], eax
xor eax, eax
mov dword [ebx + 0x30], eax
jmp 0x48e48e
mov edx, dword [esi + 0x30]
test edx, edx
je 0x48e48c
push dword [ebx]
mov ecx, edi
push dword [ebp - 0x1c]
call fcn.0048def7
pop ecx
pop ecx
xor eax, eax
mov edx, dword [ebx + 0x24]
test edx, edx
je 0x48e4a7
push eax
push eax
mov ecx, edi
call fcn.0047644b
pop ecx
pop ecx
mov ecx, eax
mov dword [ebp - 0x2c], ecx
jmp 0x48e4ac
mov ecx, eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp + 0x10], 0
je 0x48e4fe
mov eax, dword [esi + 0x24]
mov edx, eax
mov dword [esi + 0x24], ecx
mov ecx, edi
mov dword [esi + 0x2c], eax
push dword [ebx]
push dword [ebp - 0x1c]
call fcn.0048de54
mov dword [esi + 0x2c], eax
mov ecx, edi
mov edx, dword [ebx + 0x2c]
xor eax, eax
push eax
push eax
call fcn.0047644b
mov edx, dword [esi + 0x2c]
mov ecx, edi
push eax
call fcn.00476049
add esp, 0x14
mov dword [esi + 0x2c], eax
mov edx, dword [ebx + 0x28]
xor eax, eax
mov ecx, edi
push eax
call fcn.004766ee
pop ecx
mov dword [esi + 0x28], eax
jmp 0x48e522
push dword [ebx]
mov edx, dword [esi + 0x24]
mov ecx, edi
push dword [ebp - 0x1c]
call fcn.0048de54
push dword [ebp - 0x2c]
mov edx, eax
mov dword [esi + 0x24], eax
mov ecx, edi
call fcn.00476049
add esp, 0xc
mov dword [esi + 0x24], eax
mov ax, word [ebx + 6]
xor ecx, ecx
inc ecx
and ax, cx
xor ecx, ecx
or word [esi + 6], ax
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x48e53f
mov dword [esi + 0x3c], eax
mov dword [ebx + 0x3c], ecx
mov esi, dword [esi + 0x34]
mov ebx, dword [ebx + 0x34]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x24], ebx
test esi, esi
jne 0x48e2fa
mov edx, dword [ebp - 0x34]
mov ecx, edi
call fcn.0048add8
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret