Function at 0x5df8e0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ebp + 0xc]
cmp dword [eax + 8], 6
je 0x5df902
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.005df4e0
add esp, 8
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
sub ecx, dword [eax + 0x20]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 8]
movzx eax, byte [edx + 6]
test eax, eax
jne 0x5dfaf3
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x1c]
sub edx, dword [ecx + 8]
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 0x4b]
shl ecx, 4
cmp edx, ecx
jg 0x5df96b
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + 0x4b]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.005df310
add esp, 8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
add eax, dword [ebp - 4]
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + 0x4a]
test edx, edx
jne 0x5df9b5
mov eax, dword [ebp + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + 0x49]
shl edx, 4
add edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
cmp dword [eax + 8], edx
jbe 0x5df9b3
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + 0x49]
shl edx, 4
add edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
jmp 0x5df9ea
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
sub edx, dword [ebp + 0xc]
sar edx, 4
sub edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.005df6e0
add esp, 0xc
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
add ecx, dword [ebp - 4]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x14]
cmp ecx, dword [eax + 0x24]
jne 0x5dfa09
mov edx, dword [ebp + 8]
push edx
call fcn.005df070
add esp, 4
mov dword [ebp - 0x28], eax
jmp 0x5dfa21
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
add ecx, 0x18
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 0x4b]
shl ecx, 4
mov edx, dword [ebp + 8]
add ecx, dword [edx + 0xc]
mov eax, dword [ebp - 0x14]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
mov dword [ecx + 0x18], eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x18], edx
jmp 0x5dfa8a
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
cmp edx, dword [ecx + 8]
jae 0x5dfaa1
mov eax, dword [ebp - 0x18]
mov dword [eax + 8], 0
jmp 0x5dfa81
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x38]
and edx, 1
je 0x5dfae7
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
add ecx, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], ecx
push 0xffffffffffffffff
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.005df350
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
sub edx, 4
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], edx
xor eax, eax
jmp 0x5dfbf9
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x1c]
sub eax, dword [edx + 8]
cmp eax, 0x140
jg 0x5dfb14
push 0x14
mov ecx, dword [ebp + 8]
push ecx
call fcn.005df310
add esp, 8
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x14]
cmp ecx, dword [eax + 0x24]
jne 0x5dfb33
mov edx, dword [ebp + 8]
push edx
call fcn.005df070
add esp, 4
mov dword [ebp - 0x2c], eax
jmp 0x5dfb4b
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
add ecx, 0x18
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
add ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
add ecx, 0x10
mov edx, dword [ebp - 0x24]
mov dword [edx], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
add ecx, 0x140
mov edx, dword [ebp - 0x24]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x38]
and eax, 1
je 0x5dfbb0
push 0xffffffffffffffff
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.005df350
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 4]
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
call ecx
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x5dfbd9
mov eax, 2
jmp 0x5dfbf9
mov edx, dword [ebp - 0x20]
shl edx, 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
sub ecx, edx
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.005df5e0
add esp, 8
mov eax, 1
mov esp, ebp
pop ebp
ret