Function at 0x488d05
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
mov eax, ecx
push esi
mov ecx, dword [eax + 0x204]
push edi
mov edi, dword [eax]
mov esi, edx
test byte [edi + 0x34], 1
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 8], edi
je 0x488d33
xor eax, eax
jmp 0x489287
mov edx, dword [ebp + 8]
mov ecx, dword [esi + 0x28]
imul edx, edx, 0x48
mov eax, dword [edx + ecx + 0x34]
mov ebx, dword [edx + ecx + 0x1c]
mov dword [ebp - 0x1c], eax
xor eax, eax
inc eax
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x30], eax
je 0x488d61
cmp dword [ebp + 0x10], 0
je 0x488d6c
jmp 0x488d2c
cmp dword [ebp + 0x10], 0
je 0x488d6c
cmp word [ecx], ax
jg 0x488d2c
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x488d79
cmp dword [esi + 0x48], 0
jne 0x488d2c
cmp dword [ebx + 0x4c], 0
jne 0x488d2c
cmp dword [esi + 0x44], 0
je 0x488d89
test eax, eax
jne 0x488d2c
mov edi, dword [ebx + 0x28]
xor ecx, ecx
cmp word [edi], cx
mov ecx, dword [ebp - 0xc]
je 0x488d2c
test byte [ebx + 6], 1
jne 0x488d2c
test eax, eax
je 0x488db2
xor edi, edi
inc edi
cmp word [ecx], di
jg 0x488d2c
cmp dword [ebp + 0xc], 0
jne 0x488d2c
mov di, word [esi + 6]
xor ecx, ecx
inc ecx
and di, cx
mov ecx, dword [ebp - 0xc]
mov word [ebp - 2], di
je 0x488dcf
cmp dword [ebp + 0x10], 0
jne 0x488d2c
cmp dword [esi + 0x38], 0
mov edi, dword [ebp - 8]
je 0x488de2
cmp dword [ebx + 0x38], 0
jne 0x488d2c
cmp dword [ebp + 0xc], 0
je 0x488df2
cmp dword [ebx + 0x38], 0
jne 0x488d2c
test eax, eax
je 0x488e12
cmp dword [esi + 0x2c], 0
jne 0x488d2c
test eax, eax
je 0x488e12
mov ax, word [ebp - 2]
test ax, ax
je 0x488e16
jmp 0x488d2c
mov ax, word [ebp - 2]
test byte [edx + ecx + 0x28], 0x20
jne 0x488d2c
cmp dword [ebx + 0x3c], 0
je 0x488ecb
cmp dword [ebx + 0x38], 0
jne 0x488d2c
cmp dword [ebp + 0xc], 0
jne 0x488d2c
test ax, ax
jne 0x488d2c
xor eax, eax
inc eax
cmp word [ecx], ax
jne 0x488d2c
mov ecx, ebx
test byte [ecx + 6], 5
jne 0x488d2c
mov eax, dword [ecx + 0x3c]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x488e74
cmp byte [ecx + 4], 0x71
jne 0x488d2c
mov eax, dword [ecx + 0x28]
xor edi, edi
inc edi
cmp word [eax], di
mov edi, dword [ebp - 8]
jl 0x488d2c
mov eax, dword [ebx]
mov ecx, dword [ecx]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x488d2c
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
jne 0x488e56
mov eax, dword [esi + 0x38]
test eax, eax
je 0x488ec8
cmp dword [eax], ecx
jle 0x488ec8
mov eax, dword [eax + 8]
add eax, 0x14
xor edx, edx
cmp word [eax], dx
mov edx, dword [ebp - 0x10]
je 0x488d2c
mov edi, dword [esi + 0x38]
inc ecx
add eax, 0x18
cmp ecx, dword [edi]
mov edi, dword [ebp - 8]
jl 0x488eac
mov ecx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x204], eax
xor eax, eax
push eax
push eax
push eax
push 0x15
pop edx
call fcn.00478d24
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov dword [eax + 0x204], ecx
mov eax, dword [ebx + 0x3c]
add esp, 0xc
mov dword [ebp - 0x20], eax
test eax, eax
je 0x488f7c
mov eax, dword [ebp - 0x18]
mov ebx, dword [esi + 0x38]
mov ecx, dword [eax + 0x3c]
mov edi, dword [esi + 0x48]
mov esi, dword [esi + 0x4c]
mov dword [ebp - 0x24], ecx
xor ecx, ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
push ecx
mov ecx, dword [ebp - 8]
mov edx, eax
call fcn.0047447f
mov edx, eax
mov eax, dword [ebp - 0x18]
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0x4c], esi
mov esi, eax
mov dword [esi + 0x38], ebx
xor ebx, ebx
mov dword [esi + 0x48], edi
mov dword [esi + 0x28], ecx
mov byte [esi + 4], 0x71
mov dword [esi + 0x44], ebx
test edx, edx
jne 0x488f55
mov edx, dword [ebp - 0x24]
jmp 0x488f5e
mov eax, dword [ebp - 0x24]
mov dword [edx + 0x3c], eax
mov dword [edx + 0x44], ebx
mov edi, dword [ebp - 8]
mov dword [esi + 0x3c], edx
cmp byte [edi + 0x38], bl
jne 0x489284
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x488efe
jmp 0x488f7f
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + ecx + 0x1c]
mov ebx, edx
mov dword [ebp - 0x34], edx
mov edx, dword [eax + ecx + 0xc]
mov ecx, edi
mov dword [ebp - 0x24], ebx
call fcn.00453901
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, edi
mov edx, dword [edx + eax + 0x10]
call fcn.00453901
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + ecx + 0x14]
mov ecx, edi
call fcn.00453901
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
xor ecx, ecx
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 0x48901e
movzx eax, word [ecx + 0x28]
cmp ax, word [ebp - 0x30]
jne 0x48900e
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x14]
mov eax, dword [eax + 0x1b0]
test eax, eax
cmovne esi, eax
mov eax, esi
mov eax, dword [eax + 0x224]
mov dword [ecx + 0x44], eax
mov eax, esi
mov esi, dword [ebp - 0x18]
mov dword [eax + 0x224], ecx
jmp 0x489013
dec eax
mov word [ecx + 0x28], ax
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov dword [eax + edx + 0x18], ecx
jmp 0x489020
xor ecx, ecx
mov byte [ebp - 1], cl
mov ecx, dword [ebx + 0x28]
mov dword [ebp - 0x30], ecx
movsx edx, word [ecx]
mov ecx, dword [esi + 0x28]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x489048
mov edi, dword [ebp - 0xc]
mov al, byte [eax + edi + 0x28]
mov edi, dword [ebp - 8]
mov byte [ebp - 1], al
jmp 0x48906a
xor eax, eax
push eax
push eax
xor edx, edx
mov ecx, edi
call fcn.0047bf5d
pop ecx
pop ecx
mov ecx, eax
mov dword [ebp - 0x20], ecx
mov dword [esi + 0x28], ecx
test ecx, ecx
je 0x48927a
mov edx, dword [ebp - 0x14]
xor eax, eax
inc eax
cmp edx, eax
jle 0x48909a
mov eax, dword [ebp + 8]
inc eax
push eax
lea eax, [edx - 1]
mov edx, ecx
push eax
mov ecx, edi
call fcn.0047be82
pop ecx
pop ecx
mov ecx, eax
mov dword [esi + 0x28], ecx
cmp byte [edi + 0x38], 0
mov dword [ebp - 0x20], ecx
jne 0x48927a
mov edx, dword [ebp - 0x14]
test edx, edx
jle 0x4890f5
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 8]
add esi, 8
add edi, 8
add edi, ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], edi
mov edx, dword [edi + 0x34]
mov ecx, ebx
call fcn.0047be01
push 0x12
pop ecx
push 0x48
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x2c]
push eax
push esi
call fcn.004acf20
mov edi, dword [ebp - 0x28]
add edi, 0x48
add esi, 0x48
add esp, 0xc
dec dword [ebp - 0x14]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], esi
jne 0x4890b5
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov dl, byte [ebp - 1]
mov byte [eax + ecx + 0x28], dl
mov eax, dword [esi]
xor edx, edx
mov ecx, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
cmp dword [eax], edx
jle 0x489150
mov ebx, edx
xor esi, esi
mov edx, dword [eax + 8]
cmp dword [ebx + edx + 4], esi
jne 0x48913f
mov edx, dword [ebx + edx + 8]
mov ecx, edi
call fcn.00453be7
mov esi, eax
mov ecx, esi
call fcn.0045552f
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 8]
mov dword [ebx + ecx + 4], esi
mov ecx, dword [ebp - 0x2c]
xor esi, esi
inc ecx
add ebx, 0x18
mov dword [ebp - 0x2c], ecx
cmp ecx, dword [eax]
jl 0x489113
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov edx, dword [esi]
push dword [ebp - 0x1c]
mov ecx, edi
call fcn.00488c22
cmp dword [ebp + 0xc], 0
pop ecx
pop ecx
je 0x48918a
push dword [ebx]
mov edx, dword [esi + 0x30]
push dword [ebp - 0x1c]
mov ecx, edi
call fcn.00488c22
push dword [ebx]
mov edx, dword [esi + 0x34]
push dword [ebp - 0x1c]
mov ecx, edi
call fcn.00488b7b
add esp, 0x10
mov dword [esi + 0x34], eax
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x48919b
mov dword [esi + 0x38], eax
xor eax, eax
mov dword [ebx + 0x38], eax
jmp 0x4891b2
mov edx, dword [esi + 0x38]
test edx, edx
je 0x4891b0
push dword [ebx]
mov ecx, edi
push dword [ebp - 0x1c]
call fcn.00488c22
pop ecx
pop ecx
xor eax, eax
mov edx, dword [ebx + 0x2c]
test edx, edx
je 0x4891cb
push eax
push eax
mov ecx, edi
call fcn.00473f9a
pop ecx
pop ecx
mov ecx, eax
mov dword [ebp - 0x2c], ecx
jmp 0x4891d0
mov ecx, eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp + 0x10], 0
je 0x489222
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x34], eax
push dword [ebx]
mov edx, eax
push dword [ebp - 0x1c]
mov ecx, edi
call fcn.00488b7b
mov dword [esi + 0x34], eax
mov edx, dword [ebx + 0x34]
xor eax, eax
push eax
push eax
mov ecx, edi
call fcn.00473f9a
mov edx, dword [esi + 0x34]
push eax
mov ecx, edi
call fcn.00473ba9
mov dword [esi + 0x34], eax
mov edx, dword [ebx + 0x30]
add esp, 0x14
xor eax, eax
push eax
mov ecx, edi
call fcn.0047419b
pop ecx
mov dword [esi + 0x30], eax
jmp 0x489246
push dword [ebx]
mov edx, dword [esi + 0x2c]
push dword [ebp - 0x1c]
mov ecx, edi
call fcn.00488b7b
push dword [ebp - 0x2c]
mov edx, eax
mov ecx, edi
mov dword [esi + 0x2c], eax
call fcn.00473ba9
add esp, 0xc
mov dword [esi + 0x2c], eax
mov ax, word [ebx + 6]
xor ecx, ecx
inc ecx
and ax, cx
or word [esi + 6], ax
mov eax, dword [ebx + 0x48]
xor ecx, ecx
test eax, eax
je 0x489263
mov dword [esi + 0x48], eax
mov dword [ebx + 0x48], ecx
mov esi, dword [esi + 0x3c]
mov ebx, dword [ebx + 0x3c]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x24], ebx
test esi, esi
jne 0x489020
mov edx, dword [ebp - 0x34]
mov ecx, edi
call fcn.00486151
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret