Function at 0x4628d9
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x40
mov esi, dword [esp + 0x5c]
xorps xmm0, xmm0
lea edx, [esp + 0xc]
movups xmmword [edx], xmm0
mov eax, dword [esi + 8]
mov ecx, esi
mov dword [esp + 0x1c], eax
push 8
call 0x462b50
pop ecx
cmp eax, 8
jne 0x4629e4
movzx edi, word [esp + 0x14]
movzx eax, word [esp + 0xc]
movzx ecx, word [esp + 0xe]
movzx edx, word [esp + 0x10]
movzx esi, word [esp + 0x12]
movzx ebp, word [esp + 0x16]
movzx ebx, word [esp + 0x18]
rol di, 8
rol ax, 8
rol cx, 8
rol dx, 8
rol si, 8
rol bp, 8
rol bx, 8
mov word [esp], di
movzx edi, word [esp + 0x1a]
mov word [esp + 0xa], ax
mov word [esp + 8], cx
mov word [esp + 6], dx
mov word [esp + 4], si
rol di, 8
push 0x2f
pop edx
mov esi, dword [esp + 0x5c]
mov ecx, esi
call fcn.00462c64
cmp eax, 0x110000
je 0x462a0d
push 0xa
pop edx
mov ecx, esi
push 0x81
push 3
call fcn.00462cbf
pop ecx
pop ecx
test eax, eax
je 0x462a0d
cmp dl, 0x81
jae 0x462b22
mov eax, dword [esp + 0x54]
movzx ecx, word [esp + 0xa]
mov word [eax + 1], cx
movzx ecx, word [esp + 8]
mov word [eax + 3], cx
movzx ecx, word [esp + 6]
mov word [eax + 5], cx
movzx ecx, word [esp + 4]
mov word [eax + 7], cx
movzx ecx, word [esp]
mov word [eax + 9], cx
mov cl, 1
mov word [eax + 0xb], bp
mov word [eax + 0xd], bx
mov word [eax + 0xf], di
mov byte [eax + 0x11], dl
jmp 0x462a1a
test dl, 1
jne 0x462a0d
mov ebx, eax
push 0x3a
pop edx
mov ecx, esi
call fcn.00462c64
cmp eax, 0x110000
je 0x462a0d
push 0x3a
pop edx
mov ecx, esi
call fcn.00462c64
cmp eax, 0x110000
jne 0x462a24
mov eax, dword [esp + 0x1c]
mov cl, 2
mov dword [esi + 8], eax
mov eax, dword [esp + 0x54]
mov byte [eax], cl
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
xorps xmm0, xmm0
lea edi, [esp + 0x30]
movups xmmword [edi], xmm0
push 8
pop eax
sub eax, ebx
mov edx, edi
mov ecx, esi
push eax
call 0x462b50
pop ecx
mov esi, eax
mov edx, ebx
lea ecx, [esp + 0xc]
push 0x574d54
call fcn.00462c8c
pop ecx
mov ebx, edx
mov edx, esi
mov dword [esp], eax
mov ecx, edi
push 0x574d64
call fcn.00462c8c
pop ecx
lea ecx, [edx + ebx]
mov esi, eax
cmp ecx, 9
jae 0x462b3e
mov ebp, edx
lea edi, [esp + 0x20]
xorps xmm0, xmm0
xor ecx, ecx
mov edx, ebx
movups xmmword [edi], xmm0
push 0x574db4
push edi
call fcn.00462ca4
pop ecx
pop ecx
mov ecx, eax
push 0x574dc4
push ebx
push dword [esp + 8]
call fcn.0046267a
add esp, 0xc
push 8
pop edx
mov ecx, edx
sub ecx, ebp
push 0x574dd4
push edi
call fcn.00462ca4
pop ecx
pop ecx
mov ecx, eax
push 0x574de4
push ebp
push esi
call fcn.0046267a
add esp, 0xc
movzx ebx, word [edi + 8]
movzx eax, word [edi]
movzx ecx, word [edi + 2]
movzx edx, word [edi + 4]
movzx esi, word [edi + 6]
movzx ebp, word [edi + 0xa]
mov word [esp], bx
movzx ebx, word [edi + 0xc]
movzx edi, word [edi + 0xe]
rol word [esp], 8
rol ax, 8
rol cx, 8
rol dx, 8
rol si, 8
rol bp, 8
mov word [esp + 0xa], ax
mov word [esp + 8], cx
mov word [esp + 6], dx
mov word [esp + 4], si
rol bx, 8
jmp 0x462964
lea eax, [esp + 0x20]
push 0x2b
pop edx
mov ecx, str.called__Result::unwrap____on_an__Err__value
push 0x574e34
push 0x574cd4
push eax
call fcn.00526c20
push 0x2e
pop edx
mov ecx, 0x574d74
push 0x574da4
call fcn.00526990
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [esp + 0x20]
mov ebp, ecx
mov ebx, edx
xor esi, esi
lea ecx, [eax - 1]
mov dword [esp + 8], ecx
cmp eax, esi
je 0x462bf3
cmp esi, dword [esp + 8]
mov edi, dword [ebp + 8]
jae 0x462ba3
test esi, esi
je 0x462b8e
mov ecx, ebp
push 0x3a
pop edx
call fcn.00462c64
cmp eax, 0x110000
je 0x462ba0
lea ecx, [esp + 3]
mov edx, ebp
call fcn.00462d96
cmp byte [esp + 3], 0
jne 0x462bfb
mov dword [ebp + 8], edi
test esi, esi
je 0x462bbc
mov ecx, ebp
push 0x3a
pop edx
call fcn.00462c64
cmp eax, 0x110000
jne 0x462bbc
xor ecx, ecx
jmp 0x462bd8
mov ecx, ebp
push 0x10
pop edx
push 0x10000
push 4
call fcn.00462cbf
pop ecx
pop ecx
xor ecx, ecx
test eax, eax
setne cl
jne 0x462bdb
mov dword [ebp + 8], edi
test cx, cx
je 0x462bf7
cmp esi, 8
je 0x462c36
mov eax, dword [esp + 0x20]
mov word [ebx + esi*2], dx
inc esi
jmp 0x462b68
xor edx, edx
jmp 0x462c2e
xor edx, edx
jmp 0x462c2c
cmp esi, 7
ja 0x462c45
mov eax, dword [esp + 4]
mov ecx, eax
rol cx, 8
cmp esi, 7
mov word [ebx + esi*2], cx
je 0x462c54
mov ecx, eax
shr eax, 8
mov dl, 1
shr ecx, 0x18
and eax, 0xffff00
or eax, ecx
mov word [ebx + esi*2 + 2], ax
add esi, 2
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
push 8
pop ecx
mov edx, ecx
push 0x574e14
call fcn.00526920
push 8
pop edx
mov ecx, esi
push 0x574df4
call fcn.00526920
inc esi
push 8
pop edx
mov ecx, esi
push 0x574e04
call fcn.00526920