Function at 0x550347
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 edi, dword [esi + 8]
mov ecx, esi
push 8
call fcn.005505c6
pop ecx
cmp eax, 8
mov dword [esp + 0x1c], edi
jne 0x550452
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.005506d9
cmp eax, 0x110000
je 0x55047b
push 0xa
pop edx
mov ecx, esi
push 0x81
push 3
call fcn.0055071f
pop ecx
pop ecx
test eax, eax
je 0x55047b
cmp dl, 0x81
jae 0x550590
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 0x550488
test dl, 1
jne 0x55047b
mov ebx, eax
push 0x3a
pop edx
mov ecx, esi
call fcn.005506d9
cmp eax, 0x110000
je 0x55047b
push 0x3a
pop edx
mov ecx, esi
call fcn.005506d9
cmp eax, 0x110000
jne 0x550492
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 fcn.005505c6
pop ecx
mov esi, eax
lea edx, [esp + 0xc]
mov ecx, ebx
push 0x9f41b0
call fcn.005501b5
pop ecx
mov ebx, edx
mov edx, edi
mov dword [esp], eax
mov ecx, esi
push 0x9f41c0
call fcn.005501b5
pop ecx
lea ecx, [edx + ebx]
mov esi, eax
cmp ecx, 9
jae 0x5505b1
mov ebp, edx
lea edi, [esp + 0x20]
xorps xmm0, xmm0
xor ecx, ecx
mov edx, ebx
movups xmmword [edi], xmm0
push 0x9f4210
push edi
call fcn.00550701
pop ecx
pop ecx
mov ecx, eax
push 0x9f4220
push ebx
push dword [esp + 8]
call fcn.005501ce
add esp, 0xc
push 8
pop edx
mov ecx, edx
sub ecx, ebp
push 0x9f4230
push edi
call fcn.00550701
pop ecx
pop ecx
mov ecx, eax
push 0x9f4240
push ebp
push esi
call fcn.005501ce
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 0x5503d2
lea eax, [esp + 0x20]
push 0x2b
pop edx
mov ecx, str.called__Result::unwrap____on_an__Err__value
push 0x9f4290
push 0x9f4140
push eax
call fcn.0063cff0
add esp, 0xc
ud2
push 0x2e
pop edx
mov ecx, 0x9f41d0
push 0x9f4200
call fcn.0063cd70
pop eax
ud2