Function at 0x4999ec
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x1e8], 0xffffffff
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x1a]
call fcn.004d701c
mov edx, dword [ebp - 4]
mov dword [edx + 0x108], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x12]
mov edx, dword [ebp - 4]
mov dx, word [edx + 0x1a]
call fcn.004d696c
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je case.0x499a52.10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x174]
add eax, 0xfffffff6
cmp eax, 0x18
ja case.0x499a52.10
mov al, byte [eax + 0x499a59]
jmp dword [eax*4 + 0x499a72]
mov eax, dword [ebp - 8]
movzx eax, word [eax + 2]
mov edx, dword [ebp - 8]
movzx edx, word [edx + 4]
add eax, edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x10]
imul edx
mov edx, dword [ebp - 8]
movzx edx, word [edx]
add eax, edx
mov edx, dword [ebp - 4]
mov dword [edx + 0x1e0], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 2]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x1e0]
dec eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x1e4], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 6]
mov edx, dword [ebp - 4]
mov dword [edx + 0x200], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x204], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 2]
mov edx, dword [ebp - 4]
mov dword [edx + 0x224], eax
push 0
push 1
mov eax, dword [ebp - 4]
xor edx, edx
mov dl, byte [eax + 0x10]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.004d8ba0
jmp case.0x499a52.10
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0xc]
mov edx, dword [ebp - 8]
movzx edx, word [edx + 0xe]
add eax, edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x10]
imul edx
mov edx, dword [ebp - 8]
movzx edx, word [edx + 0xa]
add eax, edx
mov edx, dword [ebp - 4]
mov dword [edx + 0x1e0], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0xc]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x1e0]
dec eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x1e4], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x10]
mov edx, dword [ebp - 4]
mov dword [edx + 0x200], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x204], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x12]
mov edx, dword [ebp - 4]
mov dword [edx + 0x208], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x20c], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x210], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x174], 0xb
jne 0x499bea
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1e4]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x1e0]
inc eax
push eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dl, byte [eax + 0x10]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x210]
mov eax, dword [ebp - 4]
call fcn.004d8ba0
jmp case.0x499a52.10
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1e4]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x1e0]
inc eax
push eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x10]
call fcn.004d5ca4
mov edx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x210]
mov eax, dword [ebp - 4]
call fcn.004d8ba0
jmp case.0x499a52.10
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x16]
mov edx, dword [ebp - 8]
movzx edx, word [edx + 0x18]
add eax, edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x10]
imul edx
mov edx, dword [ebp - 8]
movzx edx, word [edx + 0x14]
add eax, edx
mov edx, dword [ebp - 4]
mov dword [edx + 0x1e0], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x16]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x1e0]
dec eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x1e4], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x1a]
mov edx, dword [ebp - 4]
mov dword [edx + 0x200], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x204], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x17c], eax
push 0
push 1
mov eax, dword [ebp - 4]
xor edx, edx
mov dl, byte [eax + 0x10]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.004d8ba0
mov eax, dword [ebp - 4]
mov byte [eax + 0x11a], 1
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x10]
mov edx, dword [ebp - 4]
mov dword [edx + 0x280], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1e0]
mov edx, dword [ebp - 4]
mov dword [edx + 0x1f0], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1e0]
mov edx, dword [ebp - 4]
mov dword [edx + 0x1ec], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x12], 0x14
jne 0x499d07
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1e4]
inc eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x1f4], eax
jmp 0x499d19
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1e4]
mov edx, dword [ebp - 4]
mov dword [edx + 0x1f4], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x1f8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x200]
mov edx, dword [ebp - 4]
mov dword [edx + 0x1fc], eax
mov eax, dword [0x4e9280]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xf4]
call fcn.004ce90c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x499db7
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [0x4e9280]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0xc]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
call fcn.004cde94
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 8]
mov eax, dword [0x4e9280]
mov eax, dword [eax]
call fcn.004cde94
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.004d60ac
mov edx, dword [ebp - 4]
mov dword [edx + 0x284], eax
jmp case.0x499a52.10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x280]
add eax, eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x284], eax
jmp case.0x499a52.10
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x2a]
mov edx, dword [ebp - 8]
movzx edx, word [edx + 0x2c]
add eax, edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x10]
imul edx
mov edx, dword [ebp - 8]
movzx edx, word [edx + 0x28]
add eax, edx
mov edx, dword [ebp - 4]
mov dword [edx + 0x1e0], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x2a]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x1e0]
dec eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x1e4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x218]
mov edx, dword [ebp - 4]
mov dword [edx + 0x200], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x204], eax
jmp case.0x499a52.10
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x34]
mov edx, dword [ebp - 8]
movzx edx, word [edx + 0x36]
add eax, edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x10]
imul edx
mov edx, dword [ebp - 8]
movzx edx, word [edx + 0x32]
add eax, edx
mov edx, dword [ebp - 4]
mov dword [edx + 0x1e0], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x34]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x1e0]
dec eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x1e4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1e4]
mov edx, dword [ebp - 4]
mov dword [edx + 0x1e0], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x38]
mov edx, dword [ebp - 4]
mov dword [edx + 0x200], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x204], eax
jmp case.0x499a52.10
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x34]
mov edx, dword [ebp - 8]
movzx edx, word [edx + 0x36]
add eax, edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x10]
imul edx
mov edx, dword [ebp - 8]
movzx edx, word [edx + 0x32]
add eax, edx
mov edx, dword [ebp - 4]
mov dword [edx + 0x1e0], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x34]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x1e0]
dec eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x1e4], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x38]
mov edx, dword [ebp - 4]
mov dword [edx + 0x200], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x204], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x12], 0x28
je 0x499f4d
mov eax, dword [ebp - 4]
cmp byte [eax + 0x12], 0x41
je 0x499f4d
mov eax, dword [ebp - 4]
cmp byte [eax + 0x12], 0x42
je 0x499f4d
mov eax, dword [ebp - 4]
cmp byte [eax + 0x12], 0x43
je 0x499f4d
mov eax, dword [ebp - 4]
cmp byte [eax + 0x12], 0x44
je 0x499f4d
mov eax, dword [ebp - 4]
cmp byte [eax + 0x12], 0x45
jne case.0x499a52.10
mov eax, dword [ebp - 4]
mov byte [eax + 0x27c], 1
jmp case.0x499a52.10
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x3c]
mov edx, dword [ebp - 4]
mov dword [edx + 0x1e0], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x3e]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x1e0]
dec eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x1e4], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x42]
mov edx, dword [ebp - 4]
mov dword [edx + 0x200], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x204], eax
mov esp, ebp
pop ebp
ret