Function at 0x71e879
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
mov edi, eax
push ebp
add esp, 0xffffffa0
mov eax, dword [edi + reloc.PSAPI.DLL_GetMappedFileNameW]
xor esi, esi
mov edx, dword [eax]
mov dword [esp], edx
mov dx, word [eax + 4]
mov word [esp + 4], dx
cmp byte [esp + 1], 0x1f
jae 0x71e93f
mov eax, dword [edi + reloc.PSAPI.DLL_GetMappedFileNameW]
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x71e93f
cmp word [ebx], 1
je 0x71e92f
mov esi, dword [ebx + 4]
mov dl, byte [esi]
cmp dl, byte [esp]
je 0x71e91e
add esi, 6
mov cl, byte [esi]
cmp cl, byte [esp]
jne 0x71e8c4
mov al, byte [esi + 1]
cmp al, byte [esi - 5]
jb 0x71e91e
mov dword [esp + 0x14], esi
lea edx, [esi - 6]
mov dword [esp + 0x18], edx
sub esi, 6
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov dword [esp + 0x1c], eax
mov ax, word [ecx + 4]
mov word [esp + 0x20], ax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx]
mov dword [edx], eax
mov ax, word [ecx + 4]
mov word [edx + 4], ax
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [edx], ecx
mov cx, word [esp + 0x20]
mov word [edx + 4], cx
cmp byte [esi + 1], 0x73
jae 0x71e93f
add byte [esi + 1], 2
add word [ebx + 2], 2
jmp 0x71e93f
lea esi, [ebx + 2]
cmp byte [esi + 1], 0x20
setb al
and eax, 1
add byte [esi + 1], al
cmp dword [edi + reloc.PSAPI.DLL_GetMappedFileNameW], 0
jne 0x71e97a
mov ecx, esi
mov dl, 1
mov eax, edi
call fcn.00722f71
mov edx, dword [edi + reloc.PSAPI.DLL_GetMappedFileNameW]
mov dword [edx + 2], eax
mov dword [edi + reloc.PSAPI.DLL_GetMappedFileNameW], eax
mov dword [edi + reloc.PSAPI.DLL_GetMappedFileNameW], eax
cmp dword [edi + reloc.PSAPI.DLL_GetMappedFileNameW], 0
je 0x71ed84
jmp 0x71ed92
mov edx, dword [edi + reloc.PSAPI.DLL_GetMappedFileNameW]
inc dword [edi + reloc.PSAPI.DLL_GetMappedFileNameW]
mov cl, byte [esp]
mov byte [edx], cl
mov eax, dword [edi + reloc.PSAPI.DLL_GetMappedFileNameW]
mov dword [esp + 8], eax
cmp eax, dword [edi + reloc.PSAPI.DLL_GetMappedFileNameW]
jae 0x71ed84
cmp dword [esp + 2], 0
je 0x71e9f5
mov edx, dword [edi + reloc.PSAPI.DLL_GetMappedFileNameW]
cmp edx, dword [esp + 2]
jb 0x71e9cb
mov ecx, esi
xor edx, edx
mov eax, edi
call fcn.00722f71
mov dword [esp + 2], eax
test eax, eax
je 0x71ed84
dec dword [edi + reloc.PSAPI.DLL_GetMappedFileNameW]
jne 0x71ea0c
mov edx, dword [esp + 2]
mov dword [esp + 8], edx
mov ecx, dword [edi + reloc.PSAPI.DLL_GetMappedFileNameW]
cmp ecx, dword [edi + reloc.PSAPI.DLL_GetMappedFileNameW]
setne al
and eax, 1
sub dword [edi + reloc.PSAPI.DLL_GetMappedFileNameW], eax
jmp 0x71ea0c
mov edx, dword [edi + reloc.PSAPI.DLL_GetMappedFileNameW]
mov ecx, dword [esp + 8]
mov dword [edx + 2], ecx
mov eax, dword [edi + reloc.PSAPI.DLL_GetMappedFileNameW]
mov dword [esp + 2], eax
mov eax, dword [edi + reloc.PSAPI.DLL_GetMappedFileNameW]
movzx edx, word [eax + 2]
movzx ecx, word [eax]
xor eax, eax
mov dword [esp + 0xc], ecx
mov al, byte [esp + 1]
sub edx, ecx
dec eax
sub edx, eax
mov dword [esp + 0x10], edx
mov ebx, dword [edi + reloc.PSAPI.DLL_GetMappedFileNameW]
jmp 0x71ed66
movzx ebp, word [ebx]
cmp ebp, 1
je 0x71ebdd
test ebp, 1
jne 0x71eb9e
mov edx, ebp
mov eax, dword [ebx + 4]
shr edx, 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
lea esi, reloc.PSAPI.DLL_GetMappedFileNameW
mov ecx, dword [esp + 0x28]
xor eax, eax
mov al, byte [esi + ecx + 0x29]
xor ecx, ecx
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x28]
mov cl, byte [esi + edx + 0x2a]
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x30]
jne 0x71ea93
mov edx, dword [esp + 0x24]
jmp 0x71eb91
mov ecx, dword [esp + 0x28]
inc ecx
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x38]
xor edx, edx
mov dl, byte [esi + eax + 0x29]
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x3c]
cmp dword [esi + ecx*4 + 0xb8], 0
je 0x71eae6
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x40]
mov ecx, dword [esi + edx*4 + 0xb8]
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ecx, dword [edx]
mov dword [esi + eax*4 + 0xb8], ecx
mov eax, dword [esp + 0x44]
jmp 0x71eb3f
mov edx, dword [esi + 0xb0]
mov dword [esp + 0x48], edx
mov ecx, dword [esp + 0x3c]
xor eax, eax
mov al, byte [esi + ecx + 4]
mov edx, eax
shl edx, 2
lea edx, [edx + edx*2]
add dword [esi + 0xb0], edx
mov ecx, dword [esi + 0xb0]
cmp ecx, dword [esi + 0xb4]
ja 0x71eb1c
mov eax, dword [esp + 0x48]
jmp 0x71eb3f
mov edx, dword [esp + 0x3c]
xor ecx, ecx
mov cl, byte [esi + edx + 4]
mov eax, ecx
shl eax, 2
lea eax, [eax + eax*2]
sub dword [esi + 0xb0], eax
mov eax, esi
mov edx, dword [esp + 0x3c]
call fcn.0071d731
mov dword [esp + 0x34], eax
cmp dword [esp + 0x34], 0
je 0x71eb8d
mov edx, dword [esp + 0x28]
shl edx, 2
lea edx, [edx + edx*2]
push edx
push dword [esp + 0x28]
push dword [esp + 0x3c]
call fcn.007250b9
add esp, 0xc
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + eax*4 + 0xb8]
mov dword [ecx], edx
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x24]
mov dword [esi + eax*4 + 0xb8], edx
mov edx, dword [esp + 0x34]
mov dword [ebx + 4], edx
cmp dword [ebx + 4], 0
je 0x71ed84
movzx eax, word [ebx + 2]
mov ecx, ebp
mov edx, ebp
shl ecx, 3
cmp eax, ecx
setbe al
shl edx, 2
and eax, 1
cmp edx, dword [esp + 0xc]
mov edx, ebp
setbe cl
and ecx, 1
add edx, edx
and ax, cx
add eax, eax
cmp edx, dword [esp + 0xc]
setb cl
and ecx, 1
add ax, cx
add word [ebx + 2], ax
jmp 0x71eccb
lea esi, reloc.PSAPI.DLL_GetMappedFileNameW
xor eax, eax
mov al, byte [esi + 0x2a]
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0x50]
cmp dword [esi + edx*4 + 0xb8], 0
je 0x71ec28
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0x54]
mov edx, dword [esi + eax*4 + 0xb8]
mov dword [esp + 0x58], edx
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov edx, dword [eax]
mov dword [esi + ecx*4 + 0xb8], edx
mov ecx, dword [esp + 0x58]
jmp 0x71ec83
mov eax, dword [esi + 0xb0]
mov dword [esp + 0x5c], eax
mov edx, dword [esp + 0x50]
xor ecx, ecx
mov cl, byte [esi + edx + 4]
mov eax, ecx
shl eax, 2
lea eax, [eax + eax*2]
add dword [esi + 0xb0], eax
mov edx, dword [esi + 0xb0]
cmp edx, dword [esi + 0xb4]
ja 0x71ec5e
mov ecx, dword [esp + 0x5c]
jmp 0x71ec83
mov eax, dword [esp + 0x50]
xor edx, edx
mov dl, byte [esi + eax + 4]
mov eax, esi
mov ecx, edx
shl ecx, 2
lea ecx, [ecx + ecx*2]
sub dword [esi + 0xb0], ecx
mov edx, dword [esp + 0x50]
call fcn.0071d731
mov ecx, eax
mov esi, ecx
test esi, esi
je 0x71ed84
mov eax, dword [ebx + 2]
mov dword [esi], eax
mov ax, word [ebx + 6]
mov word [esi + 4], ax
mov dword [ebx + 4], esi
mov al, byte [esi + 1]
cmp al, 0x1e
jae 0x71eca9
add byte [esi + 1], al
jmp 0x71ecad
mov byte [esi + 1], 0x78
xor edx, edx
mov dl, byte [esi + 1]
add dx, word [edi + 0x658]
cmp dword [esp + 0xc], 3
seta cl
and ecx, 1
add dx, cx
mov word [ebx + 2], dx
movzx edx, word [ebx + 2]
xor eax, eax
mov ecx, edx
mov al, byte [esp + 1]
add ecx, 6
add eax, eax
imul eax, ecx
add edx, dword [esp + 0x10]
mov ecx, edx
add ecx, ecx
lea ecx, [ecx + ecx*2]
cmp eax, ecx
jae 0x71ed0d
cmp edx, eax
setb cl
shl edx, 2
and ecx, 1
cmp eax, edx
setae al
and eax, 1
add ecx, eax
inc ecx
add word [ebx + 2], 3
mov eax, ecx
jmp 0x71ed46
lea ecx, [edx + edx*8]
mov esi, edx
cmp eax, ecx
setae cl
shl esi, 2
and ecx, 1
lea esi, [esi + esi*2]
cmp eax, esi
mov esi, 1
jae 0x71ed2a
dec esi
add ecx, esi
mov esi, edx
shl edx, 4
sub edx, esi
cmp eax, edx
setae al
and eax, 1
add ecx, eax
add ecx, 4
mov eax, ecx
add word [ebx + 2], ax
mov esi, ebp
mov edx, dword [esp + 8]
add esi, esi
lea esi, [esi + esi*2]
add esi, dword [ebx + 4]
inc ebp
mov dword [esi + 2], edx
mov cl, byte [esp]
mov byte [esi], cl
mov byte [esi + 1], al
mov word [ebx], bp
mov ebx, dword [ebx + 8]
cmp ebx, dword [edi + reloc.PSAPI.DLL_GetMappedFileNameW]
jne 0x71ea37
mov eax, dword [esp + 2]
mov dword [edi + reloc.PSAPI.DLL_GetMappedFileNameW], eax
mov dword [edi + reloc.PSAPI.DLL_GetMappedFileNameW], eax
jmp 0x71ed92
mov eax, edi
call fcn.0071da09
mov byte [edi + 0xa6c], 0
add esp, 0x60
pop ebp
pop edi
pop esi
pop ebx
ret