Function at 0x4985b0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x1e8], 0xffffffff
mov eax, dword [ebp - 4]
mov byte [eax + 0x178], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x11a], 0
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.0x49862a.9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x174]
add eax, 0xfffffff7
cmp eax, 0x19
ja case.0x49862a.9
mov al, byte [eax + 0x498631]
jmp dword [eax*4 + 0x49864b]
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.0x49862a.9
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 0x4987cf
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.0x49862a.9
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.0x49862a.9
mov eax, dword [ebp - 4]
cmp byte [eax + 0x12], 0x17
jne 0x498824
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x3c]
mov edx, dword [ebp - 4]
mov dword [edx + 0x1e0], eax
jmp 0x49884f
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x3e]
mov edx, dword [ebp - 8]
movzx edx, word [edx + 0x40]
add eax, edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x10]
imul edx
mov edx, dword [ebp - 8]
movzx edx, word [edx + 0x3c]
add eax, edx
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
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.0x49862a.9
mov eax, dword [ebp - 4]
cmp byte [eax + 0x12], 0x37
jne case.0x49862a.9
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x20]
mov edx, dword [ebp - 8]
movzx edx, word [edx + 0x22]
add eax, edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x10]
imul edx
mov edx, dword [ebp - 8]
movzx edx, word [edx + 0x1e]
add eax, edx
mov edx, dword [ebp - 4]
mov dword [edx + 0x1e0], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x20]
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 + 0x24]
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]
mov byte [eax + 0x178], 1
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.0x49862a.9
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
mov eax, dword [ebp - 4]
cmp byte [eax + 0x12], 0x10
je 0x4989ba
mov eax, dword [ebp - 4]
cmp byte [eax + 0x12], 0x36
jne 0x4989c4
mov eax, dword [ebp - 4]
mov byte [eax + 0x11a], 1
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.0x49862a.9
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.0x49862a.9
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.0x49862a.9
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], 0x16
je case.0x49862a.9
mov eax, dword [ebp - 4]
mov byte [eax + 0x11a], 1
jmp case.0x49862a.9
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
jmp case.0x49862a.9
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x3e]
mov edx, dword [ebp - 8]
movzx edx, word [edx + 0x40]
add eax, edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x10]
imul edx
mov edx, dword [ebp - 8]
movzx edx, word [edx + 0x3c]
add eax, edx
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