Function at 0x584a40
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xdc
mov esi, dword [ebp + 8]
mov dword [ebp - 0xac], ecx
call fcn.00586e70
sub eax, 0xd7
cmp eax, 5
ja case.default.0x584a68
jmp dword [eax*4 + 0x6e9d78]
mov byte [ebp - 0xb6], 0x56
xor edi, edi
mov byte [ebp - 0xb5], 1
mov ecx, dword [ebp - 0xac]
call fcn.00586c40
call fcn.004cb890
mov dword [esp], 0x6c
mov ecx, eax
call fcn.004cba30
mov ebx, eax
sub esp, 4
and byte [eax + 6], 0xf0
and byte [eax + 8], 0xfe
and byte [eax + 0x60], 0x80
or byte [eax + 0x68], 0xf
mov dword [eax], 0x6f2308
mov byte [eax + 4], 0
mov byte [eax + 5], 1
mov dword [eax + 0x4c], 0
mov dword [eax + 0x50], 0
mov dword [eax + 0x54], 0
mov dword [eax + 0x58], 0
mov byte [eax + 0x5c], 0
mov byte [eax + 0x5d], 0
movzx eax, byte [eax + 0x64]
and byte [ebx + 0x10], 0xc0
and word [ebx + 0x12], 0xfe3f
and word [ebx + 0x10], 0xc03f
and eax, 0xfffffff8
or eax, 4
mov byte [ebx + 0x64], al
movzx eax, word [ebx + 0x2a]
and byte [ebx + 0x15], 0x80
and byte [ebx + 0x18], 0x80
and ax, 0xf80f
or ax, 0x3f0
mov dword [ebx + 0xc], 0
mov byte [ebx + 0x14], 0
mov dword [ebx + 0x1c], 0xffffffff
mov dword [ebx + 0x20], 0xffffffff
mov word [ebx + 0x2a], ax
movzx eax, byte [ebx + 0x28]
movzx edx, word [ebx + 0x3e]
or byte [ebx + 0x34], 0x7f
or dword [ebx + 0x2c], 0x7fff8000
and eax, 0xfffffff8
or eax, 4
or dx, 0x1fe0
mov byte [ebx + 0x28], al
mov eax, dword [ebx + 0x30]
mov word [ebx + 0x3e], dx
shr dx, 8
or edx, 0xffffffe0
or word [ebx + 0x24], 0xfff
or eax, 0x7f8000
mov dword [ebx + 0x30], eax
shr eax, 0x18
or eax, 0xffffff80
mov byte [ebx + 0x33], al
mov eax, edi
or word [ebx + 0x34], 0x780
or dword [ebx + 0x38], 0x1ff80
or word [ebx + 0x3c], 0x1ff8
and byte [ebx + 0x43], 0x1f
and byte [ebx + 0x44], 0xe0
and dword [ebx + 0x10], 0xffc03fff
test al, al
mov byte [ebx + 0x45], 0
mov byte [ebx + 0x46], 0
mov byte [ebx + 0x47], 0
mov dword [ebx + 0x48], 0xfffff800
mov byte [ebx + 0x3f], dl
mov byte [ebx + 0x40], 0xff
je 0x584c54
mov ecx, dword [ebp - 0xac]
mov dword [esp], 0x120
call fcn.00586e90
sub esp, 4
test al, al
je 0x5851e0
mov ecx, dword [ebp - 0xac]
lea eax, [ebp - 0x84]
mov dword [esp + 4], eax
mov dword [esp], ebx
mov dword [ebp - 0x84], 0
mov dword [ebp - 0xb0], eax
call fcn.00581980
sub esp, 8
test al, al
je 0x585194
mov ecx, dword [ebp - 0xac]
mov dword [esp], 0x121
call fcn.00586e90
sub esp, 4
test al, al
jne 0x584c7d
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xac]
mov edx, dword [eax + 0xec]
mov ecx, dword [edx]
mov ecx, dword [ecx + 0x70]
mov dword [esp + 0x10], 0x6e8f02
mov dword [esp + 0xc], str.right_angle_bracket
jmp 0x5851bb
movzx eax, byte [ebx + 0x10]
mov byte [ebx + 4], 5
mov byte [ebx + 0x45], 0
mov byte [ebx + 0x46], 0
and eax, 0xffffffc0
or eax, 6
mov byte [ebx + 0x10], al
lea eax, [ebp - 0x84]
mov byte [ebx + 0x47], 0
mov dword [ebp - 0xb0], eax
call fcn.004cb890
mov dword [esp], 0x10
mov ecx, eax
call fcn.004cba30
sub esp, 4
mov dword [ebp - 0xb4], eax
call fcn.004cb890
mov edx, dword [ebp - 0xb4]
mov dword [edx + 4], 0
mov ecx, edx
mov dword [edx + 8], 0
mov dword [edx], eax
mov eax, dword [ebp - 0xb0]
mov dword [edx + 0xc], 0
mov dword [ebp - 0xbc], edx
mov dword [ebp - 0x84], 0
mov dword [esp], eax
mov dword [ebp - 0x80], 0
call fcn.0062cec0
sub esp, 4
call fcn.004cb890
mov dword [esp], 0xc
mov ecx, eax
call fcn.004cba30
mov edx, dword [ebp - 0xbc]
mov dword [eax], 0x6f1f98
mov edi, eax
sub esp, 4
mov dword [eax + 4], 0
mov dword [ebx + 0x4c], eax
mov dword [eax + 8], 1
mov eax, dword [eax + 4]
test eax, eax
mov dword [ebp - 0xb4], eax
je 0x585350
cmp edx, eax
je 0x584de8
mov edi, dword [edx + 4]
mov ecx, dword [edx + 8]
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xc4], ecx
sub ecx, edi
mov edi, dword [eax + 4]
mov eax, dword [eax + 0xc]
sar ecx, 3
mov dword [ebp - 0xbc], edi
sub eax, edi
sar eax, 3
cmp ecx, eax
ja 0x585210
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax + 8]
mov dword [ebp - 0xc8], eax
sub eax, dword [ebp - 0xbc]
sar eax, 3
cmp ecx, eax
jbe 0x585178
mov edi, dword [ebp - 0xc0]
test eax, eax
lea edi, [edi + eax*8]
jne 0x5852b0
mov eax, edi
mov edx, dword [ebp - 0xc8]
mov edi, dword [ebp - 0xc4]
cmp edi, eax
je 0x584dd6
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xc4], ecx
test edx, edx
je 0x584dc0
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov dword [edx], ecx
mov dword [edx + 4], ebx
add eax, 8
add edx, 8
cmp edi, eax
jne 0x584db2
mov ebx, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0xbc]
lea edx, [eax + ecx*8]
mov eax, dword [ebp - 0xb4]
mov dword [eax + 8], edx
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x2c]
movzx edx, byte [eax + 4]
and edx, 0xffffffc0
or edx, 6
mov byte [eax + 4], dl
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
call fcn.004cb890
mov ecx, dword [ebp - 0xb0]
mov dword [esp], str._data
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x98]
mov dword [esp + 4], eax
call fcn.005f4b30
mov eax, dword [ebp - 0xb0]
mov ecx, ebx
sub esp, 8
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0x80]
sub esp, 4
lock sub dword [eax - 4], 1
call fcn.004cb890
mov dword [esp], 0x10
mov ecx, eax
call fcn.004cba30
sub esp, 4
mov edi, eax
call fcn.004cb890
mov ecx, dword [ebp - 0xac]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x90], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x8c], eax
mov eax, dword [ecx + 0x14]
mov ecx, edi
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x98]
mov dword [esp], eax
call fcn.0062e8a0
mov eax, dword [ebx]
mov ecx, ebx
sub esp, 4
call dword [eax + 0x2c]
mov ebx, eax
call fcn.004cb890
lea ecx, [ebp - 0xa0]
mov dword [esp], 0x6e8f02
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xa8]
mov dword [esp + 4], eax
call fcn.005f4b30
and byte [ebp - 0x7e], 0xf0
and byte [ebp - 0x7c], 0xfe
mov dword [ebp - 0x84], 0x6f2308
mov byte [ebp - 0x80], 0xe
mov byte [ebp - 0x7f], 1
mov eax, dword [ebx]
sub esp, 8
mov dword [ebp - 0x78], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x74], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x70], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x68], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x64], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x60], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x54], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x44], eax
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x34], edi
mov ebx, dword [ebp - 0x9c]
and byte [ebp - 0x24], 0x80
or byte [ebp - 0x1c], 0xf
mov dword [ebp - 0x3c], eax
movzx eax, byte [ebp - 0x20]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x28], 0
and eax, 0xfffffff8
or eax, 4
mov byte [ebp - 0x27], 0
mov byte [ebp - 0x20], al
call fcn.004cb890
mov dword [esp], 8
mov ecx, eax
call fcn.004cba30
sub esp, 4
mov edi, eax
call fcn.004cb890
test edi, edi
mov dword [ebp - 0xa4], eax
je 0x584fd8
lea eax, [ebp - 0xa4]
mov ecx, edi
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.005f4b30
sub esp, 8
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x2c], edi
lock sub dword [eax - 4], 1
movzx eax, byte [ebp - 0x74]
movzx edx, byte [ebp - 0xb5]
and eax, 0xffffffc0
or eax, 6
mov byte [ebp - 0x74], al
movzx eax, byte [ebp - 0x6f]
shl edx, 4
and eax, 0xffffffef
or eax, edx
movzx edx, byte [ebp - 0xb6]
mov byte [ebp - 0x6f], al
movzx eax, word [ebp - 0x74]
shl edx, 6
and ax, 0xc03f
or eax, edx
mov word [ebp - 0x74], ax
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + 0xec]
mov eax, dword [ebp - 0xb0]
mov dword [esp], eax
call fcn.0055a380
movzx eax, byte [ebp - 0x80]
mov byte [esi + 4], al
mov eax, dword [ebp - 0x28]
sub esp, 4
mov dword [esi + 0x5c], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x60], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x64], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x68], eax
mov eax, dword [ebp - 0x78]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x74]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x70]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x6c]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x68]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x64]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x60]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x5c]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x58]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 0x54]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x50]
mov dword [esi + 0x34], eax
mov eax, dword [ebp - 0x4c]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 0x48]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 0x44]
mov dword [esi + 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [esi + 0x44], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x48], eax
movzx eax, byte [ebp - 0x7f]
mov byte [esi + 5], al
movzx eax, byte [esi + 6]
movzx edx, byte [ebp - 0x7e]
and eax, 0xfffffff0
and edx, 0xf
or eax, edx
mov byte [esi + 6], al
movzx eax, byte [esi + 8]
movzx edx, byte [ebp - 0x7c]
and eax, 0xfffffffe
and edx, 1
or eax, edx
mov byte [esi + 8], al
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x4c], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x50], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x54], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x58], eax
mov eax, 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov byte [ebp - 0xb6], 0x53
mov edi, 1
mov byte [ebp - 0xb5], 0
jmp 0x584a80
mov byte [ebp - 0xb6], 0x55
mov edi, 1
mov byte [ebp - 0xb5], 1
jmp 0x584a80
mov byte [ebp - 0xb6], 0x57
xor edi, edi
mov byte [ebp - 0xb5], 0
jmp 0x584a80
mov byte [ebp - 0xb6], 0x54
mov edi, 1
mov byte [ebp - 0xb5], 0
jmp 0x584a80
test ecx, ecx
jne 0x585311
mov edx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0xb4]
mov dword [eax + 8], edx
jmp 0x584de8
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xac]
mov edx, dword [eax + 0xec]
mov ecx, dword [edx]
mov ecx, dword [ecx + 0x70]
mov dword [esp + 0x10], 0x6e8f02
mov dword [esp + 0xc], str.type
lea ebx, [eax + 8]
mov dword [esp + 4], ebx
mov dword [esp + 8], str.Expected
mov dword [esp], edx
call ecx
mov eax, dword [ebp - 0xb0]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xac]
mov edx, dword [eax + 0xec]
mov ecx, dword [edx]
mov ecx, dword [ecx + 0x70]
mov dword [esp + 0x10], 0x6e8f02
mov dword [esp + 0xc], str.left_angle_bracket
jmp 0x5851bb
test ecx, ecx
je 0x5853a0
mov eax, dword [ebp - 0xb4]
lea edx, [ecx*8]
mov dword [ebp - 0xbc], edx
mov ecx, dword [eax]
mov dword [esp], edx
call fcn.004cba30
mov edx, dword [ebp - 0xbc]
sub esp, 4
mov edi, dword [ebp - 0xc4]
mov ecx, eax
cmp dword [ebp - 0xc0], edi
je 0x58529a
mov edi, dword [ebp - 0xc0]
mov dword [ebp - 0xbc], ebx
mov ebx, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], edx
lea esi, [esi]
test ecx, ecx
je 0x58527e
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov dword [ecx], eax
mov dword [ecx + 4], edx
add edi, 8
add ecx, 8
cmp ebx, edi
jne 0x585270
mov ebx, dword [ebp - 0xbc]
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0xc8]
mov edi, dword [ebp - 0xb4]
add edx, eax
mov dword [edi + 4], eax
mov eax, edi
mov dword [edi + 0xc], edx
jmp 0x58518c
shl eax, 3
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xc4], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xbc]
mov dword [esp], eax
call sub.msvcrt.dll_memmove
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ebp - 0xc4]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 4]
mov edi, dword [edx + 8]
mov dword [ebp - 0xbc], ecx
mov ecx, eax
sub eax, dword [ebp - 0xbc]
and eax, 0xfffffff8
add eax, dword [edx + 4]
mov edx, ecx
mov ecx, dword [ebp - 0xc8]
jmp 0x584da2
mov eax, dword [ebp - 0xc0]
lea edx, [ecx*8]
mov dword [esp + 8], edx
mov dword [ebp - 0xc4], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xbc]
mov dword [esp], eax
call sub.msvcrt.dll_memmove
mov eax, dword [ebp - 0xb4]
mov edx, dword [ebp - 0xc4]
add edx, dword [eax + 4]
jmp 0x58518c
call fcn.004cb890
mov dword [esp], 0x10
mov ecx, eax
call fcn.004cba30
sub esp, 4
mov dword [ebp - 0xb4], eax
call fcn.004cb890
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ebp - 0xbc]
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx], eax
mov eax, ecx
mov dword [ecx + 0xc], 0
mov dword [edi + 4], ecx
jmp 0x584d2b
xor edx, edx
xor eax, eax
jmp 0x58523e
xor eax, eax
jmp 0x585107