Function at 0x583060
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x6c]
cmp eax, dword [ecx + 8]
jbe 0x583bb2
sub esp, 0xec
lea edi, [esp + 0xfc]
xor eax, eax
call fcn.00465fd5
lea edi, [esp + 0x80]
call fcn.00465fd5
mov ecx, dword [esp + 0xf4]
cmp ecx, 0xc
jl 0x583ada
mov edx, dword [esp + 0xf0]
movzx ebx, byte [edx + 1]
movzx ebp, byte [edx]
shl ebp, 8
or ebx, ebp
mov word [esp + 0x80], bx
lea ebx, [ecx - 2]
cmp ebx, 1
jbe 0x583ba5
movzx ebx, byte [edx + 3]
movzx ebp, byte [edx + 2]
shl ebp, 8
or ebx, ebp
mov word [esp + 0x82], bx
lea ebx, [ecx - 4]
cmp ebx, 1
jbe 0x583b99
lea ebx, [ecx - 6]
movzx ebp, byte [edx + 5]
movzx esi, byte [edx + 4]
shl esi, 8
or ebp, esi
cmp ebx, 1
jbe 0x583b8d
lea ebx, [ecx - 8]
movzx esi, byte [edx + 7]
mov edi, ebp
movzx ebp, byte [edx + 6]
shl ebp, 8
or esi, ebp
cmp ebx, 1
jbe 0x583b81
mov word [esp + 0x32], si
lea ebx, [ecx - 0xa]
movzx ebp, byte [edx + 9]
movzx esi, byte [edx + 8]
shl esi, 8
or ebp, esi
cmp ebx, 1
jbe 0x583b75
mov word [esp + 0x30], bp
movzx ebx, di
movzx esi, byte [edx + 0xb]
mov edi, ebp
movzx ebp, byte [edx + 0xa]
shl ebp, 8
or esi, ebp
mov word [esp + 0x2e], si
test ebx, ebx
je 0x58333b
cmp ecx, ebx
jl 0x58326f
mov eax, dword [esp + 0xf8]
sub eax, ebx
mov esi, eax
neg eax
sar eax, 0x1f
and eax, ebx
add eax, edx
mov dword [esp], eax
sub ecx, ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
call fcn.00581e70
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
test edx, edx
je 0x583250
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
test ebx, ebx
je 0x5831d7
mov ebx, dword [ebx + 4]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebp
lea eax, [0x6f3eaf]
mov dword [esp], eax
mov dword [esp + 4], 0x10
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
lea edi, [esp + 0xfc]
lea esi, [esp + 0x80]
call fcn.004663f2
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x170], eax
add esp, 0xec
ret
xor eax, eax
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0xf0]
movzx esi, word [esp + 0x2e]
movzx edi, word [esp + 0x30]
jmp 0x58333b
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp], ebx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xf4]
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
lea eax, [0x701110]
mov dword [esp], eax
mov dword [esp + 4], 0x2e
lea eax, [esp + 0x48]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
lea edi, [esp + 0xfc]
lea esi, [esp + 0x80]
call fcn.004663f2
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x170], eax
add esp, 0xec
ret
movzx ebx, word [esp + 0x32]
movzx ebx, bx
test ebx, ebx
je 0x58353d
cmp ecx, ebx
jl 0x583471
lea edi, [esp + 0x6c]
call fcn.00465feb
mov ecx, dword [esp + 0xf8]
sub ecx, ebx
mov esi, ecx
neg ecx
sar ecx, 0x1f
and ecx, ebx
add ecx, edx
mov dword [esp], ecx
mov ecx, dword [esp + 0xf4]
sub ecx, ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
call fcn.00580d70
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
lea edi, [esp + 0x6c]
lea esi, [esp + 0xc]
call fcn.004664ce
lea edi, [esp + 0x8c]
lea esi, [esp + 0x6c]
call fcn.004664ce
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x583452
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
test edx, edx
je 0x5833d9
mov edx, dword [edx + 4]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebx
lea eax, [0x6f3eaf]
mov dword [esp], eax
mov dword [esp + 4], 0x10
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
lea edi, [esp + 0xfc]
lea esi, [esp + 0x80]
call fcn.004663f2
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x170], eax
add esp, 0xec
ret
xor eax, eax
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0xf0]
movzx esi, word [esp + 0x2e]
movzx edi, word [esp + 0x30]
jmp 0x58353d
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp], ebx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xf4]
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
lea eax, [0x701110]
mov dword [esp], eax
mov dword [esp + 4], 0x2e
lea eax, [esp + 0x48]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
lea edi, [esp + 0xfc]
lea esi, [esp + 0x80]
call fcn.004663f2
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x170], eax
add esp, 0xec
ret
movzx ebx, di
test ebx, ebx
je 0x583733
cmp ecx, ebx
jl 0x583667
lea edi, [esp + 0x58]
call fcn.00465feb
mov ecx, dword [esp + 0xf8]
sub ecx, ebx
mov esi, ecx
neg ecx
sar ecx, 0x1f
and ecx, ebx
add ecx, edx
mov dword [esp], ecx
mov ecx, dword [esp + 0xf4]
sub ecx, ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
call fcn.00583bc0
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
lea edi, [esp + 0x58]
lea esi, [esp + 0xc]
call fcn.004664ce
lea edi, [esp + 0xa0]
lea esi, [esp + 0x58]
call fcn.004664ce
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x58364f
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
test edx, edx
je 0x5835d6
mov edx, dword [edx + 4]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebx
lea eax, [0x6f3eaf]
mov dword [esp], eax
mov dword [esp + 4], 0x10
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
lea edi, [esp + 0xfc]
lea esi, [esp + 0x80]
call fcn.004663f2
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x170], eax
add esp, 0xec
ret
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0xf0]
movzx esi, word [esp + 0x2e]
jmp 0x583733
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp], ebx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xf4]
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
lea eax, [0x701110]
mov dword [esp], eax
mov dword [esp + 4], 0x2e
lea eax, [esp + 0x48]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
lea edi, [esp + 0xfc]
lea esi, [esp + 0x80]
call fcn.004663f2
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x170], eax
add esp, 0xec
ret
movzx eax, si
test eax, eax
je 0x583905
cmp ecx, eax
jl 0x583839
mov ebx, dword [esp + 0xf8]
sub ebx, eax
mov esi, ebx
neg ebx
sar ebx, 0x1f
and ebx, eax
add ebx, edx
mov dword [esp], ebx
sub ecx, eax
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
call fcn.00581e70
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
test edx, edx
je 0x583826
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
test ebx, ebx
je 0x5837ad
mov ebx, dword [ebx + 4]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebp
lea eax, [0x6f3eaf]
mov dword [esp], eax
mov dword [esp + 4], 0x10
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
lea edi, [esp + 0xfc]
lea esi, [esp + 0x80]
call fcn.004663f2
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x170], eax
add esp, 0xec
ret
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0xf0]
jmp 0x583905
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xf4]
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
lea eax, [0x701110]
mov dword [esp], eax
mov dword [esp + 4], 0x2e
lea eax, [esp + 0x48]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
lea edi, [esp + 0xfc]
lea esi, [esp + 0x80]
call fcn.004663f2
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x170], eax
add esp, 0xec
ret
lea eax, [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov ebx, dword [esp + 0xf8]
mov dword [esp + 0xc], ebx
call fcn.00584b50
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
je 0x5839cb
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
test ecx, ecx
je 0x583952
mov ecx, dword [ecx + 4]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
lea eax, [0x6f3eaf]
mov dword [esp], eax
mov dword [esp + 4], 0x10
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
lea edi, [esp + 0xfc]
lea esi, [esp + 0x80]
call fcn.004663f2
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x170], eax
add esp, 0xec
ret
lea eax, [esp + 0x80]
mov dword [esp], eax
mov ecx, dword [esp + 0xf0]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xf4]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0xf8]
mov dword [esp + 0xc], ecx
call fcn.00584d10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test ecx, ecx
je 0x583aa3
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
test edx, edx
je 0x583a2a
mov edx, dword [edx + 4]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebx
lea eax, [0x6f3eaf]
mov dword [esp], eax
mov dword [esp + 4], 0x10
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
lea edi, [esp + 0xfc]
lea esi, [esp + 0x80]
call fcn.004663f2
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x170], eax
add esp, 0xec
ret
lea edi, [esp + 0xfc]
lea esi, [esp + 0x80]
call fcn.004663f2
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], 0
mov dword [esp + 0x170], 0
add esp, 0xec
ret
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp], ecx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
lea eax, [0x70113e]
mov dword [esp], eax
mov dword [esp + 4], 0x2e
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
lea edi, [esp + 0xfc]
lea esi, [esp + 0x80]
call fcn.004663f2
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x170], eax
add esp, 0xec
ret
mov eax, 1
mov ecx, ebx
call fcn.00465e00
mov eax, 1
mov ecx, ebx
call fcn.00465e00
mov eax, 1
mov ecx, ebx
call fcn.00465e00
mov eax, 1
mov ecx, ebx
call fcn.00465e00
mov eax, 1
mov ecx, ebx
call fcn.00465e00
nop
call fcn.004649b0
jmp fcn.00583060