Function at 0x5a5090
Capabilities:
Enumerate pe sections

Disassembly:
test dword [0x7eda90], 0xffffff80
jne 0x5a50b8
test dword [0x7eda90], 0xffffffff
jne 0x5a5584
call fcn.006a6b5c
jmp fcn.005a5090
push edi
push esi
push ebp
push ebx
push ecx
mov eax, 0x20
call fcn.00696350
mov ecx, dword [esp + 0x20]
mov edi, ecx
mov esi, dword [0x7e8cc4]
mov dword [esp + 0x18], 0x6b8578
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov ebx, edi
mov ecx, esi
shl ecx, 3
mov dword [ecx + 0x7e84c0], 1
mov dword [ecx + 0x7e84c4], eax
movzx edx, word [edi + 4]
mov word [ecx + 0x7e84c4], dx
lea ebp, [esi + 1]
mov dword [0x7e8cc4], ebp
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
test eax, eax
je 0x5a5128
push edi
push 0x5a5cc4
mov ecx, eax
call fcn.00542f78
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
test eax, eax
je 0x5a5286
call fcn.0053e764
mov dword [esp + 0x14], eax
push 1
push 0x10
mov ecx, 0x6ff9ec
call fcn.004e566c
test eax, eax
je 0x5a5161
movzx edx, word [edi + 4]
mov dword [eax], 0x6b8570
mov dword [eax + 0xc], edx
jmp 0x5a5163
xor eax, eax
push eax
lea ecx, [esp + 0x1c]
call fcn.004edbe4
mov eax, dword [0x7e8cc4]
cmp eax, 0x100
je 0x5a5410
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
test eax, eax
je 0x5a5274
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 4], esi
mov ebp, eax
mov esi, dword [esp + 0x38]
movzx edx, word [ebp + 2]
test edx, edx
jne 0x5a5246
lea ebx, [esp + 0x18]
movzx edx, word [ebp]
push edx
push ebx
mov ecx, edi
call fcn.005a5a50
mov ebx, dword [edi]
movzx edx, word [ebp]
push edx
mov ecx, edi
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
je 0x5a53ed
movzx edx, byte [ebx + 0x12]
test dl, 2
je 0x5a53c6
test dl, 0x10
jne 0x5a51ea
mov ecx, ebx
call fcn.005ce070
mov ecx, dword [0x7e8cc4]
mov dword [ecx*8 + 0x7e84c0], 1
mov dword [ecx*8 + 0x7e84c4], 0
movzx edx, word [ebp]
mov word [ecx*8 + 0x7e84c4], dx
inc ecx
mov dword [0x7e8cc4], ecx
cmp ecx, 0x100
je 0x5a53b5
mov ecx, ebx
call fcn.005a5ac8
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x1c]
test eax, eax
je 0x5a525d
lea edx, [esp + 0x18]
push esi
push edx
mov ecx, ebx
call fcn.005a5ae8
jmp 0x5a525d
push 1
push esi
push esi
push edx
lea ecx, [esp + 0x24]
call fcn.0053f350
cmp eax, 1
je 0x5a51aa
mov ebp, dword [ebp + 4]
test ebp, ebp
jne 0x5a519e
mov ebp, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 4]
lea ecx, [esp + 0x18]
call fcn.004edaa4
mov ecx, dword [esp + 0x14]
call fcn.0053e75c
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x5a538d
movzx eax, word [0x7bc00c]
mov dword [esp + 0x10], eax
push eax
push dword [edi + 0xc]
mov ecx, dword [esp + 0x44]
call fcn.00606d5c
mov edx, eax
test edx, edx
je 0x5a5310
mov ecx, dword [esp + 0x10]
push ecx
push dword [edi + 0xc]
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], edx
call fcn.00606c94
mov edx, dword [esp]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], esi
mov ebx, eax
mov esi, edx
jmp 0x5a52d9
add esi, 4
mov eax, dword [0x7e8cc4]
mov dword [eax*8 + 0x7e84c0], 2
mov ecx, dword [esi]
mov ecx, dword [ecx + 6]
mov dword [eax*8 + 0x7e84c4], ecx
inc eax
mov dword [0x7e8cc4], eax
cmp eax, 0x100
je 0x5a542e
cmp esi, ebx
je 0x5a5421
jmp 0x5a52d6
movzx eax, word [edi + 4]
mov dword [esp + 0x10], eax
push eax
push dword [edi + 0xc]
mov ecx, dword [esp + 0x44]
call fcn.00606d5c
mov edx, eax
test edx, edx
je 0x5a538d
mov ecx, dword [esp + 0x10]
push ecx
push dword [edi + 0xc]
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], edx
call fcn.00606c94
mov edx, dword [esp]
mov ecx, eax
mov eax, dword [0x7e8cc4]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], esi
mov esi, edx
mov ebx, ecx
jmp 0x5a535b
add esi, 4
mov dword [eax*8 + 0x7e84c0], 2
mov edx, dword [esi]
mov edx, dword [edx + 6]
mov dword [eax*8 + 0x7e84c4], edx
inc eax
mov dword [0x7e8cc4], eax
cmp eax, 0x100
je 0x5a544c
cmp esi, ebx
je 0x5a543f
jmp 0x5a5358
mov eax, dword [0x7e8cc4]
cmp eax, ebp
jg 0x5a5462
mov dword [0x7e8cc4], esi
lea ecx, [esp + 0x18]
call fcn.004ed8d4
mov eax, ebx
add esp, 0x24
pop ebx
pop ebp
pop esi
pop edi
ret 8
push str.Too_many_OPTIONS_LOCALS_
mov ecx, edi
call fcn.005a68b0
jmp 0x5a5225
movzx ecx, word [ebp]
lea edx, [ecx*8]
push dword [edx + ecx*4 + 0x700808]
push str.Cannot_use_normal_desc_as_OPTION_
mov ecx, edi
call fcn.005a68e4
movzx edx, byte [ebx + 0x12]
jmp 0x5a51de
movzx ecx, word [ebp]
lea edx, [ecx*8]
push dword [edx + ecx*4 + 0x700808]
push str.Could_not_be_find_as_OPTION_
mov ecx, edi
call fcn.005a68e4
jmp 0x5a51d1
push str.Too_many_OPTIONS_LOCALS_
mov ecx, edi
call fcn.005a68b0
jmp 0x5a517d
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 4]
jmp 0x5a5310
push str.Too_many_OPTIONS_LOCALS_
mov ecx, edi
call fcn.005a68b0
jmp 0x5a5306
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 4]
jmp 0x5a5392
push str.Too_many_OPTIONS_LOCALS_
mov ecx, edi
call fcn.005a68b0
mov eax, dword [0x7e8cc4]
jmp 0x5a5383
lea edx, [eax*8 + 0x7e84c0]
xor eax, eax
mov dword [edx], eax
mov dword [edx + 4], eax
mov eax, dword [0x7e8cc4]
sub eax, esi
lea ebx, [eax*8 + 3]
lea ecx, [esi*8 + 0x7e84c0]
mov dword [esp + 0x10], ecx
mov ebp, ebx
sar ebp, 1
shr ebp, 0x1e
add ebp, ebx
and ebp, 0xfffffffc
push ebp
xor edx, edx
call fcn.005025c0
mov ebp, eax
mov eax, dword [edi]
push ebp
mov ecx, edi
call dword [eax + 0x10]
mov ebx, eax
test ebx, ebx
jne 0x5a539a
mov dword [esp + 8], esi
mov eax, dword [edi]
push ebp
mov ecx, edi
call dword [eax + 0x14]
mov ebx, eax
cmp esi, dword [0x7e8cc4]
jge 0x5a5522
mov dword [esp + 4], esi
mov dword [esp], edi
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0x10]
cmp dword [esi], 1
je 0x5a552b
mov eax, dword [esi + 4]
movzx ecx, word [eax + 4]
test ecx, ecx
je 0x5a5503
mov edx, dword [ebx]
lea edi, [ecx*8]
push dword [edi + ecx*4 + 0x700808]
push dword [eax + 0xa]
push dword [eax + 6]
mov ecx, ebx
call dword [edx + 4]
jmp 0x5a5512
mov edx, dword [ebx]
push 0
push dword [eax + 0xa]
push dword [eax + 6]
mov ecx, ebx
call dword [edx + 4]
add esi, 8
inc ebp
cmp ebp, dword [0x7e8cc4]
jl 0x5a54d6
mov esi, dword [esp + 4]
or byte [ebx + 0x12], 0x10
jmp 0x5a539a
mov ecx, dword [esp]
mov edx, dword [ecx]
movzx eax, word [esi + 4]
push eax
call dword [edx + 0xc]
mov edi, eax
movzx eax, byte [edi + 0x12]
test al, 0x10
jne 0x5a5549
mov ecx, edi
call fcn.005ce070
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
mov edi, eax
test edi, edi
je 0x5a5512
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
test eax, eax
je 0x5a5578
push eax
push 0x5dec94
mov ecx, edi
call fcn.00542f78
jmp 0x5a5512
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
jmp 0x5a5569
push edi
push esi
push ebp
push ebx
push ecx
mov eax, 0x20
call fcn.00696350
mov ecx, dword [esp + 0x20]
mov edi, ecx
mov esi, dword [0x7e8cc4]
mov dword [esp + 0x18], 0x6b8578
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov ebx, edi
mov ecx, esi
shl ecx, 3
mov dword [ecx + 0x7e84c0], 1
mov dword [ecx + 0x7e84c4], eax
movzx edx, word [edi + 4]
mov word [ecx + 0x7e84c4], dx
lea ebp, [esi + 1]
mov dword [0x7e8cc4], ebp
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
test eax, eax
je 0x5a55f4
push edi
push 0x5a5cc4
mov ecx, eax
call fcn.00542f78
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
test eax, eax
je 0x5a5752
call fcn.0053e764
mov dword [esp + 0x14], eax
push 1
push 0x10
mov ecx, 0x6ff9ec
call fcn.004e566c
test eax, eax
je 0x5a562d
movzx edx, word [edi + 4]
mov dword [eax], 0x6b8570
mov dword [eax + 0xc], edx
jmp 0x5a562f
xor eax, eax
push eax
lea ecx, [esp + 0x1c]
call fcn.004edbe4
mov eax, dword [0x7e8cc4]
cmp eax, 0x100
je 0x5a58dc
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
test eax, eax
je 0x5a5740
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 4], esi
mov ebp, eax
mov esi, dword [esp + 0x38]
movzx edx, word [ebp + 2]
test edx, edx
jne 0x5a5712
lea ebx, [esp + 0x18]
movzx edx, word [ebp]
push edx
push ebx
mov ecx, edi
call fcn.005a5a50
mov ebx, dword [edi]
movzx edx, word [ebp]
push edx
mov ecx, edi
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
je 0x5a58b9
movzx edx, byte [ebx + 0x12]
test dl, 2
je 0x5a5892
test dl, 0x10
jne 0x5a56b6
mov ecx, ebx
call fcn.005ce070
mov ecx, dword [0x7e8cc4]
mov dword [ecx*8 + 0x7e84c0], 1
mov dword [ecx*8 + 0x7e84c4], 0
movzx edx, word [ebp]
mov word [ecx*8 + 0x7e84c4], dx
inc ecx
mov dword [0x7e8cc4], ecx
cmp ecx, 0x100
je 0x5a5881
mov ecx, ebx
call fcn.005a5ac8
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x1c]
test eax, eax
je 0x5a5729
lea edx, [esp + 0x18]
push esi
push edx
mov ecx, ebx
call fcn.005a5ae8
jmp 0x5a5729
push 1
push esi
push esi
push edx
lea ecx, [esp + 0x24]
call fcn.0053f350
cmp eax, 1
je 0x5a5676
mov ebp, dword [ebp + 4]
test ebp, ebp
jne 0x5a566a
mov ebp, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 4]
lea ecx, [esp + 0x18]
call fcn.004edaa4
mov ecx, dword [esp + 0x14]
call fcn.0053e75c
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x5a5859
movzx eax, word [0x7bc00c]
mov dword [esp + 0x10], eax
push eax
push dword [edi + 0xc]
mov ecx, dword [esp + 0x44]
call fcn.00606d5c
mov edx, eax
test edx, edx
je 0x5a57dc
mov ecx, dword [esp + 0x10]
push ecx
push dword [edi + 0xc]
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], edx
call fcn.00606c94
mov edx, dword [esp]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], esi
mov ebx, eax
mov esi, edx
jmp 0x5a57a5
add esi, 4
mov eax, dword [0x7e8cc4]
mov dword [eax*8 + 0x7e84c0], 2
mov ecx, dword [esi]
mov ecx, dword [ecx + 6]
mov dword [eax*8 + 0x7e84c4], ecx
inc eax
mov dword [0x7e8cc4], eax
cmp eax, 0x100
je 0x5a58fa
cmp esi, ebx
je 0x5a58ed
jmp 0x5a57a2
movzx eax, word [edi + 4]
mov dword [esp + 0x10], eax
push eax
push dword [edi + 0xc]
mov ecx, dword [esp + 0x44]
call fcn.00606d5c
mov edx, eax
test edx, edx
je 0x5a5859
mov ecx, dword [esp + 0x10]
push ecx
push dword [edi + 0xc]
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], edx
call fcn.00606c94
mov edx, dword [esp]
mov ecx, eax
mov eax, dword [0x7e8cc4]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], esi
mov esi, edx
mov ebx, ecx
jmp 0x5a5827
add esi, 4
mov dword [eax*8 + 0x7e84c0], 2
mov edx, dword [esi]
mov edx, dword [edx + 6]
mov dword [eax*8 + 0x7e84c4], edx
inc eax
mov dword [0x7e8cc4], eax
cmp eax, 0x100
je 0x5a5918
cmp esi, ebx
je 0x5a590b
jmp 0x5a5824
mov eax, dword [0x7e8cc4]
cmp eax, ebp
jg 0x5a592e
mov dword [0x7e8cc4], esi
lea ecx, [esp + 0x18]
call fcn.004ed8d4
mov eax, ebx
add esp, 0x24
pop ebx
pop ebp
pop esi
pop edi
ret 8
push str.Too_many_OPTIONS_LOCALS_
mov ecx, edi
call fcn.005a68b0
jmp 0x5a56f1
movzx ecx, word [ebp]
lea edx, [ecx*8]
push dword [edx + ecx*4 + 0x700808]
push str.Cannot_use_normal_desc_as_OPTION_
mov ecx, edi
call fcn.005a68e4
movzx edx, byte [ebx + 0x12]
jmp 0x5a56aa
movzx ecx, word [ebp]
lea edx, [ecx*8]
push dword [edx + ecx*4 + 0x700808]
push str.Could_not_be_find_as_OPTION_
mov ecx, edi
call fcn.005a68e4
jmp 0x5a569d
push str.Too_many_OPTIONS_LOCALS_
mov ecx, edi
call fcn.005a68b0
jmp 0x5a5649
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 4]
jmp 0x5a57dc
push str.Too_many_OPTIONS_LOCALS_
mov ecx, edi
call fcn.005a68b0
jmp 0x5a57d2
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 4]
jmp 0x5a585e
push str.Too_many_OPTIONS_LOCALS_
mov ecx, edi
call fcn.005a68b0
mov eax, dword [0x7e8cc4]
jmp 0x5a584f
lea edx, [eax*8 + 0x7e84c0]
xor eax, eax
mov dword [edx], eax
mov dword [edx + 4], eax
mov eax, esi
neg eax
add eax, dword [0x7e8cc4]
lea ebx, [eax*8 + 3]
mov ebp, ebx
sar ebp, 1
shr ebp, 0x1e
add ebp, ebx
and ebp, 0xfffffffc
lea ecx, [esi*8 + 0x7e84c0]
mov dword [esp + 0x10], ecx
push ebp
xor edx, edx
call fcn.005025c0
mov ebp, eax
mov eax, dword [edi]
push ebp
mov ecx, edi
call dword [eax + 0x10]
mov ebx, eax
test ebx, ebx
jne 0x5a5866
mov dword [esp + 8], esi
mov eax, dword [edi]
push ebp
mov ecx, edi
call dword [eax + 0x14]
mov ebx, eax
cmp esi, dword [0x7e8cc4]
jge 0x5a59f1
mov dword [esp + 4], esi
mov dword [esp], edi
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0x10]
cmp dword [esi], 1
je 0x5a59fa
mov eax, dword [esi + 4]
movzx ecx, word [eax + 4]
test ecx, ecx
je 0x5a59d2
lea edi, [ecx*8]
mov edx, dword [ebx]
push dword [edi + ecx*4 + 0x700808]
push dword [eax + 0xa]
push dword [eax + 6]
mov ecx, ebx
call dword [edx + 4]
jmp 0x5a59e1
mov edx, dword [ebx]
push 0
push dword [eax + 0xa]
push dword [eax + 6]
mov ecx, ebx
call dword [edx + 4]
add esi, 8
inc ebp
cmp ebp, dword [0x7e8cc4]
jl 0x5a59a5
mov esi, dword [esp + 4]
or byte [ebx + 0x12], 0x10
jmp 0x5a5866
mov ecx, dword [esp]
mov edx, dword [ecx]
movzx eax, word [esi + 4]
push eax
call dword [edx + 0xc]
mov edi, eax
movzx eax, byte [edi + 0x12]
test al, 0x10
jne 0x5a5a18
mov ecx, edi
call fcn.005ce070
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
mov edi, eax
test edi, edi
je 0x5a59e1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
test eax, eax
je 0x5a5a47
push eax
push 0x5dec94
mov ecx, edi
call fcn.00542f78
jmp 0x5a59e1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
jmp 0x5a5a38