Function at 0x55d1b0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
push ebp
mov ebp, dword [esp + 0x24]
cmp byte [ebp + 0x43], 1
jne 0x55d215
cmp byte [ebp + 0x42], 0
je 0x55d215
mov eax, dword [ebp + 0x60]
cmp byte [eax + 2], 0
je 0x55d215
mov eax, dword [ebp + 0x28]
mov edx, dword [esp + 0x2c]
cmp eax, edx
mov ecx, dword [ebp + 0x2c]
jne 0x55d1f2
cmp ecx, dword [esp + 0x30]
jne 0x55d1f2
mov ecx, dword [esp + 0x38]
mov dword [ecx], 0
xor eax, eax
pop ebp
add esp, 0x1c
ret
cmp byte [ebp + 0x41], 0
je 0x55d215
cmp ecx, dword [esp + 0x30]
jg 0x55d215
jl 0x55d204
cmp eax, edx
jae 0x55d215
mov edx, dword [esp + 0x38]
mov dword [edx], 0xffffffff
xor eax, eax
pop ebp
add esp, 0x1c
ret
mov eax, ebp
call fcn.0055cea0
test eax, eax
jne 0x55d585
cmp byte [ebp + 0x43], al
jne 0x55d23a
mov eax, dword [esp + 0x38]
mov dword [eax], 0xffffffff
xor eax, eax
pop ebp
add esp, 0x1c
ret
push ebx
push esi
push edi
lea ecx, [ecx]
movsx ecx, word [ebp + 0x5c]
mov esi, dword [ebp + ecx*4 + 0x60]
movzx eax, word [esi + 0x10]
sub eax, 1
cmp dword [esp + 0x40], 0
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], eax
jne 0x55d26b
cdq
sub eax, edx
sar eax, 1
mov word [ebp + ecx*2 + 0xb0], ax
movsx ecx, word [ebp + 0x5c]
movzx ecx, word [ebp + ecx*2 + 0xb0]
mov word [ebp + 0x3e], 0
movzx edx, word [esi + 0xc]
mov eax, dword [esi + 0x40]
movzx edi, byte [esi + 6]
add edx, eax
movzx ebx, byte [edx + ecx*2 + 1]
mov bh, byte [edx + ecx*2]
mov dword [esp + 0x1c], ecx
lea ecx, [edx + ecx*2]
movzx ecx, word [esi + 0x12]
and ebx, ecx
add ebx, edi
add ebx, eax
cmp byte [esi + 2], 0
je 0x55d342
cmp byte [esi + 4], 0
je 0x55d2de
cmp byte [ebx], 0x80
jae 0x55d2c7
mov eax, 1
jmp 0x55d2d9
lea esi, [esp + 0x30]
mov ecx, ebx
call fcn.00532bb0
mov esi, dword [esp + 0x18]
movzx eax, al
movzx edx, al
add ebx, edx
lea edi, [esp + 0x24]
mov eax, ebx
call fcn.00532a20
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
cmp eax, edx
mov ecx, dword [esp + 0x28]
jne 0x55d310
cmp ecx, dword [esp + 0x3c]
jne 0x55d314
xor edi, edi
mov byte [ebp + 0x42], 1
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x2c], ecx
jmp 0x55d43e
cmp ecx, dword [esp + 0x3c]
jg 0x55d32e
jl 0x55d31c
cmp eax, edx
jae 0x55d32e
or edi, 0xffffffff
mov byte [ebp + 0x42], 1
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x2c], ecx
jmp 0x55d43e
mov edi, 1
mov byte [ebp + 0x42], 1
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x2c], ecx
jmp 0x55d43e
movzx eax, byte [ebx]
test al, al
js 0x55d36a
movzx ecx, word [esi + 8]
cmp eax, ecx
jg 0x55d36a
mov edx, dword [esp + 0x34]
push edx
add ebx, 1
push ebx
push eax
call fcn.00553980
add esp, 0xc
mov edi, eax
jmp 0x55d43e
mov cl, byte [ebx + 1]
test cl, cl
js 0x55d39d
movzx edx, word [esi + 8]
and eax, 0x7f
movzx ecx, cl
shl eax, 7
add eax, ecx
cmp eax, edx
jg 0x55d39d
mov ecx, dword [esp + 0x34]
push ecx
add ebx, 2
push ebx
push eax
call fcn.00553980
add esp, 0xc
mov edi, eax
jmp 0x55d43e
lea edx, [ebp + 0x20]
push edx
sub ebx, edi
push ebx
push esi
call fcn.00536490
mov edi, dword [ebp + 0x28]
lea eax, [edi - 1]
add esp, 0xc
cmp eax, 0x7ffffefe
ja 0x55d529
cmp dword [0x659270], 0
je 0x55d451
mov eax, dword [0x65f020]
test eax, eax
je 0x55d3de
push eax
call dword [0x6592b8]
add esp, 4
lea ebx, [esp + 0x14]
mov eax, edi
call fcn.0053c460
mov eax, dword [0x65f020]
test eax, eax
je 0x55d3fc
push eax
call dword [0x6592c0]
add esp, 4
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x55d529
push 0
push ebx
push edi
push 0
push ebp
call fcn.00559000
add esp, 0x14
test eax, eax
mov dword [esp + 0x30], eax
jne 0x55d53d
mov ecx, dword [esp + 0x34]
push ecx
push ebx
push edi
call fcn.00553980
push ebx
mov edi, eax
call fcn.00531ca0
add esp, 0x10
test edi, edi
je 0x55d485
jge 0x55d463
mov edx, dword [esp + 0x1c]
add edx, 1
mov dword [esp + 0x10], edx
jmp 0x55d46e
push edi
call dword [0x659288]
mov ebx, eax
add esp, 4
mov dword [esp + 0x14], ebx
jmp 0x55d404
mov eax, dword [esp + 0x1c]
add eax, 0xffffffff
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
cmp ecx, eax
jg 0x55d4a3
add eax, ecx
movsx ecx, word [ebp + 0x5c]
jmp 0x55d266
cmp byte [esi + 2], 0
je 0x55d552
cmp byte [esi + 3], 0
jne 0x55d552
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], edx
mov ecx, edx
cmp byte [esi + 3], 0
jne 0x55d570
movzx eax, word [esi + 0x10]
cmp ecx, eax
mov eax, dword [esi + 0x40]
jl 0x55d4c2
movzx edx, byte [esi + 5]
lea eax, [edx + eax + 8]
jmp 0x55d4db
movzx edx, word [esi + 0xc]
add edx, eax
movzx ebx, byte [edx + ecx*2 + 1]
mov bh, byte [edx + ecx*2]
lea edx, [edx + ecx*2]
movzx edx, word [esi + 0x12]
and ebx, edx
add eax, ebx
movzx esi, byte [eax + 2]
xor edx, edx
mov dh, byte [eax]
mov dl, byte [eax + 1]
movzx eax, byte [eax + 3]
shl edx, 8
or edx, esi
shl edx, 8
or eax, edx
test eax, eax
je 0x55d570
movsx edx, word [ebp + 0x5c]
mov word [ebp + edx*2 + 0xb0], cx
push eax
mov esi, ebp
mov word [ebp + 0x3e], 0
mov byte [ebp + 0x42], 0
call fcn.0055ce10
add esp, 4
test eax, eax
je 0x55d240
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x1c
ret
pop edi
pop esi
pop ebx
mov dword [esp + 0x24], 7
mov eax, dword [esp + 0x24]
pop ebp
add esp, 0x1c
ret
push ebx
call fcn.00531ca0
mov eax, dword [esp + 0x34]
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x1c
ret
mov eax, dword [esp + 0x44]
pop edi
pop esi
pop ebx
mov dword [eax], 0
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x24]
pop ebp
add esp, 0x1c
ret
mov ecx, dword [esp + 0x44]
mov dword [ecx], edi
pop edi
pop esi
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x28]
pop ebx
pop ebp
add esp, 0x1c
ret