Function at 0x51c188
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push ecx
mov ebx, eax
mov byte [ebx + 0x148], 0
mov dword [ebx + 0x288], 0xffffffff
movzx eax, word [ebx + 0x1c]
call fcn.0051e17c
mov dword [ebx + 0x134], eax
xor eax, eax
mov al, byte [ebx + 0x12]
mov dx, word [ebx + 0x1c]
call fcn.0051d8d0
mov dword [esp], eax
cmp dword [esp], 0
je case.0x51c1df.10
mov eax, dword [ebx + 0x1b4]
add eax, 0xfffffff6
cmp eax, 0x18
ja case.0x51c1df.10
mov al, byte [eax + 0x51c1e6]
jmp dword [eax*4 + 0x51c1ff]
mov eax, dword [esp]
movzx eax, word [eax]
mov dword [ebx + 0x280], eax
mov edx, dword [esp]
movzx edx, word [edx + 2]
add edx, eax
dec edx
mov dword [ebx + 0x284], edx
mov eax, dword [esp]
movzx eax, word [eax + 6]
mov dword [ebx + 0x2ac], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x2b0], eax
mov eax, dword [esp]
movzx eax, word [eax + 2]
mov dword [ebx + 0x2d4], eax
push 0
push 1
xor edx, edx
mov dl, byte [ebx + 0x10]
xor ecx, ecx
mov eax, ebx
call fcn.00520098
jmp case.0x51c1df.10
mov eax, dword [esp]
movzx eax, word [eax + 0xa]
mov dword [ebx + 0x280], eax
mov edx, dword [esp]
movzx edx, word [edx + 0xc]
add edx, eax
dec edx
mov dword [ebx + 0x284], edx
mov eax, dword [esp]
movzx eax, word [eax + 0x10]
mov dword [ebx + 0x2ac], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x2b0], eax
mov eax, dword [esp]
movzx eax, word [eax + 0x12]
mov dword [ebx + 0x2b8], eax
xor eax, eax
mov dword [ebx + 0x2bc], eax
mov dword [ebx + 0x2c0], 1
push 0
push 1
xor edx, edx
mov dl, byte [ebx + 0x10]
xor ecx, ecx
mov eax, ebx
call fcn.00520098
jmp case.0x51c1df.10
mov eax, dword [esp]
movzx eax, word [eax + 0x16]
mov edx, dword [esp]
movzx edx, word [edx + 0x18]
add eax, edx
xor edx, edx
mov dl, byte [ebx + 0x10]
imul edx
mov edx, dword [esp]
movzx edx, word [edx + 0x14]
add eax, edx
mov dword [ebx + 0x280], eax
mov edx, dword [esp]
movzx edx, word [edx + 0x16]
add edx, eax
dec edx
mov dword [ebx + 0x284], edx
mov eax, dword [esp]
movzx eax, word [eax + 0x1a]
mov dword [ebx + 0x2ac], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x2b0], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x1bc], eax
push 0
push 1
xor edx, edx
mov dl, byte [ebx + 0x10]
xor ecx, ecx
mov eax, ebx
call fcn.00520098
jmp case.0x51c1df.10
mov eax, dword [esp]
movzx eax, word [eax + 0x2a]
mov edx, dword [esp]
movzx edx, word [edx + 0x2c]
add eax, edx
xor edx, edx
mov dl, byte [ebx + 0x10]
imul edx
mov edx, dword [esp]
movzx edx, word [edx + 0x28]
add eax, edx
mov dword [ebx + 0x280], eax
mov edx, dword [esp]
movzx edx, word [edx + 0x2a]
add edx, eax
dec edx
mov dword [ebx + 0x284], edx
mov eax, dword [ebx + 0x2c8]
mov dword [ebx + 0x2ac], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x2b0], eax
jmp case.0x51c1df.10
mov eax, dword [esp]
movzx eax, word [eax + 0x34]
mov edx, dword [esp]
movzx edx, word [edx + 0x36]
add eax, edx
xor edx, edx
mov dl, byte [ebx + 0x10]
imul edx
mov edx, dword [esp]
movzx edx, word [edx + 0x32]
add eax, edx
mov dword [ebx + 0x280], eax
mov edx, dword [esp]
movzx edx, word [edx + 0x34]
add edx, eax
dec edx
mov dword [ebx + 0x284], edx
mov dword [ebx + 0x280], edx
mov eax, dword [esp]
movzx eax, word [eax + 0x38]
mov dword [ebx + 0x2ac], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x2b0], eax
jmp case.0x51c1df.10
mov eax, dword [esp]
movzx eax, word [eax + 0x34]
mov edx, dword [esp]
movzx edx, word [edx + 0x36]
add eax, edx
xor edx, edx
mov dl, byte [ebx + 0x10]
imul edx
mov edx, dword [esp]
movzx edx, word [edx + 0x32]
add eax, edx
mov dword [ebx + 0x280], eax
mov edx, dword [esp]
movzx edx, word [edx + 0x34]
add edx, eax
dec edx
mov dword [ebx + 0x284], edx
mov eax, dword [esp]
movzx eax, word [eax + 0x38]
mov dword [ebx + 0x2ac], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x2b0], eax
jmp case.0x51c1df.10
mov eax, dword [esp]
movzx eax, word [eax + 0x3c]
mov dword [ebx + 0x280], eax
mov edx, dword [esp]
movzx edx, word [edx + 0x3e]
add edx, eax
dec edx
mov dword [ebx + 0x284], edx
mov eax, dword [esp]
movzx eax, word [eax + 0x42]
mov dword [ebx + 0x2ac], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x2b0], eax
mov byte [ebx + 0x33], 1
pop edx
pop ebx
ret