Function at 0x845e10
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
nop
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x849120
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], eax
sub edi, dword [ebp + 8]
mov esi, dword [ecx]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx + 4]
mov ecx, eax
mov edx, esi
sub ecx, esi
cmp byte [0xa570c8], 0
jne 0x846201
cmp edi, ecx
ja 0x846201
add edi, edx
mov dword [ebp - 0x38], edi
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebp + 0xc]
je 0x84622f
mov esi, edx
jmp 0x845e9d
nop
add eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x3c]
mov dword [esi + 0x28], eax
nop
mov ecx, dword [ebp - 0x40]
add esi, 0x30
add ecx, 0x30
cmp ecx, dword [ebp + 0xc]
je 0x84622f
nop
movzx eax, byte [ecx]
mov byte [esi], al
movzx eax, byte [ecx + 1]
mov byte [esi + 1], al
movzx eax, byte [ecx + 2]
mov byte [esi + 2], al
movzx eax, byte [ecx + 3]
mov byte [esi + 3], al
movzx eax, byte [ecx + 4]
mov byte [esi + 4], al
movzx eax, byte [ecx + 5]
mov byte [esi + 5], al
movzx eax, byte [ecx + 6]
mov byte [esi + 6], al
movzx eax, byte [ecx + 7]
mov byte [esi + 7], al
movzx eax, byte [ecx + 8]
mov byte [esi + 8], al
movzx eax, byte [ecx + 9]
mov byte [esi + 9], al
movzx eax, byte [ecx + 0xa]
mov byte [esi + 0xa], al
movzx eax, byte [ecx + 0xb]
mov byte [esi + 0xb], al
movzx eax, byte [ecx + 0xc]
mov byte [esi + 0xc], al
movzx eax, byte [ecx + 0xd]
mov byte [esi + 0xd], al
movzx eax, byte [ecx + 0xe]
mov byte [esi + 0xe], al
movzx eax, byte [ecx + 0xf]
mov byte [esi + 0xf], al
movzx eax, byte [ecx + 0x10]
mov byte [esi + 0x10], al
movzx eax, byte [ecx + 0x11]
mov byte [esi + 0x11], al
movzx eax, byte [ecx + 0x12]
mov byte [esi + 0x12], al
movzx eax, byte [ecx + 0x13]
mov byte [esi + 0x13], al
movzx eax, byte [ecx + 0x14]
mov byte [esi + 0x14], al
movzx eax, byte [ecx + 0x15]
mov byte [esi + 0x15], al
movzx eax, byte [ecx + 0x16]
mov byte [esi + 0x16], al
movzx eax, byte [ecx + 0x17]
mov byte [esi + 0x17], al
movzx eax, byte [ecx + 0x18]
mov byte [esi + 0x18], al
movzx eax, byte [ecx + 0x19]
mov byte [esi + 0x19], al
movzx eax, byte [ecx + 0x1a]
mov byte [esi + 0x1a], al
movzx eax, byte [ecx + 0x1b]
mov byte [esi + 0x1b], al
movzx eax, byte [ecx + 0x1c]
mov byte [esi + 0x1c], al
movzx eax, byte [ecx + 0x1d]
mov byte [esi + 0x1d], al
movzx eax, byte [ecx + 0x1e]
mov byte [esi + 0x1e], al
movzx eax, byte [ecx + 0x1f]
mov byte [esi + 0x1f], al
movzx eax, byte [ecx + 0x20]
mov byte [esi + 0x20], al
movzx eax, byte [ecx + 0x21]
mov byte [esi + 0x21], al
movzx eax, byte [ecx + 0x22]
mov byte [esi + 0x22], al
movzx eax, byte [ecx + 0x23]
mov byte [esi + 0x23], al
cmp esi, ecx
je 0x845e8e
nop
mov edi, dword [ecx + 0x24]
mov dword [ebp - 0x40], ecx
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0x24], edx
sub edx, edi
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
cmp edx, eax
nop
mov dword [ebp - 0x20], edx
jbe 0x845fd0
lea ecx, [esi + 0x24]
mov dword [ebp - 0x10], 0xffffffff
push edx
call fcn.0075a9e0
mov edx, dword [ebp - 0x20]
nop
mov dword [ebp - 0x3c], esi
mov eax, dword [esi + 0x24]
mov ecx, eax
sub ecx, edi
jae 0x8460d0
test edx, edx
je 0x845e80
xor esi, esi
cmp dword [ebp - 0x20], 8
jb 0x84606a
cmp ecx, 0x20
jb 0x84606a
xor esi, esi
cmp dword [ebp - 0x20], 0x20
jb 0x846038
mov edx, dword [ebp - 0x20]
mov esi, edx
and esi, 0xffffffe0
xor ecx, ecx
nop dword [eax + eax]
nop
movups xmm0, xmmword [edi + ecx]
movups xmm1, xmmword [edi + ecx + 0x10]
movups xmmword [eax + ecx], xmm0
movups xmmword [eax + ecx + 0x10], xmm1
add ecx, 0x20
cmp esi, ecx
jne 0x846010
cmp edx, esi
je 0x845e80
test byte [ebp - 0x20], 0x18
je 0x84606a
mov ecx, esi
mov edx, dword [ebp - 0x20]
mov esi, edx
and esi, 0xfffffff8
nop word cs:[eax + eax]
nop
movsd xmm0, qword [edi + ecx]
movsd qword [eax + ecx], xmm0
add ecx, 8
cmp esi, ecx
jne 0x846050
cmp edx, esi
je 0x845e80
mov ecx, dword [ebp - 0x24]
sub ecx, edi
mov edx, esi
and ecx, 3
je 0x84608c
mov edx, esi
nop dword [eax + eax]
nop
movzx ebx, byte [edi + edx]
mov byte [eax + edx], bl
inc edx
dec ecx
jne 0x846080
sub esi, dword [ebp - 0x24]
add esi, edi
cmp esi, 0xfffffffc
ja 0x845e80
nop word [eax + eax]
nop
movzx ecx, byte [edi + edx]
mov byte [eax + edx], cl
movzx ecx, byte [edi + edx + 1]
mov byte [eax + edx + 1], cl
movzx ecx, byte [edi + edx + 2]
mov byte [eax + edx + 2], cl
movzx ecx, byte [edi + edx + 3]
mov byte [eax + edx + 3], cl
add edx, 4
cmp dword [ebp - 0x20], edx
jne 0x8460a0
jmp 0x845e80
test edx, edx
je 0x845e80
mov ecx, dword [ebp - 0x20]
mov edx, ecx
cmp ecx, 4
jb 0x846197
mov ecx, edi
sub ecx, eax
mov edx, dword [ebp - 0x20]
cmp ecx, 0x10
jb 0x846197
xor edx, edx
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x10
jb 0x846149
mov edx, ecx
and edx, 0xfffffff0
lea esi, [eax + ecx]
add esi, 0xfffffff0
mov dword [ebp - 0x24], esi
add ecx, edi
add ecx, 0xfffffff0
mov dword [ebp - 0x28], ecx
mov ebx, edx
neg ebx
xor ecx, ecx
nop dword [eax]
nop
mov esi, dword [ebp - 0x28]
movups xmm0, xmmword [esi + ecx]
mov esi, dword [ebp - 0x24]
movups xmmword [esi + ecx], xmm0
add ecx, 0xfffffff0
mov esi, ebx
cmp ebx, ecx
jne 0x846120
cmp dword [ebp - 0x20], edx
je 0x845e80
mov ecx, dword [ebp - 0x20]
test cl, 0xc
je 0x846192
mov ebx, ecx
and ebx, 0xfffffffc
mov esi, ecx
and esi, 3
mov dword [ebp - 0x28], esi
lea esi, [eax + ecx]
add esi, 0xfffffffc
neg edx
add ecx, edi
add ecx, 0xfffffffc
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x30], ebx
mov ecx, ebx
mov ebx, esi
neg ecx
nop
nop
mov esi, dword [ebp - 0x24]
mov esi, dword [esi + edx]
mov dword [ebx + edx], esi
add edx, 0xfffffffc
cmp ecx, edx
jne 0x846170
mov ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x28]
je 0x845e80
jmp 0x846197
mov edx, ecx
and edx, 0xf
mov ecx, edx
mov dword [ebp - 0x28], edx
and ecx, 3
je 0x8461c1
mov esi, dword [ebp - 0x28]
nop word cs:[eax + eax]
lea edx, [esi - 1]
movzx ebx, byte [edi + esi - 1]
mov byte [eax + esi - 1], bl
dec ecx
mov esi, edx
jne 0x8461b0
mov ecx, dword [ebp - 0x28]
dec ecx
cmp ecx, 3
jb 0x845e80
mov ecx, edx
nop
movzx ebx, byte [edi + edx - 1]
mov byte [eax + edx - 1], bl
movzx ebx, byte [edi + edx - 2]
mov byte [eax + edx - 2], bl
movzx ebx, byte [edi + edx - 3]
mov byte [eax + edx - 3], bl
add ecx, 0xfffffffc
movzx ebx, byte [edi + edx - 4]
mov byte [eax + edx - 4], bl
mov edx, ecx
jne 0x8461d0
jmp 0x845e80
nop
mov dword [ebp - 0x30], ecx
mov esi, dword [ebp - 0x2c]
mov ecx, dword [esi + 8]
sub ecx, edx
cmp edi, ecx
jbe 0x8462b7
sar edi, 4
imul eax, edi, 0xaaaaaaab
mov ecx, esi
push eax
call fcn.008466d0
nop
mov edi, dword [ebp + 8]
jmp 0x84668f
nop
mov eax, dword [ebp - 0x2c]
mov esi, dword [eax + 4]
mov eax, dword [ebp - 0x38]
cmp eax, esi
je 0x846684
mov edi, eax
jmp 0x84627c
add eax, 0x23
mov ecx, edx
nop
push eax
push ecx
call fcn.008ea1ad
add esp, 8
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
add edi, 0x30
cmp edi, esi
je 0x8462ac
nop
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x846275
nop
mov eax, dword [edi + 0x2c]
sub eax, ecx
cmp eax, 0x1000
jb 0x846255
nop
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jb 0x846250
nop
mov dword [ebp - 0x10], 0
call fcn.008cd651
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x38]
jmp 0x8466a8
mov ebx, edx
mov edi, dword [ebp - 0x30]
add edi, dword [ebp + 8]
cmp eax, edx
je 0x84668c
mov dword [ebp - 0x30], edi
mov ecx, dword [ebp + 8]
mov esi, edx
jmp 0x846300
nop
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x3c]
mov dword [esi + 0x28], eax
nop
mov ecx, dword [ebp - 0x40]
add esi, 0x30
add ecx, 0x30
cmp ecx, dword [ebp - 0x30]
je 0x846689
nop
movzx eax, byte [ecx]
mov byte [esi], al
movzx eax, byte [ecx + 1]
mov byte [esi + 1], al
movzx eax, byte [ecx + 2]
mov byte [esi + 2], al
movzx eax, byte [ecx + 3]
mov byte [esi + 3], al
movzx eax, byte [ecx + 4]
mov byte [esi + 4], al
movzx eax, byte [ecx + 5]
mov byte [esi + 5], al
movzx eax, byte [ecx + 6]
mov byte [esi + 6], al
movzx eax, byte [ecx + 7]
mov byte [esi + 7], al
movzx eax, byte [ecx + 8]
mov byte [esi + 8], al
movzx eax, byte [ecx + 9]
mov byte [esi + 9], al
movzx eax, byte [ecx + 0xa]
mov byte [esi + 0xa], al
movzx eax, byte [ecx + 0xb]
mov byte [esi + 0xb], al
movzx eax, byte [ecx + 0xc]
mov byte [esi + 0xc], al
movzx eax, byte [ecx + 0xd]
mov byte [esi + 0xd], al
movzx eax, byte [ecx + 0xe]
mov byte [esi + 0xe], al
movzx eax, byte [ecx + 0xf]
mov byte [esi + 0xf], al
movzx eax, byte [ecx + 0x10]
mov byte [esi + 0x10], al
movzx eax, byte [ecx + 0x11]
mov byte [esi + 0x11], al
movzx eax, byte [ecx + 0x12]
mov byte [esi + 0x12], al
movzx eax, byte [ecx + 0x13]
mov byte [esi + 0x13], al
movzx eax, byte [ecx + 0x14]
mov byte [esi + 0x14], al
movzx eax, byte [ecx + 0x15]
mov byte [esi + 0x15], al
movzx eax, byte [ecx + 0x16]
mov byte [esi + 0x16], al
movzx eax, byte [ecx + 0x17]
mov byte [esi + 0x17], al
movzx eax, byte [ecx + 0x18]
mov byte [esi + 0x18], al
movzx eax, byte [ecx + 0x19]
mov byte [esi + 0x19], al
movzx eax, byte [ecx + 0x1a]
mov byte [esi + 0x1a], al
movzx eax, byte [ecx + 0x1b]
mov byte [esi + 0x1b], al
movzx eax, byte [ecx + 0x1c]
mov byte [esi + 0x1c], al
movzx eax, byte [ecx + 0x1d]
mov byte [esi + 0x1d], al
movzx eax, byte [ecx + 0x1e]
mov byte [esi + 0x1e], al
movzx eax, byte [ecx + 0x1f]
mov byte [esi + 0x1f], al
movzx eax, byte [ecx + 0x20]
mov byte [esi + 0x20], al
movzx eax, byte [ecx + 0x21]
mov byte [esi + 0x21], al
movzx eax, byte [ecx + 0x22]
mov byte [esi + 0x22], al
movzx eax, byte [ecx + 0x23]
mov byte [esi + 0x23], al
cmp esi, ecx
je 0x8462f1
nop
mov edi, dword [ecx + 0x24]
mov dword [ebp - 0x40], ecx
mov ebx, dword [ecx + 0x28]
mov edx, ebx
sub edx, edi
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
cmp edx, eax
nop
mov dword [ebp - 0x24], edx
jbe 0x846432
lea ecx, [esi + 0x24]
mov dword [ebp - 0x10], 0xffffffff
push edx
call fcn.0075a9e0
mov edx, dword [ebp - 0x24]
nop
mov dword [ebp - 0x3c], esi
mov ecx, dword [esi + 0x24]
mov dword [ebp - 0x20], ecx
sub ecx, edi
jae 0x846540
test edx, edx
je 0x8462e0
xor esi, esi
cmp dword [ebp - 0x24], 8
jb 0x8464ca
cmp ecx, 0x20
jb 0x8464ca
xor esi, esi
cmp dword [ebp - 0x24], 0x20
jb 0x846498
mov eax, dword [ebp - 0x24]
mov esi, eax
and esi, 0xffffffe0
xor ecx, ecx
mov edx, dword [ebp - 0x20]
nop
nop
movups xmm0, xmmword [edi + ecx]
movups xmm1, xmmword [edi + ecx + 0x10]
movups xmmword [edx + ecx], xmm0
movups xmmword [edx + ecx + 0x10], xmm1
add ecx, 0x20
cmp esi, ecx
jne 0x846470
cmp eax, esi
je 0x8462e0
test byte [ebp - 0x24], 0x18
je 0x8464ca
mov ecx, esi
mov eax, dword [ebp - 0x24]
mov esi, eax
and esi, 0xfffffff8
mov edx, dword [ebp - 0x20]
nop word cs:[eax + eax]
nop
movsd xmm0, qword [edi + ecx]
movsd qword [edx + ecx], xmm0
add ecx, 8
cmp esi, ecx
jne 0x8464b0
cmp eax, esi
je 0x8462e0
mov ecx, ebx
sub ecx, edi
mov dword [ebp - 0x28], esi
mov edx, esi
and ecx, 3
mov esi, dword [ebp - 0x20]
je 0x8464ec
mov edx, dword [ebp - 0x28]
nop
nop
movzx eax, byte [edi + edx]
mov byte [esi + edx], al
inc edx
dec ecx
jne 0x8464e0
mov eax, dword [ebp - 0x28]
sub eax, ebx
add eax, edi
cmp eax, 0xfffffffc
ja 0x8462e0
nop dword [eax]
nop
movzx eax, byte [edi + edx]
mov ecx, dword [ebp - 0x20]
mov byte [ecx + edx], al
movzx eax, byte [edi + edx + 1]
mov byte [ecx + edx + 1], al
movzx eax, byte [edi + edx + 2]
mov byte [ecx + edx + 2], al
movzx eax, byte [edi + edx + 3]
mov byte [ecx + edx + 3], al
add edx, 4
cmp dword [ebp - 0x24], edx
jne 0x846500
jmp 0x8462e0
test edx, edx
je 0x8462e0
mov eax, dword [ebp - 0x24]
mov edx, eax
cmp eax, 4
jb 0x846607
mov ecx, edi
sub ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x846607
xor edx, edx
mov eax, dword [ebp - 0x24]
cmp eax, 0x10
jb 0x8465b0
mov edx, eax
and edx, 0xfffffff0
mov ecx, dword [ebp - 0x20]
lea esi, [ecx + eax]
add esi, 0xfffffff0
add eax, edi
add eax, 0xfffffff0
mov ebx, edx
neg ebx
xor ecx, ecx
nop word [eax + eax]
nop
movups xmm0, xmmword [eax + ecx]
movups xmmword [esi + ecx], xmm0
add ecx, 0xfffffff0
cmp ebx, ecx
jne 0x846590
cmp dword [ebp - 0x24], edx
je 0x8462e0
mov eax, dword [ebp - 0x24]
test al, 0xc
je 0x846602
mov esi, eax
and esi, 0xfffffffc
mov ecx, eax
and ecx, 3
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x20]
add ecx, eax
add ecx, 0xfffffffc
mov dword [ebp - 0x28], ecx
neg edx
add eax, edi
add eax, 0xfffffffc
mov dword [ebp - 0x38], eax
mov eax, esi
mov ecx, esi
neg ecx
nop dword [eax + eax]
nop
mov esi, dword [ebp - 0x38]
mov esi, dword [esi + edx]
mov ebx, dword [ebp - 0x28]
mov dword [ebx + edx], esi
add edx, 0xfffffffc
cmp ecx, edx
jne 0x8465e0
cmp dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x34]
je 0x8462e0
jmp 0x846607
mov edx, eax
and edx, 0xf
mov ecx, edx
mov dword [ebp - 0x34], edx
and ecx, 3
mov esi, edi
je 0x846634
mov edi, dword [ebp - 0x34]
nop word cs:[eax + eax]
lea edx, [edi - 1]
movzx eax, byte [esi + edi - 1]
mov ebx, dword [ebp - 0x20]
mov byte [ebx + edi - 1], al
dec ecx
mov edi, edx
jne 0x846620
mov eax, dword [ebp - 0x34]
dec eax
cmp eax, 3
jb 0x8462e0
mov ecx, edx
nop word cs:[eax + eax]
nop
movzx eax, byte [esi + edx - 1]
mov edi, dword [ebp - 0x20]
mov byte [edi + edx - 1], al
movzx eax, byte [esi + edx - 2]
mov byte [edi + edx - 2], al
movzx eax, byte [esi + edx - 3]
mov byte [edi + edx - 3], al
add ecx, 0xfffffffc
movzx eax, byte [esi + edx - 4]
mov byte [edi + edx - 4], al
mov edx, ecx
jne 0x846650
jmp 0x8462e0
mov esi, dword [ebp - 0x2c]
jmp 0x8466a8
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
nop
mov eax, dword [esi + 4]
mov dword [ebp - 0x10], 0xffffffff
push esi
push eax
push dword [ebp + 0xc]
push edi
call fcn.008468d0
add esp, 0x10
nop
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret 0xc