Function at 0x7de015cb
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x258
or dword [ebp - 0x28], 0xffffffff
or dword [ebp - 0x30], 0xffffffff
push ebx
mov ebx, dword [ebp + 0x10]
push esi
xor esi, esi
push edi
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x68], esi
call fcn.7de00617
push 0xf8
lea eax, [ebp - 0x258]
push eax
push dword [ebp + 8]
call fcn.7de00659
lea eax, [ebp - 0x50]
push eax
movzx eax, word [ebp - 0x252]
push esi
cdq
push 0x28
push edx
push eax
add ebx, 0xf8
call sub.ntdll.dll__allmul
push edx
push eax
call fcn.7ddff5e9
test eax, eax
jge 0x7de0164e
mov dword [ebp - 0xc], 0x216
jmp 0x7de028ee
add dword [ebp - 0x50], ebx
push 0x3e
pop ecx
lea esi, [ebp - 0x258]
lea edi, [ebp - 0x160]
rep movsd dword es:[edi], dword [esi]
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov ecx, dword fs:[0x18]
movzx edx, word [ebp - 0x252]
mov eax, dword [eax + 0x2c]
imul edx, edx, 0x28
push edx
push 8
pop esi
add eax, 0x1c0000
or eax, esi
push eax
mov eax, dword [ecx + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [ebp - 0x4c], eax
test eax, eax
jne 0x7de016a2
mov dword [ebp - 0xc], esi
jmp 0x7de028ee
movzx eax, word [ebp - 0x252]
mov esi, dword [ebp - 0x4c]
imul eax, eax, 0x28
push eax
xor edi, edi
push edi
push esi
call sub.ntdll.dll_memset
add esp, 0xc
push ebx
push dword [ebp + 8]
call fcn.7de00617
movzx eax, word [ebp - 0x252]
imul eax, eax, 0x28
push eax
push esi
push dword [ebp + 8]
call fcn.7de00659
movzx eax, word [ebp - 0x252]
imul eax, eax, 0x28
add eax, esi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x64], edi
cmp esi, eax
jae 0x7de01711
sub eax, esi
push 0x28
lea ecx, [esi + 0x14]
dec eax
xor edx, edx
pop esi
div esi
inc eax
mov edx, dword [ecx]
cmp edx, edi
jbe 0x7de01708
mov edi, dword [ecx - 4]
add edi, edx
add ecx, 0x28
dec eax
jne 0x7de016fd
mov dword [ebp - 0x64], edi
mov eax, dword [ebp + 0x14]
and dword [ebp - 0x14], 0
mov ebx, dword [eax + 0x10]
jmp 0x7de017e7
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x7de01730
cmp dword [ebx + 0xc], eax
je 0x7de017e5
mov ecx, dword [ebx + 4]
movzx ecx, word [ecx + 0xe]
mov edx, dword [ebp - 0x18]
inc dword [ebp - 0x2c]
inc dword [ebp - 0x40]
lea ecx, [edx + ecx*2 + 2]
mov dword [ebp - 0x18], ecx
xor edx, edx
jmp 0x7de017ae
inc dword [ebp - 0x38]
test edx, edx
je 0x7de0178a
mov ecx, dword [eax + 4]
mov esi, dword [ecx + 0x10]
mov edx, dword [edx + 0x10]
mov di, word [edx]
cmp di, word [esi]
jne 0x7de01781
test di, di
je 0x7de0177d
mov di, word [edx + 2]
cmp di, word [esi + 2]
jne 0x7de01781
add edx, 4
add esi, 4
test di, di
jne 0x7de0175b
xor edx, edx
jmp 0x7de01786
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
je 0x7de0179e
mov ecx, dword [eax + 4]
movzx edx, word [ecx + 0xe]
mov esi, dword [ebp - 0x10]
inc dword [ebp - 0x24]
lea edx, [esi + edx*2 + 2]
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 0x14]
mov eax, dword [eax]
add edx, 3
and edx, 0xfffffffc
add dword [ebp - 0x14], edx
mov edx, ecx
test eax, eax
jne 0x7de0174b
mov eax, dword [ebx + 0xc]
xor ecx, ecx
jmp 0x7de017e1
inc dword [ebp - 0x38]
test ecx, ecx
je 0x7de017cd
mov edx, dword [eax + 4]
mov cx, word [ecx + 4]
cmp cx, word [edx + 4]
je 0x7de017d0
inc dword [ebp - 0x24]
mov ecx, dword [eax + 0x14]
add ecx, 3
and ecx, 0xfffffffc
add dword [ebp - 0x14], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax]
test eax, eax
jne 0x7de017b9
mov ebx, dword [ebx]
test ebx, ebx
jne 0x7de01720
mov eax, dword [ebp + 0x14]
mov ebx, dword [eax + 0xc]
jmp 0x7de018ad
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x7de0180a
cmp dword [ebx + 0xc], eax
je 0x7de018ab
inc dword [ebp - 0x2c]
xor edx, edx
jmp 0x7de01874
inc dword [ebp - 0x38]
test edx, edx
je 0x7de01850
mov ecx, dword [eax + 4]
mov esi, dword [ecx + 0x10]
mov edx, dword [edx + 0x10]
mov di, word [edx]
cmp di, word [esi]
jne 0x7de01847
test di, di
je 0x7de01843
mov di, word [edx + 2]
cmp di, word [esi + 2]
jne 0x7de01847
add edx, 4
add esi, 4
test di, di
jne 0x7de01821
xor edx, edx
jmp 0x7de0184c
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
je 0x7de01864
mov ecx, dword [eax + 4]
movzx edx, word [ecx + 0xe]
mov esi, dword [ebp - 0x10]
inc dword [ebp - 0x24]
lea edx, [esi + edx*2 + 2]
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 0x14]
mov eax, dword [eax]
add edx, 3
and edx, 0xfffffffc
add dword [ebp - 0x14], edx
mov edx, ecx
test eax, eax
jne 0x7de01811
mov eax, dword [ebx + 0xc]
xor ecx, ecx
jmp 0x7de018a7
inc dword [ebp - 0x38]
test ecx, ecx
je 0x7de01893
mov edx, dword [eax + 4]
mov cx, word [ecx + 4]
cmp cx, word [edx + 4]
je 0x7de01896
inc dword [ebp - 0x24]
mov ecx, dword [eax + 0x14]
add ecx, 3
and ecx, 0xfffffffc
add dword [ebp - 0x14], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax]
test eax, eax
jne 0x7de0187f
mov ebx, dword [ebx]
test ebx, ebx
jne 0x7de017fa
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x4c]
lea edx, [eax + ecx]
add edx, dword [ebp - 0x2c]
push 0x7ddb37b8
push dword [ebp - 0x3c]
lea edx, [eax + edx*2 + 2]
mov eax, dword [ebp - 0x10]
add edx, ecx
mov ecx, dword [ebp - 0x18]
add edx, dword [ebp - 0x2c]
lea esi, [ecx + eax]
neg esi
and esi, 3
add esi, ecx
lea esi, [esi + edx*8]
add esi, eax
add dword [ebp - 0x14], esi
push ebx
mov dword [ebp - 0x44], esi
call fcn.7de00782
push 0x7ddb37b0
push dword [ebp - 0x3c]
mov edi, eax
push ebx
mov dword [ebp - 0x58], edi
call fcn.7de00782
push 0x7ddb37a8
push dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
push ebx
call fcn.7de00782
mov ecx, eax
test edi, edi
jne 0x7de0193c
mov dword [ebp - 0xc], 0x7fffffff
mov ebx, dword [ebp - 8]
mov edi, dword [ebp + 0x14]
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], esi
mov esi, dword [edi + 0x10]
jmp 0x7de01a11
lea eax, [edi + 0x28]
push 0x28
cmp eax, dword [ebp - 0x48]
jne 0x7de0194a
mov eax, edi
jmp 0x7de01951
cmp eax, dword [ebp - 0x3c]
mov eax, edi
jb 0x7de0198a
sub eax, ebx
cdq
pop ebx
idiv ebx
mov dword [ebp - 0x28], eax
mov eax, 0x7fffffff
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x14], eax
jbe 0x7de01927
lea eax, [edi + 0x28]
cmp ecx, eax
je 0x7de01920
cmp dword [ebp - 0x48], 0
push 0x28
pop ebx
jne 0x7de019b3
mov eax, ecx
sub eax, dword [ebp - 0x4c]
cdq
idiv ebx
mov ebx, dword [ecx + 0xc]
sub ebx, dword [edi + 0xc]
mov dword [ebp - 0x30], eax
jmp 0x7de0192a
sub eax, ebx
cdq
pop ebx
idiv ebx
mov dword [ebp - 0x28], eax
test ecx, ecx
je 0x7de0199f
mov eax, dword [edi + 0x34]
sub eax, dword [edi + 0xc]
jmp 0x7de019a4
mov eax, 0x7fffffff
mov dword [ebp - 0xc], eax
cmp esi, eax
jbe 0x7de01962
push 0xd
pop eax
jmp 0x7de028f1
mov ecx, dword [ebp - 0x48]
jmp 0x7de01977
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x7de019c4
cmp dword [esi + 0xc], eax
je 0x7de01a0f
mov dword [ebp - 4], eax
test eax, eax
je 0x7de019e8
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 4]
push dword [ebp - 0x14]
push ebx
push eax
call fcn.7de007cd
cmp dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
jne 0x7de019cb
mov eax, dword [esi + 0xc]
mov dword [ebp - 4], eax
test eax, eax
je 0x7de01a0f
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 4]
push dword [ebp - 0x14]
push ebx
push eax
call fcn.7de007cd
cmp dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
jne 0x7de019f2
mov esi, dword [esi]
test esi, esi
jne 0x7de019b8
mov esi, dword [edi + 0xc]
jmp 0x7de01a73
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x7de01a26
cmp dword [esi + 0xc], eax
je 0x7de01a71
mov dword [ebp - 4], eax
test eax, eax
je 0x7de01a4a
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 4]
push dword [ebp - 0x14]
push ebx
push eax
call fcn.7de007cd
cmp dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
jne 0x7de01a2d
mov eax, dword [esi + 0xc]
mov dword [ebp - 4], eax
test eax, eax
je 0x7de01a71
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 4]
push dword [ebp - 0x14]
push ebx
push eax
call fcn.7de007cd
cmp dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
jne 0x7de01a54
mov esi, dword [esi]
test esi, esi
jne 0x7de01a1a
cmp dword [ebp - 0x1c], esi
jne 0x7de01a82
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov esi, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x4c]
push 0x7ddb37a0
push esi
push edi
call fcn.7de00782
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x7de01ab3
cmp dword [ebp - 0x1b0], 0
je 0x7de019ab
lea ecx, [esi - 0x28]
cmp eax, ecx
jne 0x7de019ab
and dword [ebp - 0x60], 0
mov eax, edi
cmp edi, esi
jae 0x7de01ae1
mov ecx, dword [eax + 0xc]
cmp dword [ebp - 0x1b0], ecx
jb 0x7de01ad5
mov edx, dword [eax + 0x10]
add edx, ecx
cmp dword [ebp - 0x1b0], edx
jb 0x7de01ade
add eax, 0x28
cmp eax, esi
jae 0x7de01ae1
jmp 0x7de01abd
mov dword [ebp - 0x60], eax
push 0x7ddb37a8
push esi
push edi
call fcn.7de00782
mov ebx, dword [ebp - 0x28]
mov ecx, eax
cmp ebx, 0xffffffff
jne 0x7de01b1c
test ecx, ecx
jne 0x7de01b02
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x7de01b0e
sub eax, edi
push 0x28
cdq
pop esi
idiv esi
mov ebx, eax
jmp 0x7de01b15
movzx ebx, word [ebp - 0x15a]
inc word [ebp - 0x15a]
cmp dword [ebp - 0x30], 0xffffffff
je 0x7de01b6c
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x7de01b42
sub eax, edi
cdq
push 0x28
pop ecx
idiv ecx
mov dword [ebp - 0x30], eax
mov eax, 0xffff
add word [ebp - 0x15a], ax
jmp 0x7de01b63
test ecx, ecx
je 0x7de01b52
mov eax, ecx
sub eax, edi
push 0x28
cdq
pop ecx
idiv ecx
jmp 0x7de01b60
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x7de01b48
movzx eax, word [ebp - 0x15a]
mov dword [ebp - 0x30], eax
inc word [ebp - 0x15a]
jmp 0x7de01b7e
cmp dword [ebp - 0x48], 0
je 0x7de01b7e
mov eax, 0xffff
add word [ebp - 0x15a], ax
movzx ecx, word [ebp - 0x252]
movzx eax, word [ebp - 0x15a]
mov edx, dword [ebp - 0x204]
sub eax, ecx
imul ecx, ecx, 0x28
imul eax, eax, 0x28
sub edx, ecx
sub edx, dword [ebp + 0x10]
sub edx, 0xf8
cmp eax, edx
jbe 0x7de01be6
sub eax, edx
mov edx, dword [ebp - 0x124]
lea ecx, [edx + eax - 1]
dec edx
not edx
and ecx, edx
mov dword [ebp - 0x68], ecx
xor esi, esi
lea ecx, [ebp + esi*8 - 0xe8]
mov edx, dword [ecx]
test edx, edx
je 0x7de01bd8
cmp edx, dword [ebp - 0x10c]
jae 0x7de01bd8
add edx, eax
mov dword [ecx], edx
inc esi
cmp esi, 0x10
jl 0x7de01bbf
add dword [ebp - 0x10c], eax
jmp 0x7de01c0b
test eax, eax
jbe 0x7de01c0b
xor esi, esi
lea ecx, [ebp + esi*8 - 0xe8]
mov edx, dword [ecx]
test edx, edx
je 0x7de01c05
cmp edx, dword [ebp - 0x204]
jae 0x7de01c05
add edx, eax
mov dword [ecx], edx
inc esi
cmp esi, 0x10
jl 0x7de01bec
movzx esi, word [ebp - 0x15a]
mov ecx, dword [ebp - 0x50]
imul esi, esi, 0x28
add ecx, eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0xc], esi
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov eax, dword [eax + 0x2c]
mov ecx, dword fs:[0x18]
movsx edx, si
push edx
push 8
pop esi
add eax, 0x1c0000
or eax, esi
push eax
mov eax, dword [ecx + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x7de01e71
push dword [ebp - 0xc]
mov esi, eax
push 0
push esi
call sub.ntdll.dll_memset
imul ebx, ebx, 0x28
add ebx, esi
mov dword [ebp - 0x34], ebx
xor ebx, ebx
and dword [ebp - 0x20], ebx
mov ecx, edi
add esp, 0xc
mov dword [ebp - 4], ecx
mov dword [ebp - 8], esi
cmp ecx, dword [ebp - 0x3c]
jae 0x7de01db0
cmp ecx, dword [ebp - 0x48]
jne 0x7de01cab
cmp dword [ebp - 0x30], 0xffffffff
jne 0x7de01d98
lea eax, [ecx + 0x28]
cmp eax, dword [ebp - 0x3c]
jae 0x7de01d98
mov ecx, dword [ecx + 0xc]
sub ecx, dword [eax + 0xc]
add ebx, ecx
jmp 0x7de01d98
cmp esi, dword [ebp - 0x34]
jne 0x7de01e79
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx + eax - 1]
dec eax
not eax
and ecx, eax
cmp dword [ebp - 0x58], 0
mov dword [ebp - 0x20], 1
mov dword [ebp - 0xc], ecx
push 0xa
jne 0x7de01d2c
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x1c]
lea ebx, [eax - 1]
lea eax, [ecx + eax - 1]
pop ecx
push 0x7ddb37b8
not ebx
and ebx, eax
push 8
xor eax, eax
mov edi, esi
push esi
rep stosd dword es:[edi], eax
call fcn.7de00fc2
test eax, eax
jl 0x7de028d1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov dword [esi + 0xc], ecx
mov eax, dword [eax + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x24], 0x40000040
mov dword [esi + 8], eax
jmp 0x7de01d75
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
mov edi, eax
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0x10], ecx
mov dword [eax + 8], edx
mov eax, dword [ebp - 4]
add eax, 0x28
cmp ecx, dword [eax - 0x18]
jne 0x7de01d52
xor ebx, ebx
jmp 0x7de01d75
mov ecx, dword [ebp - 0x128]
lea esi, [ecx - 1]
not esi
lea ecx, [edx + ecx - 1]
and esi, ecx
add ebx, esi
cmp eax, dword [ebp - 0x3c]
jae 0x7de01d75
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc]
sub ecx, dword [eax + 0xc]
add ebx, ecx
add dword [ebp - 8], 0x28
cmp dword [ebp - 0x58], 0
jne 0x7de01d95
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 4]
push 0xa
mov edi, eax
pop ecx
add eax, 0x28
rep movsd dword es:[edi], dword [esi]
add dword [eax - 0x1c], ebx
mov dword [ebp - 8], eax
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 4]
add ecx, 0x28
mov dword [ebp - 4], ecx
cmp ecx, dword [ebp - 0x3c]
jb 0x7de01c83
cmp dword [ebp - 0x20], 0
jne 0x7de01e11
mov edi, dword [ebp - 0x34]
push 0xa
pop ecx
push 0x7ddb37b8
push 8
push dword [ebp - 0x34]
xor eax, eax
rep stosd dword es:[edi], eax
call fcn.7de00fc2
test eax, eax
jl 0x7de028d1
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x1c]
lea edx, [eax + ecx - 1]
dec eax
not eax
and edx, eax
mov eax, dword [ebp - 0x34]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 4]
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 0x128]
mov esi, dword [ecx - 0x20]
sub ecx, 0x28
lea esi, [esi + edx - 1]
dec edx
not edx
and esi, edx
add esi, dword [ecx + 0xc]
mov dword [eax + 0x24], 0x40000040
mov dword [eax + 0xc], esi
movzx eax, word [ebp - 0x15a]
mov ecx, dword [ebp - 0x28]
imul eax, eax, 0x28
lea eax, [eax + ecx - 0x28]
mov ecx, dword [eax + 0x10]
add ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0x128]
lea ecx, [ecx + eax - 1]
dec eax
not eax
and ecx, eax
mov dword [ebp - 0x110], ecx
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
push dword [ebp - 0x44]
mov eax, dword [eax + 0x2c]
mov ecx, dword fs:[0x18]
push 8
pop esi
add eax, 0x1c0000
or eax, esi
push eax
mov eax, dword [ecx + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x7de01f4d
mov dword [ebp - 0xc], esi
jmp 0x7de028d1
cmp dword [ebp - 0x30], 0xffffffff
je 0x7de01f30
mov eax, dword [ebp - 0x30]
imul eax, eax, 0x28
add eax, dword [ebp - 0x28]
cmp esi, eax
jne 0x7de01f30
push 0xa
pop ecx
push 0x7ddb37b0
push 8
xor eax, eax
mov edi, esi
push esi
rep stosd dword es:[edi], eax
call fcn.7de00fc2
test eax, eax
jl 0x7de028d1
mov ecx, dword [ebp - 0x48]
test ecx, ecx
jne 0x7de01ee6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0xc], eax
mov dword [esi + 0x24], 0x40000040
mov eax, dword [ebp - 0x128]
lea ebx, [eax + ecx - 1]
dec eax
not eax
and ebx, eax
mov eax, dword [ebp - 0x34]
add ebx, dword [eax + 0xc]
sub ebx, dword [esi + 0xc]
jmp 0x7de01f25
mov eax, dword [ecx + 0xc]
mov edx, dword [ebp - 0x58]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 4]
mov dword [esi + 0x24], 0x40000040
mov edx, dword [edx + 0xc]
sub edx, dword [ecx + 0xc]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x14]
add edx, ecx
mov edi, eax
sub edi, dword [esi + 0xc]
cmp edx, edi
mov edx, dword [ebp - 0x128]
lea ebx, [edx + ecx - 1]
mov ecx, dword [ebp - 0x34]
dec edx
not edx
and ebx, edx
add ebx, dword [ecx + 0xc]
sub ebx, eax
add esi, 0x28
mov dword [ebp - 8], esi
jmp 0x7de01d7f
cmp esi, dword [ebp - 0x34]
jae 0x7de01d7f
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 4]
add dword [ebp - 8], 0x28
push 0xa
pop ecx
rep movsd dword es:[edi], dword [esi]
jmp 0x7de01d95
push dword [ebp - 0x44]
mov edi, dword [ebp - 0x20]
push 0
push edi
call sub.ntdll.dll_memset
mov esi, dword [ebp - 0x2c]
add esp, 0xc
mov eax, esi
sub eax, dword [ebp - 0x40]
push eax
push dword [ebp - 0x40]
push 0
push edi
call fcn.7de0074b
mov eax, dword [ebp - 0x24]
lea ebx, [edi + 0x10]
mov edi, dword [ebp - 0x38]
lea ecx, [eax + esi*2]
lea eax, [edi + eax*2]
mov dword [ebp - 0x40], ebx
lea ebx, [ebx + esi*8]
lea esi, [ebx + ecx*8]
lea eax, [esi + eax*8]
mov dword [ebp - 8], eax
shl edi, 4
add edi, eax
mov eax, dword [ebp - 0x18]
add eax, edi
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x10]
jmp 0x7de021e3
mov ecx, dword [ebp - 0x40]
mov edx, edi
sub edx, dword [ebp - 0x20]
mov eax, 0x80000000
or edx, eax
mov dword [ecx], edx
mov edx, ebx
sub edx, dword [ebp - 0x20]
add ecx, 8
or edx, eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx - 4], edx
mov dword [ebp - 0x40], ecx
mov ecx, dword [eax + 4]
mov cx, word [ecx + 0xe]
mov word [edi], cx
mov eax, dword [eax + 4]
movzx ecx, word [eax + 0xe]
push ecx
push dword [eax + 0x10]
lea eax, [edi + 2]
push eax
call sub.ntdll.dll_wcsncpy
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 4]
movzx ecx, word [ecx + 0xe]
add esp, 0xc
lea edi, [edi + ecx*2 + 2]
movzx ecx, word [eax + 0x14]
movzx eax, word [eax + 0x18]
push ecx
push eax
push 0
push ebx
call fcn.7de0074b
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x10]
and dword [ebp - 0x24], 0
add ebx, 0x10
mov dword [ebp - 4], eax
test eax, eax
je 0x7de0212d
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x20]
mov edx, dword [ebp - 4]
mov dword [ebp - 0x2c], eax
mov eax, esi
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x7de02089
mov eax, dword [edx + 4]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
mov cx, word [ecx]
cmp cx, word [eax]
jne 0x7de02080
test cx, cx
je 0x7de0207c
mov ecx, dword [ebp - 0x18]
mov cx, word [ecx + 2]
mov word [ebp - 0xa], cx
cmp cx, word [eax + 2]
jne 0x7de02080
add dword [ebp - 0x18], 4
add eax, 4
test cx, cx
jne 0x7de0204f
xor eax, eax
jmp 0x7de02085
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x7de020f0
mov ecx, edi
sub ecx, dword [ebp - 0x20]
mov eax, 0x80000000
or ecx, eax
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x10]
or ecx, eax
mov eax, dword [ebp - 4]
mov dword [ebx + 4], ecx
mov ecx, dword [eax + 4]
mov cx, word [ecx + 0xe]
mov word [edi], cx
mov eax, dword [eax + 4]
movzx ecx, word [eax + 0xe]
push ecx
push dword [eax + 0x10]
lea eax, [edi + 2]
push eax
add ebx, 8
call sub.ntdll.dll_wcsncpy
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
movzx eax, word [eax + 0x1e]
movzx edx, word [ecx + 0xe]
add esp, 0xc
push eax
push 0
push 0
push esi
lea edi, [edi + edx*2 + 2]
mov dword [ebp - 0x24], ecx
call fcn.7de0074b
mov edx, dword [ebp - 4]
add esi, 0x10
add dword [ebp - 0x10], 0x10
movzx eax, word [edx + 0x20]
mov ecx, dword [ebp - 0x34]
add dword [ebp - 0x10], 8
mov dword [esi], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 4], eax
mov eax, dword [edx + 8]
push dword [edx + 0x14]
add eax, dword [ecx + 0xc]
add esi, 8
push eax
push dword [ebp - 8]
call fcn.7de00724
mov edx, dword [edx]
add dword [ebp - 8], 0x10
add dword [ebp - 0x2c], 0x10
mov dword [ebp - 4], edx
test edx, edx
jne 0x7de0203c
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0xc]
and dword [ebp - 0x24], 0
mov dword [ebp - 4], edx
test edx, edx
je 0x7de021de
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, esi
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x7de02167
mov ecx, dword [edx + 4]
mov ax, word [eax + 4]
cmp ax, word [ecx + 4]
je 0x7de021a1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
movzx ecx, word [ecx + 4]
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x10]
or ecx, 0x80000000
mov dword [ebx + 4], ecx
mov ecx, dword [eax + 4]
movzx eax, word [eax + 0x1e]
push eax
push 0
push 0
push esi
add ebx, 8
mov dword [ebp - 0x24], ecx
call fcn.7de0074b
mov edx, dword [ebp - 4]
add esi, 0x10
add dword [ebp - 0x10], 0x10
movzx eax, word [edx + 0x20]
mov ecx, dword [ebp - 0x34]
add dword [ebp - 0x10], 8
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], eax
mov eax, dword [edx + 8]
push dword [edx + 0x14]
add eax, dword [ecx + 0xc]
add esi, 8
push eax
push dword [ebp - 8]
call fcn.7de00724
mov edx, dword [edx]
add dword [ebp - 8], 0x10
add dword [ebp - 0x18], 0x10
mov dword [ebp - 4], edx
test edx, edx
jne 0x7de02153
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x7de01fab
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
jmp 0x7de02401
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 4]
movzx edx, word [ecx + 4]
mov ecx, dword [ebp - 0x40]
mov dword [ecx], edx
mov edx, ebx
sub edx, dword [ebp - 0x20]
add ecx, 8
or edx, 0x80000000
mov dword [ecx - 4], edx
mov dword [ebp - 0x40], ecx
movzx ecx, word [eax + 0x14]
movzx eax, word [eax + 0x18]
push ecx
push eax
push 0
push ebx
call fcn.7de0074b
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x10]
and dword [ebp - 0x24], 0
add ebx, 0x10
mov dword [ebp - 4], eax
test eax, eax
je 0x7de0234b
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x20]
mov edx, dword [ebp - 4]
mov dword [ebp - 0x2c], eax
mov eax, esi
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x7de022a7
mov eax, dword [edx + 4]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
mov cx, word [ecx]
cmp cx, word [eax]
jne 0x7de0229e
test cx, cx
je 0x7de0229a
mov ecx, dword [ebp - 0x18]
mov cx, word [ecx + 2]
mov word [ebp - 0xa], cx
cmp cx, word [eax + 2]
jne 0x7de0229e
add dword [ebp - 0x18], 4
add eax, 4
test cx, cx
jne 0x7de0226d
xor eax, eax
jmp 0x7de022a3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x7de0230e
mov ecx, edi
sub ecx, dword [ebp - 0x20]
mov eax, 0x80000000
or ecx, eax
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x10]
or ecx, eax
mov eax, dword [ebp - 4]
mov dword [ebx + 4], ecx
mov ecx, dword [eax + 4]
mov cx, word [ecx + 0xe]
mov word [edi], cx
mov eax, dword [eax + 4]
movzx ecx, word [eax + 0xe]
push ecx
push dword [eax + 0x10]
lea eax, [edi + 2]
push eax
add ebx, 8
call sub.ntdll.dll_wcsncpy
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
movzx eax, word [eax + 0x1e]
movzx edx, word [ecx + 0xe]
add esp, 0xc
push eax
push 0
push 0
push esi
lea edi, [edi + edx*2 + 2]
mov dword [ebp - 0x24], ecx
call fcn.7de0074b
mov edx, dword [ebp - 4]
add esi, 0x10
add dword [ebp - 0x10], 0x10
movzx eax, word [edx + 0x20]
mov ecx, dword [ebp - 0x34]
add dword [ebp - 0x10], 8
mov dword [esi], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 4], eax
mov eax, dword [edx + 8]
push dword [edx + 0x14]
add eax, dword [ecx + 0xc]
add esi, 8
push eax
push dword [ebp - 8]
call fcn.7de00724
mov edx, dword [edx]
add dword [ebp - 8], 0x10
add dword [ebp - 0x2c], 0x10
mov dword [ebp - 4], edx
test edx, edx
jne 0x7de0225a
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0xc]
and dword [ebp - 0x24], 0
mov dword [ebp - 4], edx
test edx, edx
je 0x7de023fc
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, esi
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x7de02385
mov ecx, dword [edx + 4]
mov ax, word [eax + 4]
cmp ax, word [ecx + 4]
je 0x7de023bf
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
movzx ecx, word [ecx + 4]
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x10]
or ecx, 0x80000000
mov dword [ebx + 4], ecx
mov ecx, dword [eax + 4]
movzx eax, word [eax + 0x1e]
push eax
push 0
push 0
push esi
add ebx, 8
mov dword [ebp - 0x24], ecx
call fcn.7de0074b
mov edx, dword [ebp - 4]
add esi, 0x10
add dword [ebp - 0x10], 0x10
movzx eax, word [edx + 0x20]
mov ecx, dword [ebp - 0x34]
add dword [ebp - 0x10], 8
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], eax
mov eax, dword [edx + 8]
push dword [edx + 0x14]
add eax, dword [ecx + 0xc]
add esi, 8
push eax
push dword [ebp - 8]
call fcn.7de00724
mov edx, dword [edx]
add dword [ebp - 8], 0x10
add dword [ebp - 0x18], 0x10
mov dword [ebp - 4], edx
test edx, edx
jne 0x7de02371
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x7de021f9
mov ecx, dword [ebp - 0x38]
cmp edi, ecx
jae 0x7de0242e
xor eax, eax
sub ecx, edi
dec ecx
movzx edx, ax
shr ecx, 1
inc ecx
mov eax, edx
shl edx, 0x10
or eax, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov ebx, dword [ebp + 8]
push 0
push ebx
call fcn.7de00617
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
add eax, 0xf8
push eax
push esi
push ebx
call fcn.7de00680
push dword [ebp - 0x54]
push esi
call fcn.7de00617
push dword [ebp - 0x50]
push ebx
call fcn.7de00617
mov eax, dword [ebp - 0x204]
cmp dword [ebp - 0x54], eax
jae 0x7de02474
sub eax, dword [ebp - 0x54]
push eax
push esi
push ebx
call fcn.7de00680
mov eax, dword [ebp - 0x124]
mov edx, dword [ebp - 0x10c]
lea ecx, [eax - 1]
and edx, ecx
sub eax, edx
and eax, ecx
mov edi, eax
add dword [ebp - 0x10c], edi
cmp edi, 0x10
jl 0x7de024b4
shr eax, 4
mov dword [ebp + 0xc], eax
imul eax, eax, 0xfffffff0
add edi, eax
push 0x10
push dword [0x7de40cec]
push esi
call fcn.7de00632
dec dword [ebp + 0xc]
jne 0x7de024a1
push edi
push dword [0x7de40cec]
push esi
call fcn.7de00632
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x204]
lea ecx, [ecx + eax - 1]
dec eax
not eax
and ecx, eax
push ecx
push ebx
call fcn.7de00617
mov eax, dword [ebp - 0x4c]
and dword [ebp - 0x140], 0
and dword [ebp - 0x50], 0
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x34]
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 0x3c]
jae 0x7de026b0
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x48]
jne 0x7de02509
add dword [ebp - 4], 0x28
cmp edi, ebx
jne 0x7de025bd
push esi
mov dword [ebp - 0x50], 1
call fcn.7de005fd
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x14]
push esi
mov dword [ebp - 0xd4], eax
call fcn.7de005fd
push dword [ebp - 0x44]
mov dword [ebp + 0xc], eax
push dword [ebp - 0x20]
push esi
call fcn.7de00632
mov eax, dword [ebx + 0x10]
sub eax, dword [ebp - 0x44]
push 0
push eax
push dword [ebp - 0x124]
push esi
push dword [ebp + 0x14]
call fcn.7de00810
push esi
mov dword [ebp - 0x18], eax
call fcn.7de005fd
cmp dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0xc], eax
jne 0x7de025a9
push dword [ebp + 0xc]
push esi
call fcn.7de00617
push dword [ebp - 0x44]
push dword [ebp - 0x20]
push esi
call fcn.7de00632
push dword [ebp - 0xc]
push esi
call fcn.7de00617
push dword [ebp + 8]
call fcn.7de005fd
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x10]
add ecx, eax
push ecx
push dword [ebp + 8]
call fcn.7de00617
mov eax, dword [edi + 0x10]
add dword [ebp - 0x140], eax
cmp dword [ebp - 0x58], 0
je 0x7de02626
jmp 0x7de026a1
cmp dword [ebp - 0x30], 0xffffffff
je 0x7de0262b
mov eax, dword [ebp - 0x30]
imul eax, eax, 0x28
add eax, dword [ebp - 0x28]
cmp edi, eax
jne 0x7de0262b
push esi
call fcn.7de005fd
push dword [ebp - 0x18]
mov dword [edi + 0x14], eax
push 0xffffffffffffffff
push dword [ebp - 0x124]
push esi
push dword [ebp + 0x14]
call fcn.7de00810
push esi
call fcn.7de005fd
push dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
sub eax, dword [edi + 0x14]
push esi
mov dword [edi + 0x10], eax
mov dword [edi + 8], eax
call fcn.7de00617
push dword [ebp - 0x44]
push dword [ebp - 0x20]
push esi
call fcn.7de00632
push dword [ebp - 0xc]
push esi
call fcn.7de00617
mov eax, dword [edi + 0x10]
add dword [ebp - 0x140], eax
add edi, 0x28
jmp 0x7de02658
cmp edi, ebx
jae 0x7de02658
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 0
je 0x7de02658
mov eax, dword [eax + 0x14]
push esi
mov dword [ebp - 0x54], eax
call fcn.7de005fd
cmp dword [ebp - 0x54], eax
je 0x7de02658
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x54]
add ecx, eax
push ecx
push esi
call fcn.7de00617
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 0
je 0x7de02687
push esi
call fcn.7de005fd
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 4]
push dword [eax + 0x14]
push dword [ebp + 8]
call fcn.7de00617
mov eax, dword [ebp - 4]
push dword [eax + 0x10]
push esi
push dword [ebp + 8]
call fcn.7de00680
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x60]
jne 0x7de02692
mov dword [ebp - 0x40], edi
test byte [edi + 0x24], 0x40
je 0x7de026a1
mov eax, dword [edi + 0x10]
add dword [ebp - 0x140], eax
add dword [ebp - 4], 0x28
mov eax, dword [ebp - 4]
add edi, 0x28
jmp 0x7de024f4
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x7de026c0
mov eax, dword [eax + 0x10]
sub dword [ebp - 0x140], eax
cmp dword [ebp - 0x50], 0
jne 0x7de02761
push esi
call fcn.7de005fd
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x14]
push esi
mov dword [ebp - 0xd4], eax
call fcn.7de005fd
push dword [ebp - 0x44]
mov dword [ebp + 0xc], eax
push dword [ebp - 0x20]
push esi
call fcn.7de00632
mov eax, dword [ebx + 0x10]
sub eax, dword [ebp - 0x44]
push 0
push eax
push dword [ebp - 0x124]
push esi
push dword [ebp + 0x14]
call fcn.7de00810
push esi
call fcn.7de005fd
cmp dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0xc], eax
jne 0x7de02758
push dword [ebp + 0xc]
push esi
call fcn.7de00617
push dword [ebp - 0x44]
push dword [ebp - 0x20]
push esi
call fcn.7de00632
push dword [ebp - 0xc]
push esi
call fcn.7de00617
push dword [ebp + 8]
call fcn.7de005fd
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x10]
add ecx, eax
push ecx
push dword [ebp + 8]
call fcn.7de00617
mov eax, dword [edi + 0x10]
add dword [ebp - 0x140], eax
movzx eax, word [ebp - 0x15a]
imul eax, eax, 0x28
add eax, dword [ebp - 0x28]
push 0x7ddb37a8
push eax
push dword [ebp - 0x28]
call fcn.7de00782
xor edi, edi
cmp eax, edi
je 0x7de0278b
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0x10]
add eax, 0xf8
push eax
push esi
call fcn.7de00617
movzx eax, word [ebp - 0x15a]
imul eax, eax, 0x28
push eax
push dword [ebp - 0x28]
push esi
call fcn.7de00632
push 2
push edi
push esi
call sym.KERNEL32.dll__llseek
push edi
push edi
push esi
mov dword [ebp - 8], eax
call fcn.7de00632
movzx eax, word [ebp - 0x15a]
imul eax, eax, 0x28
add eax, dword [ebp - 0x28]
push 0x7ddb37a0
push eax
push dword [ebp - 0x28]
call fcn.7de00782
lea ecx, [ebp - 8]
push ecx
push dword [ebp - 0x64]
lea ecx, [ebp - 0x160]
push ecx
lea ecx, [ebp - 0x258]
push ecx
push dword [ebp - 0x40]
push dword [ebp - 0x60]
push eax
push dword [ebp - 0x5c]
push esi
push dword [ebp + 8]
call fcn.7de00997
mov dword [ebp - 0xc], eax
cmp eax, edi
jne 0x7de0283b
mov eax, dword [ebp - 0x58]
cmp eax, edi
jne 0x7de02818
mov eax, dword [ebx + 0x10]
jmp 0x7de0281e
mov eax, dword [eax + 0x10]
sub eax, dword [ebx + 0x10]
push dword [ebp - 0x204]
lea ecx, [ebp - 0x160]
push ecx
push eax
push dword [ebp - 0x28]
push esi
push dword [ebp + 8]
call fcn.7de00c97
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x60], edi
je 0x7de0288c
cmp dword [ebp - 0x5c], edi
jne 0x7de0288c
cmp dword [ebp - 0xb4], edi
je 0x7de0288c
push 2
push edi
push dword [ebp + 8]
call sym.KERNEL32.dll__llseek
push 2
push edi
push esi
mov ebx, eax
call sym.KERNEL32.dll__llseek
cmp dword [ebp - 0x154], edi
je 0x7de02874
sub eax, dword [ebp - 8]
add dword [ebp - 0x154], eax
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.7de00617
sub ebx, dword [ebp - 8]
push ebx
push esi
push dword [ebp + 8]
call fcn.7de00680
push dword [ebp + 0x10]
push esi
call fcn.7de00617
push 0xf8
lea eax, [ebp - 0x160]
push eax
push esi
call fcn.7de00632
push dword [ebp - 0x4c]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov esi, dword [sym.imp.ntdll.dll_RtlFreeHeap]
push edi
push dword [eax + 0x18]
call esi
push dword [ebp - 0x20]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push dword [eax + 0x18]
call esi
cmp dword [ebp - 0x28], 0
je 0x7de028ee
push dword [ebp - 0x28]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 0x14