Function at 0x4a65f0
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
push ebp
sub esp, 0x58
push 0
call fcn.004ab080
pop ecx
mov cx, word [eax]
mov word [esp + 4], cx
mov cx, word [eax + 2]
mov word [esp + 8], cx
mov cx, word [eax + 4]
mov word [esp + 0xc], cx
mov cx, word [eax + 6]
mov word [esp + 0x10], cx
mov cx, word [eax + 8]
mov word [esp + 0x14], cx
mov cx, word [eax + 0xa]
mov word [esp + 0x18], cx
mov cx, word [eax + 0x10]
mov bp, word [eax + 0xe]
mov si, word [eax + 0xc]
mov word [esp + 0x24], cx
mov cx, word [eax + 0x14]
mov di, word [eax + 0x12]
mov word [esp + 0x2c], cx
mov cx, word [eax + 0x16]
mov ebx, 1
mov word [esp + 0x30], cx
mov cx, word [eax + 0x18]
mov word [esp + 0x34], cx
mov cx, word [eax + 0x1a]
mov word [esp + 0x38], cx
mov cx, word [eax + 0x1c]
mov word [esp + 0x3c], cx
mov cx, word [eax + 0x1e]
mov word [esp + 0x40], cx
mov cx, word [eax + 0x20]
mov word [esp + 0x44], cx
mov cx, word [eax + 0x22]
mov word [esp + 0x48], cx
mov cx, word [eax + 0x24]
mov word [esp + 0x4c], cx
mov cx, word [eax + 0x26]
mov word [esp + 0x50], cx
mov cx, word [eax + 0x28]
mov word [esp + 0x54], cx
jmp 0x4a6711
test bx, bx
je 0x4a66bf
call fcn.004d0dd0
xor ebx, ebx
call fcn.004ab6e0
mov eax, dword [0x8100c4]
push eax
call fcn.0064a870
mov eax, dword [0x8100c4]
pop ecx
push eax
call fcn.0064a860
pop ecx
push 1
call fcn.004ab080
pop ecx
xor cl, cl
cmp word [eax + 0x1a], 0
je 0x4a66fd
xor edx, edx
cmp word [eax + 0x44], 0
jne 0x4a66f7
inc edx
test dl, dl
je 0x4a66fd
mov cl, 1
test cl, cl
jne 0x4a674a
push 1
call fcn.004ab080
movsx eax, word [eax + 0x18]
pop ecx
test eax, eax
jne 0x4a674a
push 1
call fcn.004ab080
xor dl, dl
cmp word [eax + 0x1a], 0
pop ecx
je 0x4a6732
xor ecx, ecx
cmp word [eax + 0x44], 0
jne 0x4a672c
inc ecx
test cl, cl
je 0x4a6732
mov dl, 1
test dl, dl
jne 0x4a674a
push 1
call fcn.004ab080
movsx eax, word [eax + 0x18]
pop ecx
test eax, eax
je 0x4a66b3
push 0
call fcn.004ab080
add eax, 0x2a
pop ecx
mov cx, word [esp + 4]
mov word [eax], cx
mov cx, word [esp + 8]
mov word [eax + 2], cx
mov cx, word [esp + 0xc]
mov word [eax + 4], cx
mov cx, word [esp + 0x10]
mov word [eax + 6], cx
mov cx, word [esp + 0x14]
mov word [eax + 8], cx
mov cx, word [esp + 0x18]
mov word [eax + 0xa], cx
mov word [eax + 0xc], si
mov word [eax + 0xe], bp
mov cx, word [esp + 0x24]
mov word [eax + 0x10], cx
mov word [eax + 0x12], di
mov cx, word [esp + 0x2c]
mov word [eax + 0x14], cx
mov cx, word [esp + 0x30]
mov word [eax + 0x16], cx
mov cx, word [esp + 0x34]
mov word [eax + 0x18], cx
mov cx, word [esp + 0x38]
mov word [eax + 0x1a], cx
mov cx, word [esp + 0x3c]
mov word [eax + 0x1c], cx
mov cx, word [esp + 0x40]
mov word [eax + 0x1e], cx
mov cx, word [esp + 0x44]
mov word [eax + 0x20], cx
mov cx, word [esp + 0x48]
mov word [eax + 0x22], cx
mov cx, word [esp + 0x4c]
mov word [eax + 0x24], cx
mov cx, word [esp + 0x50]
mov word [eax + 0x26], cx
mov cx, word [esp + 0x54]
push 0
mov word [eax + 0x28], cx
call fcn.004ab080
pop ecx
mov cx, word [esp + 4]
mov word [eax], cx
mov cx, word [esp + 8]
mov word [eax + 2], cx
mov cx, word [esp + 0xc]
mov word [eax + 4], cx
mov cx, word [esp + 0x10]
mov word [eax + 6], cx
mov cx, word [esp + 0x14]
mov word [eax + 8], cx
mov cx, word [esp + 0x18]
mov word [eax + 0xa], cx
mov word [eax + 0xc], si
mov word [eax + 0xe], bp
mov cx, word [esp + 0x24]
mov word [eax + 0x10], cx
mov word [eax + 0x12], di
mov cx, word [esp + 0x2c]
mov word [eax + 0x14], cx
mov cx, word [esp + 0x30]
mov word [eax + 0x16], cx
mov cx, word [esp + 0x34]
mov word [eax + 0x18], cx
mov cx, word [esp + 0x38]
mov word [eax + 0x1a], cx
mov cx, word [esp + 0x3c]
mov word [eax + 0x1c], cx
mov cx, word [esp + 0x40]
mov word [eax + 0x1e], cx
mov cx, word [esp + 0x44]
mov word [eax + 0x20], cx
mov cx, word [esp + 0x48]
mov word [eax + 0x22], cx
mov cx, word [esp + 0x4c]
mov word [eax + 0x24], cx
mov cx, word [esp + 0x50]
mov word [eax + 0x26], cx
mov cx, word [esp + 0x54]
mov word [eax + 0x28], cx
add esp, 0x58
pop ebp
pop edi
pop esi
pop ebx
ret