Function at 0x5a57c8
Capabilities:
Enumerate pe sections

Disassembly:
test dword [0x7eeab0], 0xffffff80
jne 0x5a57f0
test dword [0x7eeab0], 0xffffffff
jne 0x5a5cbc
call fcn.006a7fbc
jmp fcn.005a57c8
push edi
push esi
push ebp
push ebx
push ecx
mov eax, 0x20
call fcn.006977b0
mov ecx, dword [esp + 0x20]
mov edi, ecx
mov esi, dword [0x7e9ce4]
mov dword [esp + 0x18], 0x6b9578
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 + 0x7e94e0], 1
mov dword [ecx + 0x7e94e4], eax
movzx edx, word [edi + 4]
mov word [ecx + 0x7e94e4], dx
lea ebp, [esi + 1]
mov dword [0x7e9ce4], ebp
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
test eax, eax
je 0x5a5860
push edi
push 0x5a63fc
mov ecx, eax
call fcn.00543570
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
test eax, eax
je 0x5a59be
call fcn.0053ed74
mov dword [esp + 0x14], eax
push 1
push 0x10
mov ecx, 0x7009f8
call fcn.004e5c2c
test eax, eax
je 0x5a5899
movzx edx, word [edi + 4]
mov dword [eax], 0x6b9570
mov dword [eax + 0xc], edx
jmp 0x5a589b
xor eax, eax
push eax
lea ecx, [esp + 0x1c]
call fcn.004ee1d4
mov eax, dword [0x7e9ce4]
cmp eax, 0x100
je 0x5a5b48
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
test eax, eax
je 0x5a59ac
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 0x5a597e
lea ebx, [esp + 0x18]
movzx edx, word [ebp]
push edx
push ebx
mov ecx, edi
call fcn.005a6188
mov ebx, dword [edi]
movzx edx, word [ebp]
push edx
mov ecx, edi
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
je 0x5a5b25
movzx edx, byte [ebx + 0x12]
test dl, 2
je 0x5a5afe
test dl, 0x10
jne 0x5a5922
mov ecx, ebx
call fcn.005cf4cc
mov ecx, dword [0x7e9ce4]
mov dword [ecx*8 + 0x7e94e0], 1
mov dword [ecx*8 + 0x7e94e4], 0
movzx edx, word [ebp]
mov word [ecx*8 + 0x7e94e4], dx
inc ecx
mov dword [0x7e9ce4], ecx
cmp ecx, 0x100
je 0x5a5aed
mov ecx, ebx
call fcn.005a6200
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x1c]
test eax, eax
je 0x5a5995
lea edx, [esp + 0x18]
push esi
push edx
mov ecx, ebx
call fcn.005a6220
jmp 0x5a5995
push 1
push esi
push esi
push edx
lea ecx, [esp + 0x24]
call fcn.0053f960
cmp eax, 1
je 0x5a58e2
mov ebp, dword [ebp + 4]
test ebp, ebp
jne 0x5a58d6
mov ebp, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 4]
lea ecx, [esp + 0x18]
call fcn.004ee094
mov ecx, dword [esp + 0x14]
call fcn.0053ed6c
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x5a5ac5
movzx eax, word [0x7bd02c]
mov dword [esp + 0x10], eax
push eax
push dword [edi + 0xc]
mov ecx, dword [esp + 0x44]
call fcn.006081b0
mov edx, eax
test edx, edx
je 0x5a5a48
mov ecx, dword [esp + 0x10]
push ecx
push dword [edi + 0xc]
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], edx
call fcn.006080e8
mov edx, dword [esp]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], esi
mov ebx, eax
mov esi, edx
jmp 0x5a5a11
add esi, 4
mov eax, dword [0x7e9ce4]
mov dword [eax*8 + 0x7e94e0], 2
mov ecx, dword [esi]
mov ecx, dword [ecx + 6]
mov dword [eax*8 + 0x7e94e4], ecx
inc eax
mov dword [0x7e9ce4], eax
cmp eax, 0x100
je 0x5a5b66
cmp esi, ebx
je 0x5a5b59
jmp 0x5a5a0e
movzx eax, word [edi + 4]
mov dword [esp + 0x10], eax
push eax
push dword [edi + 0xc]
mov ecx, dword [esp + 0x44]
call fcn.006081b0
mov edx, eax
test edx, edx
je 0x5a5ac5
mov ecx, dword [esp + 0x10]
push ecx
push dword [edi + 0xc]
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], edx
call fcn.006080e8
mov edx, dword [esp]
mov ecx, eax
mov eax, dword [0x7e9ce4]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], esi
mov esi, edx
mov ebx, ecx
jmp 0x5a5a93
add esi, 4
mov dword [eax*8 + 0x7e94e0], 2
mov edx, dword [esi]
mov edx, dword [edx + 6]
mov dword [eax*8 + 0x7e94e4], edx
inc eax
mov dword [0x7e9ce4], eax
cmp eax, 0x100
je 0x5a5b84
cmp esi, ebx
je 0x5a5b77
jmp 0x5a5a90
mov eax, dword [0x7e9ce4]
cmp eax, ebp
jg 0x5a5b9a
mov dword [0x7e9ce4], esi
lea ecx, [esp + 0x18]
call fcn.004ede94
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.005a6fe8
jmp 0x5a595d
movzx ecx, word [ebp]
lea edx, [ecx*8]
push dword [edx + ecx*4 + 0x701828]
push str.Cannot_use_normal_desc_as_OPTION_
mov ecx, edi
call fcn.005a701c
movzx edx, byte [ebx + 0x12]
jmp 0x5a5916
movzx ecx, word [ebp]
lea edx, [ecx*8]
push dword [edx + ecx*4 + 0x701828]
push str.Could_not_be_find_as_OPTION_
mov ecx, edi
call fcn.005a701c
jmp 0x5a5909
push str.Too_many_OPTIONS_LOCALS_
mov ecx, edi
call fcn.005a6fe8
jmp 0x5a58b5
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 4]
jmp 0x5a5a48
push str.Too_many_OPTIONS_LOCALS_
mov ecx, edi
call fcn.005a6fe8
jmp 0x5a5a3e
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 4]
jmp 0x5a5aca
push str.Too_many_OPTIONS_LOCALS_
mov ecx, edi
call fcn.005a6fe8
mov eax, dword [0x7e9ce4]
jmp 0x5a5abb
lea edx, [eax*8 + 0x7e94e0]
xor eax, eax
mov dword [edx], eax
mov dword [edx + 4], eax
mov eax, dword [0x7e9ce4]
sub eax, esi
lea ebx, [eax*8 + 3]
lea ecx, [esi*8 + 0x7e94e0]
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.00502b7c
mov ebp, eax
mov eax, dword [edi]
push ebp
mov ecx, edi
call dword [eax + 0x10]
mov ebx, eax
test ebx, ebx
jne 0x5a5ad2
mov dword [esp + 8], esi
mov eax, dword [edi]
push ebp
mov ecx, edi
call dword [eax + 0x14]
mov ebx, eax
cmp esi, dword [0x7e9ce4]
jge 0x5a5c5a
mov dword [esp + 4], esi
mov dword [esp], edi
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0x10]
cmp dword [esi], 1
je 0x5a5c63
mov eax, dword [esi + 4]
movzx ecx, word [eax + 4]
test ecx, ecx
je 0x5a5c3b
mov edx, dword [ebx]
lea edi, [ecx*8]
push dword [edi + ecx*4 + 0x701828]
push dword [eax + 0xa]
push dword [eax + 6]
mov ecx, ebx
call dword [edx + 4]
jmp 0x5a5c4a
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 [0x7e9ce4]
jl 0x5a5c0e
mov esi, dword [esp + 4]
or byte [ebx + 0x12], 0x10
jmp 0x5a5ad2
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 0x5a5c81
mov ecx, edi
call fcn.005cf4cc
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 0x5a5c4a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
test eax, eax
je 0x5a5cb0
push eax
push 0x5e00f8
mov ecx, edi
call fcn.00543570
jmp 0x5a5c4a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
jmp 0x5a5ca1
push edi
push esi
push ebp
push ebx
push ecx
mov eax, 0x20
call fcn.006977b0
mov ecx, dword [esp + 0x20]
mov edi, ecx
mov esi, dword [0x7e9ce4]
mov dword [esp + 0x18], 0x6b9578
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 + 0x7e94e0], 1
mov dword [ecx + 0x7e94e4], eax
movzx edx, word [edi + 4]
mov word [ecx + 0x7e94e4], dx
lea ebp, [esi + 1]
mov dword [0x7e9ce4], ebp
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
test eax, eax
je 0x5a5d2c
push edi
push 0x5a63fc
mov ecx, eax
call fcn.00543570
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
test eax, eax
je 0x5a5e8a
call fcn.0053ed74
mov dword [esp + 0x14], eax
push 1
push 0x10
mov ecx, 0x7009f8
call fcn.004e5c2c
test eax, eax
je 0x5a5d65
movzx edx, word [edi + 4]
mov dword [eax], 0x6b9570
mov dword [eax + 0xc], edx
jmp 0x5a5d67
xor eax, eax
push eax
lea ecx, [esp + 0x1c]
call fcn.004ee1d4
mov eax, dword [0x7e9ce4]
cmp eax, 0x100
je 0x5a6014
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
test eax, eax
je 0x5a5e78
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 0x5a5e4a
lea ebx, [esp + 0x18]
movzx edx, word [ebp]
push edx
push ebx
mov ecx, edi
call fcn.005a6188
mov ebx, dword [edi]
movzx edx, word [ebp]
push edx
mov ecx, edi
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
je 0x5a5ff1
movzx edx, byte [ebx + 0x12]
test dl, 2
je 0x5a5fca
test dl, 0x10
jne 0x5a5dee
mov ecx, ebx
call fcn.005cf4cc
mov ecx, dword [0x7e9ce4]
mov dword [ecx*8 + 0x7e94e0], 1
mov dword [ecx*8 + 0x7e94e4], 0
movzx edx, word [ebp]
mov word [ecx*8 + 0x7e94e4], dx
inc ecx
mov dword [0x7e9ce4], ecx
cmp ecx, 0x100
je 0x5a5fb9
mov ecx, ebx
call fcn.005a6200
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x1c]
test eax, eax
je 0x5a5e61
lea edx, [esp + 0x18]
push esi
push edx
mov ecx, ebx
call fcn.005a6220
jmp 0x5a5e61
push 1
push esi
push esi
push edx
lea ecx, [esp + 0x24]
call fcn.0053f960
cmp eax, 1
je 0x5a5dae
mov ebp, dword [ebp + 4]
test ebp, ebp
jne 0x5a5da2
mov ebp, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 4]
lea ecx, [esp + 0x18]
call fcn.004ee094
mov ecx, dword [esp + 0x14]
call fcn.0053ed6c
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x5a5f91
movzx eax, word [0x7bd02c]
mov dword [esp + 0x10], eax
push eax
push dword [edi + 0xc]
mov ecx, dword [esp + 0x44]
call fcn.006081b0
mov edx, eax
test edx, edx
je 0x5a5f14
mov ecx, dword [esp + 0x10]
push ecx
push dword [edi + 0xc]
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], edx
call fcn.006080e8
mov edx, dword [esp]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], esi
mov ebx, eax
mov esi, edx
jmp 0x5a5edd
add esi, 4
mov eax, dword [0x7e9ce4]
mov dword [eax*8 + 0x7e94e0], 2
mov ecx, dword [esi]
mov ecx, dword [ecx + 6]
mov dword [eax*8 + 0x7e94e4], ecx
inc eax
mov dword [0x7e9ce4], eax
cmp eax, 0x100
je 0x5a6032
cmp esi, ebx
je 0x5a6025
jmp 0x5a5eda
movzx eax, word [edi + 4]
mov dword [esp + 0x10], eax
push eax
push dword [edi + 0xc]
mov ecx, dword [esp + 0x44]
call fcn.006081b0
mov edx, eax
test edx, edx
je 0x5a5f91
mov ecx, dword [esp + 0x10]
push ecx
push dword [edi + 0xc]
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], edx
call fcn.006080e8
mov edx, dword [esp]
mov ecx, eax
mov eax, dword [0x7e9ce4]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], esi
mov esi, edx
mov ebx, ecx
jmp 0x5a5f5f
add esi, 4
mov dword [eax*8 + 0x7e94e0], 2
mov edx, dword [esi]
mov edx, dword [edx + 6]
mov dword [eax*8 + 0x7e94e4], edx
inc eax
mov dword [0x7e9ce4], eax
cmp eax, 0x100
je 0x5a6050
cmp esi, ebx
je 0x5a6043
jmp 0x5a5f5c
mov eax, dword [0x7e9ce4]
cmp eax, ebp
jg 0x5a6066
mov dword [0x7e9ce4], esi
lea ecx, [esp + 0x18]
call fcn.004ede94
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.005a6fe8
jmp 0x5a5e29
movzx ecx, word [ebp]
lea edx, [ecx*8]
push dword [edx + ecx*4 + 0x701828]
push str.Cannot_use_normal_desc_as_OPTION_
mov ecx, edi
call fcn.005a701c
movzx edx, byte [ebx + 0x12]
jmp 0x5a5de2
movzx ecx, word [ebp]
lea edx, [ecx*8]
push dword [edx + ecx*4 + 0x701828]
push str.Could_not_be_find_as_OPTION_
mov ecx, edi
call fcn.005a701c
jmp 0x5a5dd5
push str.Too_many_OPTIONS_LOCALS_
mov ecx, edi
call fcn.005a6fe8
jmp 0x5a5d81
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 4]
jmp 0x5a5f14
push str.Too_many_OPTIONS_LOCALS_
mov ecx, edi
call fcn.005a6fe8
jmp 0x5a5f0a
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 4]
jmp 0x5a5f96
push str.Too_many_OPTIONS_LOCALS_
mov ecx, edi
call fcn.005a6fe8
mov eax, dword [0x7e9ce4]
jmp 0x5a5f87
lea edx, [eax*8 + 0x7e94e0]
xor eax, eax
mov dword [edx], eax
mov dword [edx + 4], eax
mov eax, esi
neg eax
add eax, dword [0x7e9ce4]
lea ebx, [eax*8 + 3]
mov ebp, ebx
sar ebp, 1
shr ebp, 0x1e
add ebp, ebx
and ebp, 0xfffffffc
lea ecx, [esi*8 + 0x7e94e0]
mov dword [esp + 0x10], ecx
push ebp
xor edx, edx
call fcn.00502b7c
mov ebp, eax
mov eax, dword [edi]
push ebp
mov ecx, edi
call dword [eax + 0x10]
mov ebx, eax
test ebx, ebx
jne 0x5a5f9e
mov dword [esp + 8], esi
mov eax, dword [edi]
push ebp
mov ecx, edi
call dword [eax + 0x14]
mov ebx, eax
cmp esi, dword [0x7e9ce4]
jge 0x5a6129
mov dword [esp + 4], esi
mov dword [esp], edi
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0x10]
cmp dword [esi], 1
je 0x5a6132
mov eax, dword [esi + 4]
movzx ecx, word [eax + 4]
test ecx, ecx
je 0x5a610a
lea edi, [ecx*8]
mov edx, dword [ebx]
push dword [edi + ecx*4 + 0x701828]
push dword [eax + 0xa]
push dword [eax + 6]
mov ecx, ebx
call dword [edx + 4]
jmp 0x5a6119
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 [0x7e9ce4]
jl 0x5a60dd
mov esi, dword [esp + 4]
or byte [ebx + 0x12], 0x10
jmp 0x5a5f9e
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 0x5a6150
mov ecx, edi
call fcn.005cf4cc
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 0x5a6119
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
test eax, eax
je 0x5a617f
push eax
push 0x5e00f8
mov ecx, edi
call fcn.00543570
jmp 0x5a6119
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
jmp 0x5a6170