Function at 0x4e8d7f
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
mov eax, ecx
mov ebx, edx
push esi
push edi
mov dword [esp + 0x28], ebx
mov edi, dword [eax]
mov ecx, dword [eax + 0x208]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], ecx
test byte [edi + 0xc], 1
mov dword [esp + 0x10], edi
je 0x4e8db4
xor eax, eax
jmp 0x4e9344
imul edx, dword [ebp + 8], 0x38
xor esi, esi
mov ecx, dword [ebx + 8]
inc esi
cmp dword [ebp + 0xc], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x14], edx
mov eax, dword [edx + ecx + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [edx + ecx + 0x18]
je 0x4e8de4
cmp dword [ebp + 0x10], 0
je 0x4e8def
jmp 0x4e8dad
cmp dword [ebp + 0x10], 0
je 0x4e8def
cmp word [ecx], si
jg 0x4e8dad
mov esi, dword [eax + 0x28]
test esi, esi
je 0x4e8dfc
cmp dword [ebx + 0x28], 0
jne 0x4e8dad
cmp dword [eax + 0x2c], 0
jne 0x4e8dad
cmp dword [ebx + 0x24], 0
je 0x4e8e0c
test esi, esi
jne 0x4e8dad
mov edi, dword [eax + 8]
xor ecx, ecx
cmp word [edi], cx
mov ecx, dword [esp + 0x18]
je 0x4e8dad
test byte [eax + 6], 1
jne 0x4e8dad
test esi, esi
je 0x4e8e36
xor edi, edi
inc edi
cmp word [ecx], di
jg 0x4e8dad
cmp dword [ebp + 0xc], 0
jne 0x4e8dad
mov di, word [ebx + 6]
xor ecx, ecx
inc ecx
and di, cx
mov ecx, dword [esp + 0x18]
je 0x4e8e50
cmp dword [ebp + 0x10], 0
jne 0x4e8dad
cmp dword [ebx + 0x18], 0
je 0x4e8e60
cmp dword [eax + 0x18], 0
jne 0x4e8dad
cmp dword [ebp + 0xc], 0
je 0x4e8e70
cmp dword [eax + 0x18], 0
jne 0x4e8dad
test esi, esi
je 0x4e8e8f
cmp dword [ebx + 0xc], 0
jne 0x4e8dad
test esi, esi
je 0x4e8e8f
mov si, di
test si, si
je 0x4e8e92
jmp 0x4e8dad
mov si, di
test byte [edx + ecx + 0x1d], 0x20
jne 0x4e8dad
lea edi, [eax + 0x1c]
cmp dword [edi], 0
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x10]
je 0x4e8f45
cmp dword [eax + 0x18], 0
jne 0x4e8dad
cmp dword [ebp + 0xc], 0
jne 0x4e8dad
test si, si
jne 0x4e8dad
xor esi, esi
inc esi
cmp word [ecx], si
jne 0x4e8dad
test byte [eax + 6], 5
jne 0x4e8dad
mov esi, dword [eax + 0x1c]
test esi, esi
je 0x4e8ef5
cmp byte [eax + 4], 0x71
jne 0x4e8dad
mov eax, dword [eax + 8]
test eax, eax
je 0x4e8dad
xor edi, edi
inc edi
cmp word [eax], di
mov edi, dword [esp + 0x10]
jne 0x4e8dad
mov eax, esi
test eax, eax
jne 0x4e8eda
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x4e8f45
cmp dword [eax], esi
jle 0x4e8f45
mov eax, dword [eax + 0xc]
add eax, 0xe
xor edx, edx
cmp word [eax], dx
mov edx, dword [esp + 0x14]
je 0x4e8dad
mov edi, dword [ebx + 0x18]
inc esi
add eax, 0x14
cmp esi, dword [edi]
mov edi, dword [esp + 0x10]
jl 0x4e8f27
mov esi, dword [esp + 0x1c]
mov eax, dword [edx + ecx + 0xc]
mov ecx, esi
mov dword [esi + 0x208], eax
xor eax, eax
push eax
push eax
push eax
push 0x15
pop edx
call fcn.004d9ecb
mov eax, dword [esp + 0x40]
add esp, 0xc
mov dword [esi + 0x208], eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
mov dword [esp + 0x24], eax
test eax, eax
je 0x4e8ff3
mov eax, dword [ebx + 0x1c]
mov edx, ebx
mov edi, dword [ebx + 0x18]
mov esi, dword [ebx + 0x28]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
xor eax, eax
push eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x28], eax
call fcn.004d56fc
pop ecx
mov ecx, eax
mov dword [ebx + 0x28], esi
mov eax, dword [esp + 0x18]
xor esi, esi
mov dword [ebx + 0x18], edi
mov dword [ebx + 8], eax
mov byte [ebx + 4], 0x71
mov dword [ebx + 0x24], esi
test ecx, ecx
jne 0x4e8fc7
mov ecx, dword [esp + 0x2c]
jmp 0x4e8fd1
mov edx, dword [esp + 0x2c]
mov dword [ecx + 0x1c], edx
mov dword [ecx + 0x24], esi
mov edi, dword [esp + 0x10]
mov dword [ebx + 0x1c], ecx
cmp byte [edi + 0x1e], 0
jne 0x4e9341
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + 0x1c]
mov dword [esp + 0x24], ecx
test ecx, ecx
jne 0x4e8f7d
jmp 0x4e8ff7
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + eax + 0x18]
mov esi, edx
push dword [ecx + eax + 8]
mov dword [esp + 0x40], edx
push edi
mov dword [esp + 0x34], esi
call fcn.004b71f7
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push dword [ecx + eax + 0xc]
push edi
call fcn.004b71f7
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push dword [ecx + eax + 0x10]
push edi
call fcn.004b71f7
mov edx, dword [esp + 0x30]
xor ecx, ecx
mov eax, dword [esp + 0x2c]
add esp, 0x18
mov dword [eax + edx + 8], ecx
mov dword [eax + edx + 0xc], ecx
mov dword [eax + edx + 0x10], ecx
mov dword [eax + edx + 0x18], ecx
mov ecx, dword [eax + edx + 0x14]
test ecx, ecx
je 0x4e90a4
movzx eax, word [ecx + 0x20]
cmp ax, word [esp + 0x38]
jne 0x4e9093
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x1c]
mov eax, dword [eax + 0x1a8]
test eax, eax
cmovne ebx, eax
mov eax, ebx
mov eax, dword [eax + 0x224]
mov dword [ecx + 0x48], eax
mov eax, ebx
mov ebx, dword [esp + 0x28]
mov dword [eax + 0x224], ecx
jmp 0x4e9098
dec eax
mov word [ecx + 0x20], ax
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov dword [eax + edx + 0x14], ecx
jmp 0x4e90a6
xor ecx, ecx
mov eax, dword [esi + 8]
mov byte [esp + 0xe], cl
mov ecx, dword [ebx + 8]
mov dword [esp + 0x38], eax
movsx eax, word [eax]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x4e90d5
mov edi, dword [esp + 0x14]
mov dl, byte [edi + edx + 0x1d]
mov edi, dword [esp + 0x10]
mov byte [esp + 0xe], dl
jmp 0x4e90f9
xor eax, eax
xor edx, edx
push eax
push eax
mov ecx, edi
call fcn.004dcf0d
pop ecx
pop ecx
mov ecx, eax
mov dword [esp + 0x24], ecx
mov dword [ebx + 8], ecx
test ecx, ecx
je 0x4e9336
mov eax, dword [esp + 0x1c]
xor edx, edx
inc edx
cmp eax, edx
jle 0x4e912d
mov eax, dword [ebp + 8]
mov edx, ecx
inc eax
mov ecx, edi
push eax
mov eax, dword [esp + 0x20]
dec eax
push eax
call fcn.004dce2c
pop ecx
pop ecx
mov ecx, eax
mov dword [ebx + 8], ecx
cmp byte [edi + 0x1e], 0
mov dword [esp + 0x24], ecx
jne 0x4e9336
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x4e9196
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x38]
add edi, 8
mov ebx, dword [esp + 0x10]
add esi, 8
add edi, ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], edi
mov edx, dword [edi + 0x20]
mov ecx, ebx
call fcn.004dcdab
push 0xe
pop ecx
push 0x38
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x38]
push eax
push esi
call sub.MSVCR120.dll_memset
mov edi, dword [esp + 0x3c]
add esi, 0x38
add edi, 0x38
mov dword [esp + 0x40], esi
add esp, 0xc
mov dword [esp + 0x30], edi
dec dword [esp + 0x1c]
jne 0x4e914d
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
mov dl, byte [esp + 0xe]
mov byte [eax + ecx + 0x1d], dl
xor eax, eax
mov ecx, dword [ebx]
mov edx, eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], edx
cmp dword [ecx], eax
jle 0x4e9200
mov dword [esp + 0x24], eax
mov esi, dword [ecx + 0xc]
cmp dword [esi + eax + 4], 0
jne 0x4e91ec
mov esi, dword [esi + eax + 8]
test esi, esi
je 0x4e91ec
mov edx, esi
mov ecx, edi
call fcn.004b74d9
mov edx, dword [esp + 0x34]
mov ecx, dword [edx + 0xc]
mov edx, dword [esp + 0x24]
mov dword [ecx + edx + 4], eax
mov eax, edx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
inc edx
add eax, 0x14
mov dword [esp + 0x30], edx
mov dword [esp + 0x24], eax
cmp edx, dword [ecx]
jl 0x4e91b8
mov esi, dword [esp + 0x2c]
push dword [esi]
mov edx, dword [ebx]
mov ecx, edi
push dword [esp + 0x24]
call fcn.004e8c9a
cmp dword [ebp + 0xc], 0
pop ecx
pop ecx
je 0x4e923d
push dword [esi]
mov edx, dword [ebx + 0x10]
mov ecx, edi
push dword [esp + 0x24]
call fcn.004e8c9a
push dword [esi]
mov edx, dword [ebx + 0x14]
mov ecx, edi
push dword [esp + 0x2c]
call fcn.004e8be1
add esp, 0x10
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4e924e
mov dword [ebx + 0x18], eax
xor eax, eax
mov dword [esi + 0x18], eax
jmp 0x4e9266
mov edx, dword [ebx + 0x18]
test edx, edx
je 0x4e9264
push dword [esi]
mov ecx, edi
push dword [esp + 0x24]
call fcn.004e8c9a
pop ecx
pop ecx
xor eax, eax
mov edx, dword [esi + 0xc]
test edx, edx
je 0x4e9280
push eax
push eax
mov ecx, edi
call fcn.004d5209
pop ecx
pop ecx
mov ecx, eax
mov dword [esp + 0x34], ecx
jmp 0x4e9286
mov ecx, eax
mov dword [esp + 0x34], eax
cmp dword [ebp + 0x10], 0
je 0x4e92d9
mov eax, dword [ebx + 0xc]
mov edx, eax
mov dword [ebx + 0xc], ecx
mov ecx, edi
mov dword [ebx + 0x14], eax
push dword [esi]
push dword [esp + 0x24]
call fcn.004e8be1
mov dword [ebx + 0x14], eax
mov ecx, edi
mov edx, dword [esi + 0x14]
xor eax, eax
push eax
push eax
call fcn.004d5209
mov edx, dword [ebx + 0x14]
mov ecx, edi
push eax
call fcn.004d4e9c
add esp, 0x14
mov dword [ebx + 0x14], eax
mov edx, dword [esi + 0x10]
xor eax, eax
mov ecx, edi
push eax
call fcn.004d542f
pop ecx
mov dword [ebx + 0x10], eax
jmp 0x4e92ff
push dword [esi]
mov edx, dword [ebx + 0xc]
mov ecx, edi
push dword [esp + 0x24]
call fcn.004e8be1
push dword [esp + 0x3c]
mov edx, eax
mov dword [ebx + 0xc], eax
mov ecx, edi
call fcn.004d4e9c
add esp, 0xc
mov dword [ebx + 0xc], eax
mov ax, word [esi + 6]
xor ecx, ecx
inc ecx
and ax, cx
xor ecx, ecx
or word [ebx + 6], ax
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4e931c
mov dword [ebx + 0x28], eax
mov dword [esi + 0x28], ecx
mov ebx, dword [ebx + 0x1c]
mov esi, dword [esi + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], esi
test ebx, ebx
jne 0x4e90a6
mov edx, dword [esp + 0x3c]
mov ecx, edi
call fcn.004e6385
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret