Function at 0x4ba420
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x24
push ebx
push ebp
mov ebp, dword [0x1005f114]
push esi
push edi
mov edi, dword [esp + 0x3c]
mov esi, dword [edi + 0x3c]
mov ecx, dword [esi + edi + 0x50]
push 0x40
add esi, edi
mov edx, dword [esi + 0x34]
push 0x2000
lea eax, [esi + 0x34]
push ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x44]
push edx
mov ebx, esi
push eax
mov dword [esp + 0x28], ebx
call ebp
test eax, eax
push 0x40
je 0x4ba471
mov ecx, dword [esi + 0x50]
mov edx, dword [esp + 0x3c]
push 0x1000
push ecx
push eax
push edx
jmp 0x4ba481
mov eax, dword [esi + 0x50]
mov ecx, dword [esp + 0x3c]
push 0x101000
push eax
push 0
push ecx
call ebp
push 4
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x50]
push 0x1000
push eax
push 0
mov dword [esp + 0x28], eax
call dword [0x1005f1e4]
mov edx, dword [esp + 0x18]
mov ebp, eax
push edx
push ebp
mov dword [esp + 0x30], ebp
call dword [0x10075f84]
mov eax, dword [esi + 0x54]
push eax
push edi
push ebp
call dword [0x10075f88]
cmp word [ebx + 6], 0
movzx ecx, word [esi + 0x14]
lea esi, [esi + ecx + 0x18]
mov dword [esp + 0x24], 0
jbe 0x4ba586
lea edi, [esi + 0x10]
lea ebx, [ebx]
mov edx, dword [edi - 8]
mov ecx, dword [edi + 4]
mov ebp, dword [edi]
mov ebx, dword [ebx + 0x3c]
mov dword [esp + 0x20], edx
xor edx, edx
lea eax, [ecx + ebp]
div ebx
mov esi, ecx
shr esi, 9
shl esi, 9
imul eax, ebx
test edx, edx
mov dword [esp + 0x1c], eax
je 0x4ba50d
add dword [esp + 0x1c], ebx
sub ecx, esi
lea eax, [ecx + ebp]
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 0x38]
xor edx, edx
div ecx
imul eax, ecx
test edx, edx
je 0x4ba526
add eax, ecx
mov ecx, dword [esp + 0x1c]
add eax, esi
cmp eax, ecx
jb 0x4ba532
mov eax, ecx
mov ebx, dword [edi - 4]
mov edx, dword [esp + 0x20]
add ebx, dword [esp + 0x28]
push edx
sub eax, esi
push ebx
mov ebp, eax
call dword [0x10075f84]
mov eax, dword [esp + 0x20]
cmp eax, ebp
jae 0x4ba553
mov ebp, eax
mov eax, dword [esp + 0x3c]
push ebp
add esi, eax
push esi
push ebx
call dword [0x10075f88]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
movzx edx, word [ecx + 6]
add eax, 1
add edi, 0x28
cmp eax, edx
mov dword [esp + 0x24], eax
mov ebx, ecx
jl 0x4ba4e0
mov ebp, dword [esp + 0x28]
mov ecx, dword [ebx + 0xa4]
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
mov ebx, dword [ebx + 0xa0]
sub edi, dword [eax]
add ebx, ebp
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], ebx
je 0x4ba5f9
test ecx, ecx
mov esi, ebx
jle 0x4ba5f9
mov edi, edi
mov eax, dword [esi + 4]
sub eax, 8
shr eax, 1
test eax, eax
lea edx, [esi + 8]
jle 0x4ba5f1
mov ebx, eax
movzx eax, word [edx]
movzx eax, ax
mov ecx, eax
shr ecx, 0xc
cmp ecx, 3
je 0x4ba5d6
cmp ecx, 0xa
jne 0x4ba5e1
and eax, 0xfff
add eax, dword [esi]
add eax, ebp
add dword [eax], edi
add edx, 2
sub ebx, 1
jne 0x4ba5c1
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x2c]
mov esi, edx
sub edx, ebx
cmp edx, ecx
jl 0x4ba5b0
call dword [0x1005f1dc]
mov ebx, dword [esp + 0x38]
cmp eax, ebx
jne 0x4ba61e
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
push esi
push ebp
push edi
call dword [0x10075f88]
mov dword [esp + 0x30], esi
jmp 0x4ba640
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x30]
push ecx
push edx
push ebp
push eax
push ebx
call dword [0x1005f110]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
lea ecx, [ecx]
push esi
push edi
push ebx
call dword [0x1005f1e0]
push 0x8000
push 0
push ebp
call dword [0x1005f038]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret