Function at 0x55ff30
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x14]
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
push ebp
push eax
call fcn.0055fd20
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
mov dl, cl
and edx, 2
and ecx, 0xfffffffd
cmp ax, 3
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x2c], ecx
jne 0x55ff76
mov dword [esp + 0x20], 2
jmp 0x55ff84
cmp ax, 0xb
jne 0x55ff84
mov dword [esp + 0x20], 4
push 0xb
xor ebx, ebx
xor esi, esi
call fcn.0055acf0
mov edi, eax
test edi, edi
jne 0x55ffb4
mov eax, dword [0x5e6fac]
pop edi
pop esi
pop ebp
mov word [eax + 0x1c], 0x71
mov ecx, dword [0x5e6fac]
pop ebx
mov ax, word [ecx + 0x1c]
add esp, 0xc
ret 0x10
mov ecx, dword [0x5e6fac]
mov edx, dword [esp + 0x10]
mov eax, dword [ecx + edx*4 + 0x434]
test eax, eax
jne 0x55ffe8
lea eax, [edx*4 + 0x474]
mov dword [esp + 0x14], eax
mov dword [eax + ecx], edi
mov eax, dword [0x5e6fac]
mov dword [eax + edx*4 + 0x434], edi
jmp 0x560087
lea edx, [edx*4 + 0x474]
mov dword [esp + 0x14], edx
mov ecx, dword [edx + ecx]
cmp ebp, dword [ecx + 8]
jle 0x56000a
mov ebx, ecx
mov dword [ebx], edi
mov ecx, dword [0x5e6fac]
mov dword [edx + ecx], edi
jmp 0x560087
mov ecx, dword [eax + 8]
mov esi, eax
cmp ebp, ecx
jge 0x560028
mov eax, dword [esp + 0x10]
mov dword [edi], esi
mov edx, dword [0x5e6fac]
mov dword [edx + eax*4 + 0x434], edi
jmp 0x560087
test esi, esi
je 0x56007d
mov eax, dword [esi + 8]
cmp ebp, eax
jl 0x56004a
jne 0x560040
mov cx, word [esp + 0x24]
cmp cx, word [esi + 4]
je 0x560050
mov ebx, esi
mov esi, dword [esi]
test esi, esi
jne 0x56002c
jmp 0x56007d
mov dword [edi], esi
mov dword [ebx], edi
jmp 0x560075
push 0xb
push edi
call fcn.0055aef0
cmp word [esp + 0x2c], 0
mov edi, esi
je 0x560066
mov byte [esi + 7], 1
mov dl, byte [esi + 6]
mov al, byte [esp + 0x20]
cmp dl, al
je 0x56015d
test esi, esi
jne 0x560087
mov edx, dword [esp + 0x14]
mov dword [ebx], edi
mov eax, dword [0x5e6fac]
mov dword [edx + eax], edi
cmp word [esp + 0x18], 0
jne 0x5600bf
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0055b4c0
test eax, eax
je 0x56010e
mov ecx, dword [esp + 0x28]
cmp cx, 3
jne 0x5600ab
push 1
jmp 0x5600b3
cmp cx, 2
jne 0x5600ed
push 0
push eax
push ebp
call fcn.0055a220
test ax, ax
jne 0x56010e
mov cx, word [esp + 0x24]
mov dl, byte [esp + 0x20]
mov al, byte [esp + 0x2c]
mov word [edi + 4], cx
mov dword [edi + 8], ebp
mov byte [edi + 6], dl
mov byte [edi + 7], al
mov ecx, dword [0x5e6fac]
pop edi
pop esi
mov ax, word [ecx + 0x1c]
pop ebp
pop ebx
add esp, 0xc
ret 0x10
cmp cx, 4
jne 0x5600fc
push eax
push ebp
call fcn.0055a330
jmp 0x5600ba
cmp cx, 0xb
jne 0x5600bf
push eax
push ebp
call fcn.0055a330
test ax, ax
je 0x5600bf
cmp edi, esi
je 0x56014a
test ebx, ebx
jne 0x560129
mov edx, dword [0x5e6fac]
mov eax, dword [esp + 0x10]
mov dword [edx + eax*4 + 0x434], esi
jmp 0x56012b
mov dword [ebx], esi
test esi, esi
jne 0x560142
mov ecx, dword [0x5e6fac]
mov edx, dword [esp + 0x14]
test ebx, ebx
mov dword [edx + ecx], ebx
je 0x560142
mov dword [ebx], esi
push 0xb
push edi
call fcn.0055aef0
mov eax, dword [0x5e6fac]
pop edi
pop esi
pop ebp
mov ax, word [eax + 0x1c]
pop ebx
add esp, 0xc
ret 0x10
mov edx, dword [0x5e6fac]
pop edi
pop esi
pop ebp
mov ax, word [edx + 0x1c]
pop ebx
add esp, 0xc
ret 0x10