Function at 0x48c550
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
mov esi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1fc]
mov eax, dword [eax]
test byte [eax + 0x18], 1
mov dword [ebp - 0x24], ecx
mov dword [ebp - 8], eax
je 0x48c577
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0xc]
shl ebx, 6
cmp dword [ebp + 0x10], 0
push edi
mov edi, dword [esi + 0x28]
mov edx, dword [ebx + edi + 0x28]
mov eax, dword [ebx + edi + 0x18]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
je 0x48c5a8
cmp dword [ebp + 0x14], 0
je 0x48c5b4
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x14], 0
je 0x48c5b4
cmp word [edi], 1
jg 0x48c59f
mov edx, dword [eax + 0x48]
mov ecx, dword [eax + 0x28]
test edx, edx
je 0x48c5c4
cmp dword [esi + 0x48], 0
jne 0x48c59f
cmp dword [eax + 0x4c], 0
jne 0x48c59f
cmp dword [esi + 0x44], 0
je 0x48c5d4
test edx, edx
jne 0x48c59f
cmp word [ecx], 0
je 0x48c59f
test byte [eax + 6], 1
jne 0x48c59f
test edx, edx
je 0x48c5f0
cmp word [edi], 1
jg 0x48c59f
cmp dword [ebp + 0x10], 0
jne 0x48c59f
mov cx, word [esi + 6]
and cx, 1
mov word [ebp - 2], cx
je 0x48c604
cmp dword [ebp + 0x14], 0
jne 0x48c59f
cmp dword [esi + 0x38], 0
je 0x48c610
cmp dword [eax + 0x38], 0
jne 0x48c59f
cmp dword [ebp + 0x10], 0
je 0x48c61c
cmp dword [eax + 0x38], 0
jne 0x48c59f
test edx, edx
je 0x48c637
cmp dword [esi + 0x2c], 0
jne 0x48c59f
test edx, edx
je 0x48c637
test cx, cx
jne 0x48c59f
test byte [ebx + edi + 0x24], 0x20
lea ecx, [ebx + edi + 0x24]
mov dword [ebp - 0x28], ecx
jne 0x48c59f
cmp dword [eax + 0x3c], 0
je 0x48c6d5
cmp dword [eax + 0x38], 0
jne 0x48c59f
cmp dword [ebp + 0x10], 0
jne 0x48c59f
cmp word [ebp - 2], 0
jne 0x48c59f
cmp word [edi], 1
jne 0x48c59f
mov dl, 5
mov edi, edi
test byte [eax + 6], dl
jne 0x48c59f
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x48c69a
cmp byte [eax + 4], 0x71
jne 0x48c59f
mov eax, dword [eax + 0x28]
cmp word [eax], 1
jl 0x48c59f
mov eax, ecx
test eax, eax
jne 0x48c680
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x48c6d5
cmp dword [ecx], eax
jle 0x48c6d5
mov ecx, dword [ecx + 8]
add ecx, 0xe
mov edi, edi
cmp word [ecx], 0
je 0x48c59f
mov edx, dword [esi + 0x38]
inc eax
add ecx, 0x14
cmp eax, dword [edx]
jl 0x48c6c0
mov ecx, dword [ebx + edi + 0xc]
mov eax, dword [ebp + 8]
push 0
push 0
push 0
push 0x15
mov dword [eax + 0x1fc], ecx
call fcn.0047ff70
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0x1fc], edx
mov eax, dword [ecx + 0x3c]
add esp, 0x10
mov dword [ebp - 0xc], eax
test eax, eax
je 0x48c788
nop
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x48]
mov ecx, dword [ebp - 8]
mov ebx, dword [esi + 0x38]
mov dword [ebp - 0x20], eax
xor eax, eax
push eax
push esi
push ecx
mov dword [ebp - 0x24], edx
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x48], eax
call fcn.0047f480
mov edx, dword [ebp - 0x24]
add esp, 0xc
mov dword [esi + 0x48], edx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x28], edi
mov byte [esi + 4], 0x71
mov dword [esi + 0x44], 0
test eax, eax
jne 0x48c75b
mov eax, dword [ebp - 0x20]
jmp 0x48c768
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x44], 0
mov edx, dword [ebp - 8]
mov dword [esi + 0x3c], eax
cmp byte [edx + 0x36], 0
jne 0x48caad
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x48c710
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx + edi + 0x18]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + edi + 8]
call fcn.00465220
mov eax, dword [ebx + edi + 0xc]
mov ecx, dword [ebp - 8]
call fcn.00465220
mov eax, dword [ebx + edi + 0x10]
mov ecx, dword [ebp - 8]
call fcn.00465220
mov eax, dword [ebx + edi + 0x14]
xor ecx, ecx
mov dword [ebx + edi + 8], ecx
mov dword [ebx + edi + 0xc], ecx
mov dword [ebx + edi + 0x10], ecx
mov dword [ebx + edi + 0x18], ecx
lea edi, [ebx + edi + 0x14]
cmp eax, ecx
je 0x48c813
movzx ecx, word [eax + 0x20]
cmp ecx, 1
jne 0x48c808
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x1a8]
test ecx, ecx
jne 0x48c7ec
mov ecx, edx
mov edx, dword [ecx + 0x21c]
mov dword [eax + 0x48], edx
mov ebx, esi
mov dword [ecx + 0x21c], eax
mov dword [edi], 0
mov dword [ebp - 0x20], ebx
jmp 0x48c823
dec ecx
mov word [eax + 0x20], cx
mov dword [edi], 0
mov ebx, esi
mov dword [ebp - 0x20], ebx
jmp 0x48c823
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
movsx esi, word [eax]
mov edi, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x28]
mov byte [ebp + 0xb], 0
mov dword [ebp - 0x14], eax
test eax, eax
je 0x48c84a
mov ecx, dword [ebp - 0x28]
mov dl, byte [ecx]
mov byte [ebp + 0xb], dl
jmp 0x48c868
push 0
xor ecx, ecx
xor eax, eax
mov edx, edi
call fcn.00480d30
add esp, 4
mov dword [ebx + 0x28], eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x48ca93
cmp esi, 1
jle 0x48c890
mov ecx, dword [ebp + 0xc]
inc ecx
push ecx
lea edx, [esi - 1]
push edx
mov ecx, edi
call fcn.004789d0
add esp, 8
mov dword [ebx + 0x28], eax
cmp byte [edi + 0x36], 0
mov dword [ebp - 0x14], eax
jne 0x48ca93
test esi, esi
jle 0x48c8e9
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add eax, 8
mov dword [ebp - 0x18], eax
lea eax, [ecx + edx + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], esi
lea ecx, [ecx]
mov ecx, dword [ebp - 4]
mov edi, dword [ecx + 0x28]
mov esi, dword [ebp - 8]
call fcn.0046e6f0
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 4]
mov esi, eax
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
mov esi, 0x40
push esi
push 0
push eax
call fcn.0055bc50
add dword [ebp - 4], esi
add dword [ebp - 0x18], esi
add esp, 0xc
dec dword [ebp - 0x24]
jne 0x48c8b0
mov eax, dword [ebp - 0x14]
mov cl, byte [ebp + 0xb]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov byte [edx + eax + 0x24], cl
mov ecx, dword [ebx]
xor eax, eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], eax
cmp dword [ecx], eax
jle 0x48c958
mov dword [ebp + 8], eax
lea ecx, [ecx]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
cmp dword [eax + edx + 4], 0
jne 0x48c949
mov eax, dword [eax + edx + 8]
test eax, eax
je 0x48c949
push esi
mov ebx, eax
call fcn.004728f0
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 8]
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov dword [edx + ecx + 4], eax
mov ecx, dword [ebp - 0x24]
add esp, 4
mov eax, dword [ebp - 0x18]
add dword [ebp + 8], 0x14
inc eax
mov dword [ebp - 0x18], eax
cmp eax, dword [ecx]
jl 0x48c910
mov edx, dword [edi]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebx]
push edx
push eax
push ecx
push esi
call fcn.0048c430
add esp, 0x10
cmp dword [ebp + 0x10], 0
je 0x48c999
mov edx, dword [edi]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x30]
push edx
push eax
push ecx
push esi
call fcn.0048c430
mov edx, dword [edi]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x34]
push edx
push eax
push ecx
push esi
call fcn.0048c310
add esp, 0x20
mov dword [ebx + 0x34], eax
mov eax, dword [edi + 0x38]
test eax, eax
je 0x48c9ac
mov dword [ebx + 0x38], eax
mov dword [edi + 0x38], 0
jmp 0x48c9c4
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x48c9c4
mov edx, dword [edi]
mov ecx, dword [ebp - 0x10]
push edx
push ecx
push eax
push esi
call fcn.0048c430
add esp, 0x10
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x48c9de
push 0
push 0
push eax
push esi
call fcn.004880b0
add esp, 0x10
mov dword [ebp + 8], eax
jmp 0x48c9e5
mov dword [ebp + 8], 0
cmp dword [ebp + 0x14], 0
mov edx, dword [ebx + 0x2c]
je 0x48ca3c
mov eax, dword [ebp + 8]
mov dword [ebx + 0x34], edx
mov edx, dword [ebp - 0x10]
mov dword [ebx + 0x2c], eax
mov ecx, dword [edi]
mov eax, dword [ebx + 0x34]
push ecx
push edx
push eax
push esi
call fcn.0048c310
push 0
mov dword [ebx + 0x34], eax
mov eax, dword [edi + 0x34]
push 0
push eax
push esi
call fcn.004880b0
mov ecx, dword [ebx + 0x34]
push eax
push ecx
mov eax, esi
call fcn.0047ef00
mov dword [ebx + 0x34], eax
mov edx, dword [edi + 0x30]
push 0
push edx
push esi
call fcn.00477570
add esp, 0x34
mov dword [ebx + 0x30], eax
jmp 0x48ca5f
mov eax, dword [edi]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
push edx
push esi
call fcn.0048c310
mov ecx, dword [ebp + 8]
push ecx
mov dword [ebx + 0x2c], eax
push eax
mov eax, esi
call fcn.0047ef00
add esp, 0x18
mov dword [ebx + 0x2c], eax
mov dx, word [edi + 6]
and dx, 1
or word [ebx + 6], dx
mov eax, dword [edi + 0x48]
test eax, eax
je 0x48ca7c
mov dword [ebx + 0x48], eax
mov dword [edi + 0x48], 0
mov ebx, dword [ebx + 0x3c]
mov eax, dword [edi + 0x3c]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x48c820
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x48caad
push esi
push edi
call fcn.0046f500
add esp, 8
mov eax, esi
mov ecx, edi
call fcn.00465220
pop edi
pop ebx
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret