Function at 0x520290
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x520573
sub esp, 0x10
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov edx, dword [esp + 0x18]
test edx, edx
jbe 0x520569
cmp edx, 1
jbe 0x52055d
mov eax, dword [esp + 0x14]
movzx ecx, word [eax]
mov word [esp], cx
call fcn.00520580
movzx eax, byte [esp + 4]
movzx ecx, byte [esp + 5]
mov byte [esp + 0x2c], al
mov eax, dword [esp + 0x18]
cmp eax, 2
jbe 0x520551
cmp eax, 3
jbe 0x520545
mov byte [esp + 0xf], cl
mov eax, dword [esp + 0x14]
movzx eax, word [eax + 2]
mov word [esp], ax
call fcn.00520580
movzx eax, byte [esp + 4]
movzx ecx, byte [esp + 5]
mov byte [esp + 0x2d], al
mov eax, dword [esp + 0x24]
test eax, eax
jbe 0x52053c
cmp eax, 1
jbe 0x520530
mov byte [esp + 0xe], cl
mov eax, dword [esp + 0x20]
movzx ecx, word [eax]
mov word [esp], cx
call fcn.00520580
movzx eax, byte [esp + 4]
movzx ecx, byte [esp + 5]
mov byte [esp + 0x2e], al
mov eax, dword [esp + 0x24]
cmp eax, 2
jbe 0x520524
cmp eax, 3
jbe 0x520518
mov byte [esp + 0xd], cl
mov eax, dword [esp + 0x20]
movzx ecx, word [eax + 2]
mov word [esp], cx
call fcn.00520580
movzx eax, byte [esp + 4]
movzx ecx, byte [esp + 5]
mov byte [esp + 0x2f], al
mov eax, dword [esp + 0x24]
cmp eax, 4
jbe 0x52050c
cmp eax, 5
jbe 0x520500
mov byte [esp + 0xc], cl
mov eax, dword [esp + 0x20]
movzx ecx, word [eax + 4]
mov word [esp], cx
call fcn.00520580
movzx eax, byte [esp + 4]
movzx ecx, byte [esp + 5]
mov byte [esp + 0x30], al
mov eax, dword [esp + 0x24]
cmp eax, 6
jbe 0x5204f4
cmp eax, 7
jbe 0x5204e8
mov byte [esp + 0xb], cl
mov eax, dword [esp + 0x20]
movzx ecx, word [eax + 6]
mov word [esp], cx
call fcn.00520580
movzx eax, byte [esp + 4]
movzx ecx, byte [esp + 5]
mov byte [esp + 0x31], al
mov eax, dword [esp + 0x24]
cmp eax, 8
jbe 0x5204dc
cmp eax, 9
jbe 0x5204d0
mov byte [esp + 0xa], cl
mov eax, dword [esp + 0x20]
movzx ecx, word [eax + 8]
mov word [esp], cx
call fcn.00520580
movzx eax, byte [esp + 4]
movzx ecx, byte [esp + 5]
mov byte [esp + 0x32], al
mov eax, dword [esp + 0x24]
cmp eax, 0xa
jbe 0x5204c4
cmp eax, 0xb
jbe 0x5204b8
mov byte [esp + 9], cl
mov eax, dword [esp + 0x20]
movzx eax, word [eax + 0xa]
mov word [esp], ax
call fcn.00520580
movzx eax, byte [esp + 4]
movzx ecx, byte [esp + 5]
mov byte [esp + 0x33], al
movzx eax, byte [esp + 0xf]
test al, al
je 0x5204ae
movzx eax, byte [esp + 0xe]
test al, al
je 0x5204ae
movzx eax, byte [esp + 0xd]
test al, al
je 0x5204ae
movzx eax, byte [esp + 0xc]
test al, al
je 0x5204ae
movzx eax, byte [esp + 0xb]
test al, al
je 0x5204ae
movzx eax, byte [esp + 0xa]
test al, al
je 0x5204ae
movzx eax, byte [esp + 9]
test al, al
jne 0x5204b0
xor ecx, ecx
mov byte [esp + 0x34], cl
add esp, 0x10
ret
mov eax, 0xb
mov ecx, eax
call fcn.004718b0
mov eax, 0xa
mov ecx, eax
call fcn.004718b0
mov eax, 9
mov ecx, eax
call fcn.004718b0
mov eax, 8
mov ecx, eax
call fcn.004718b0
mov eax, 7
mov ecx, eax
call fcn.004718b0
mov eax, 6
mov ecx, eax
call fcn.004718b0
mov eax, 5
mov ecx, eax
call fcn.004718b0
mov eax, 4
mov ecx, eax
call fcn.004718b0
mov eax, 3
mov ecx, eax
call fcn.004718b0
mov eax, 2
mov ecx, eax
call fcn.004718b0
mov eax, 1
mov ecx, eax
call fcn.004718b0
xor eax, eax
mov ecx, eax
call fcn.004718b0
mov eax, 3
mov ecx, eax
call fcn.004718b0
mov eax, 2
mov ecx, eax
call fcn.004718b0
mov eax, 1
mov ecx, eax
call fcn.004718b0
xor eax, eax
mov ecx, eax
call fcn.004718b0
nop
call fcn.00470430
jmp fcn.00520290