Function at 0x1003d770
Capabilities:
Delete file
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10083cf0
mov eax, dword fs:[0]
push eax
sub esp, 0x34c
mov eax, dword [0x100a7070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c4], ecx
mov eax, dword [ecx + 0x24]
xorps xmm0, xmm0
mov dword [ebp - 0x2c8], 0x80004005
mov dword [ebp - 0x330], eax
mov dword [ebp - 0x32c], 0
movsd qword [ebp - 0x338], xmm0
movsd qword [ebp - 0x328], xmm0
test eax, eax
je 0x1003d7dd
movsd xmm0, qword [eax + 8]
mov eax, dword [ecx + 0x14]
mov edi, dword [ecx + 0xc]
mov ecx, dword [0x100a97a8]
mov dword [ebp - 0x2e4], eax
mov eax, dword fs:[0x2c]
movsd qword [ebp - 0x320], xmm0
movsd xmm0, qword [0x1009e180]
movsd qword [ebp - 0x318], xmm0
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x100aa204]
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2d0], edi
mov dword [ebp - 0x2d4], 1
cmp eax, dword [ecx + 4]
jle 0x1003d898
push 0x100aa204
call fcn.1004466d
add esp, 4
cmp dword [0x100aa204], 0xffffffff
jne 0x1003d898
call fcn.100138c0
mov ecx, eax
test ecx, ecx
jne 0x1003d862
push 0x80004005
call fcn.100142e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, 0x10097a44
jne 0x1003d877
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x1003d879
call edx
add eax, 0x10
push 0x10085050
mov dword [0x100aa208], eax
call fcn.10044cbe
push 0x100aa204
call fcn.1004462e
add esp, 8
mov eax, dword [0x100aa208]
cmp dword [eax - 0xc], 0
jne 0x1003d915
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1005d9b0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003d8e3
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, 0x100aa208
call fcn.10019610
push 1
push 0x10097a00
mov ecx, 0x100aa208
call fcn.10018fe0
call fcn.100138c0
mov ecx, eax
test ecx, ecx
jne 0x1003d92a
push 0x80004005
call fcn.100142e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, 0x10097a44
jne 0x1003d93f
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x1003d941
call edx
add eax, 0x10
mov dword [ebp - 0x2b0], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2b0]
push dword [0x100aa208]
push str._DownloadFiles_:_file_base_path__s_n
push eax
call fcn.10019da0
mov ebx, dword [ebp - 0x2b0]
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
movsd xmm0, qword [0x1009e188]
or esi, 0xffffffff
test edi, edi
movsd qword [ebp - 0x2e0], xmm0
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
je 0x1003e884
nop dword [eax]
mov eax, dword [ebp - 0x2c4]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x1003d9be
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1003e6e4
movsd xmm0, qword [ebp - 0x338]
lea eax, [ebp - 0x330]
mov dword [ebp - 0x358], eax
mov eax, dword [ebp - 0x2d4]
movsd qword [ebp - 0x350], xmm0
movsd xmm0, qword [ebp - 0x328]
movsd qword [ebp - 0x348], xmm0
movd xmm0, dword [ebp - 0x2e4]
movd xmm1, eax
inc eax
cvtdq2pd xmm1, xmm1
mov dword [ebp - 0x2d4], eax
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x354], 0
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
movsd qword [ebp - 0x340], xmm1
test eax, eax
je 0x1003d858
mov edi, dword [0x100a97a8]
mov ebx, dword fs:[0x2c]
mov dword [ebp - 0x2ac], eax
mov eax, dword [eax]
mov dword [ebp - 0x2d0], eax
mov ecx, dword [ebx + edi*4]
mov eax, dword [0x100aa138]
cmp eax, dword [ecx + 4]
jle 0x1003daa3
push 0x100aa138
call fcn.1004466d
add esp, 4
cmp dword [0x100aa138], 0xffffffff
jne 0x1003daa3
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x10084ed0
mov dword [0x100aa13c], 0x10097a30
mov dword [0x100aa140], eax
mov byte [0x100aa144], 0
call fcn.10044cbe
push 0x100aa138
call fcn.1004462e
add esp, 8
mov eax, dword [0x100aa14c]
mov edx, dword [eax + 0xc]
cmp eax, 0x10097a44
jne 0x1003dac0
lock inc dword [0x100aa160]
mov eax, 0x100aa154
jmp 0x1003dac7
mov ecx, 0x100aa14c
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x2bc], esi
mov byte [ebp - 4], 1
mov ecx, dword [ebx + edi*4]
mov eax, dword [0x100aa138]
cmp eax, dword [ecx + 4]
jle 0x1003db2d
push 0x100aa138
call fcn.1004466d
add esp, 4
cmp dword [0x100aa138], 0xffffffff
jne 0x1003db2d
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x10084ed0
mov dword [0x100aa13c], 0x10097a30
mov dword [0x100aa140], eax
mov byte [0x100aa144], 0
call fcn.10044cbe
push 0x100aa138
call fcn.1004462e
add esp, 8
mov eax, dword [0x100aa14c]
mov edx, dword [eax + 0xc]
cmp eax, 0x10097a44
jne 0x1003db4a
lock inc dword [0x100aa160]
mov eax, 0x100aa154
jmp 0x1003db51
mov ecx, 0x100aa14c
call edx
add eax, 0x10
mov dword [ebp - 0x2a8], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebx + edi*4]
mov eax, dword [0x100aa138]
cmp eax, dword [ecx + 4]
jle 0x1003dbb7
push 0x100aa138
call fcn.1004466d
add esp, 4
cmp dword [0x100aa138], 0xffffffff
jne 0x1003dbb7
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x10084ed0
mov dword [0x100aa13c], 0x10097a30
mov dword [0x100aa140], eax
mov byte [0x100aa144], 0
call fcn.10044cbe
push 0x100aa138
call fcn.1004462e
add esp, 8
mov eax, dword [0x100aa14c]
mov edx, dword [eax + 0xc]
cmp eax, 0x10097a44
jne 0x1003dbd4
lock inc dword [0x100aa160]
mov eax, 0x100aa154
jmp 0x1003dbdb
mov ecx, 0x100aa14c
call edx
lea ebx, [eax + 0x10]
mov dword [ebp - 0x2b4], ebx
mov byte [ebp - 4], 3
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edi*4]
mov eax, dword [0x100aa138]
cmp eax, dword [ecx + 4]
jle 0x1003dc9c
push 0x100aa138
call fcn.1004466d
add esp, 4
cmp dword [0x100aa138], 0xffffffff
jne 0x1003dc9c
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x10084ed0
mov dword [0x100aa13c], 0x10097a30
mov dword [0x100aa140], eax
mov byte [0x100aa144], 0
call fcn.10044cbe
xor eax, eax
mov dword [0x100aa14c], 0x10097a44
push 0x10084ec0
mov dword [0x100aa150], 0x100aa13c
mov dword [0x100aa160], 2
mov dword [0x100aa158], 0
mov dword [0x100aa15c], 0
mov dword [0x100aa164], eax
mov dword [0x100aa154], 0x100aa14c
call fcn.10044cbe
push 0x100aa138
call fcn.1004462e
add esp, 0xc
mov eax, dword [0x100aa14c]
mov edx, dword [eax + 0xc]
cmp eax, 0x10097a44
jne 0x1003dcb9
lock inc dword [0x100aa160]
mov eax, 0x100aa154
jmp 0x1003dcc0
mov ecx, 0x100aa14c
call edx
lea edi, [eax + 0x10]
mov dword [ebp - 0x2b8], edi
lea ecx, [ebp - 0x2e8]
mov byte [ebp - 4], 4
call fcn.1003b480
mov byte [ebp - 4], 5
add esi, 0xfffffff0
mov edx, dword [eax]
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x1003dd62
cmp dword [esi + 0xc], 0
jl 0x1003dd53
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x1003dd53
call fcn.10019540
mov dword [ebp - 0x2a4], eax
lea edx, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1003dd42
mov edx, dword [esi]
push esi
mov ecx, dword [edx]
mov eax, dword [ecx + 4]
cmp ecx, 0x10097a44
jne 0x1003dd3e
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
mov eax, dword [sym.imp.KERNEL32.dll_HeapFree]
call eax
mov eax, dword [ebp - 0x2a4]
add eax, 0x10
mov dword [ebp - 0x2bc], eax
jmp 0x1003dd62
mov ecx, edx
call eax
mov eax, dword [ebp - 0x2a4]
add eax, 0x10
mov dword [ebp - 0x2bc], eax
jmp 0x1003dd62
push dword [edx - 0xc]
lea ecx, [ebp - 0x2bc]
push edx
call fcn.10019610
mov byte [ebp - 4], 4
or eax, 0xffffffff
mov ecx, dword [ebp - 0x2e8]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1003dda1
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, 0x10097a44
jne 0x1003dd9d
mov eax, dword [edx + 4]
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [eax + 4]
call esi
jmp 0x1003dda7
mov ecx, edx
call esi
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x2ac]
lea ecx, [edi - 0x10]
mov dword [ebp - 0x2a4], ecx
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x2a0], eax
lea edx, [eax - 0x10]
cmp edx, ecx
je 0x1003de53
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
jl 0x1003de3e
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x1003de38
mov ecx, edx
call fcn.10019540
mov dword [ebp - 0x2a0], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x1003de27
mov edx, dword [ebp - 0x2a4]
push edx
mov edi, dword [edx]
mov ecx, dword [edi]
mov eax, dword [ecx + 4]
cmp ecx, 0x10097a44
jne 0x1003de23
mov eax, dword [edi + 4]
push 0
push dword [eax + 4]
call esi
mov edi, dword [ebp - 0x2a0]
add edi, 0x10
mov dword [ebp - 0x2b8], edi
jmp 0x1003de53
mov ecx, edi
call eax
mov edi, dword [ebp - 0x2a0]
add edi, 0x10
mov dword [ebp - 0x2b8], edi
jmp 0x1003de53
mov eax, dword [ebp - 0x2a0]
push dword [eax - 0xc]
lea ecx, [ebp - 0x2b8]
push eax
call fcn.10019610
mov edi, dword [ebp - 0x2b8]
cmp dword [edi - 0xc], 0
jne 0x1003dede
mov ecx, dword [ebp - 0x2ac]
lea eax, [ecx + 0xc]
lea edx, [ecx + 0x10]
push eax
lea ecx, [ebp - 0x30c]
call fcn.1003b260
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2bc]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.10018fe0
mov byte [ebp - 4], 4
or eax, 0xffffffff
mov ecx, dword [ebp - 0x30c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1003e00f
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edx, dword [eax + 4]
mov dword [ebp - 0x2a0], edx
mov edx, dword [ecx]
cmp eax, 0x10097a44
jne 0x1003ded1
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call esi
jmp 0x1003e00f
mov ecx, edx
call dword [ebp - 0x2a0]
jmp 0x1003e00f
mov edx, dword [ebp - 0x2ac]
lea eax, [ebp - 0x2b8]
push eax
lea ecx, [ebp - 0x2f0]
lea edx, [edx + 0x10]
call fcn.1003b260
push 0x10098120
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2ec]
call fcn.100184a0
mov ecx, dword [ebp - 0x2ac]
mov edx, eax
add ecx, 0xc
mov byte [ebp - 4], 8
push ecx
lea ecx, [ebp - 0x310]
call fcn.1003b260
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2bc]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.10018fe0
mov byte [ebp - 4], 8
or eax, 0xffffffff
mov edx, dword [ebp - 0x310]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003df85
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x2a0], ecx
mov ecx, dword [edx]
cmp eax, 0x10097a44
jne 0x1003df7f
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call esi
jmp 0x1003df85
call dword [ebp - 0x2a0]
mov byte [ebp - 4], 7
or eax, 0xffffffff
mov ecx, dword [ebp - 0x2ec]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1003dfca
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edx, dword [eax + 4]
mov dword [ebp - 0x2a0], edx
mov edx, dword [ecx]
cmp eax, 0x10097a44
jne 0x1003dfc2
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call esi
jmp 0x1003dfca
mov ecx, edx
call dword [ebp - 0x2a0]
mov byte [ebp - 4], 4
or eax, 0xffffffff
mov ecx, dword [ebp - 0x2f0]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1003e00f
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edx, dword [eax + 4]
mov dword [ebp - 0x2a0], edx
mov edx, dword [ecx]
cmp eax, 0x10097a44
jne 0x1003e007
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call esi
jmp 0x1003e00f
mov ecx, edx
call dword [ebp - 0x2a0]
mov eax, dword [ebp - 0x2c4]
push dword [eax + 4]
lea eax, [ebp - 0x2a8]
push str.zupd_
push eax
call fcn.10019da0
mov eax, dword [ebp - 0x2a8]
add ebx, 0xfffffff0
add esp, 0xc
lea ecx, [eax - 0x10]
cmp ecx, ebx
je 0x1003e0b1
cmp dword [ebx + 0xc], 0
jl 0x1003e0a2
mov edx, dword [ecx]
cmp edx, dword [ebx]
jne 0x1003e0a2
call fcn.10019540
mov dword [ebp - 0x2a0], eax
lea edx, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1003e091
mov edx, dword [ebx]
push ebx
mov ecx, dword [edx]
mov eax, dword [ecx + 4]
cmp ecx, 0x10097a44
jne 0x1003e08d
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call esi
mov eax, dword [ebp - 0x2a0]
add eax, 0x10
mov dword [ebp - 0x2b4], eax
jmp 0x1003e0b1
mov ecx, edx
call eax
mov eax, dword [ebp - 0x2a0]
add eax, 0x10
mov dword [ebp - 0x2b4], eax
jmp 0x1003e0b1
push dword [eax - 0xc]
lea ecx, [ebp - 0x2b4]
push eax
call fcn.10019610
cmp dword [edi - 0xc], 0
je 0x1003e0cf
push 1
push 0x10097a00
lea ecx, [ebp - 0x2b8]
call fcn.10018fe0
mov edi, dword [ebp - 0x2b8]
mov eax, dword [ebp - 0x2ac]
lea edx, [ebp - 0x2b8]
add eax, 0xc
lea ecx, [ebp - 0x2f4]
push eax
call fcn.1003b260
add esp, 4
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2a8]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.10018fe0
mov byte [ebp - 4], 4
or eax, 0xffffffff
mov ecx, dword [ebp - 0x2f4]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1003e13b
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, 0x10097a44
jne 0x1003e137
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call esi
jmp 0x1003e13b
mov ecx, edx
call ebx
mov eax, dword [ebp - 0x2ac]
lea ecx, [ebp - 0x2b4]
mov eax, dword [eax + 0x18]
push dword [eax - 0xc]
push eax
call fcn.10018fe0
mov ebx, dword [ebp - 0x2c4]
lea eax, [ebx + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0x2ac]
lea eax, [ebx + 0x2c]
mov ebx, dword [eax]
sub ebx, 0x10
mov dword [ebp - 0x2a4], eax
mov edx, dword [ecx + 0x18]
lea ecx, [edx - 0x10]
cmp ecx, ebx
je 0x1003e208
cmp dword [ebx + 0xc], 0
jl 0x1003e1f5
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x1003e1ef
call fcn.10019540
mov dword [ebp - 0x2a0], eax
or ecx, 0xffffffff
lea eax, [ebx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1003e1dc
mov edx, dword [ebx]
push ebx
mov ecx, dword [edx]
mov eax, dword [ecx + 4]
cmp ecx, 0x10097a44
jne 0x1003e1d8
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call esi
mov esi, dword [ebp - 0x2a4]
mov eax, dword [ebp - 0x2a0]
add eax, 0x10
mov dword [esi], eax
jmp 0x1003e20a
mov ecx, edx
call eax
mov esi, dword [ebp - 0x2a4]
mov eax, dword [ebp - 0x2a0]
add eax, 0x10
mov dword [esi], eax
jmp 0x1003e20a
mov eax, dword [ebp - 0x2a4]
push dword [edx - 0xc]
mov ecx, eax
push edx
call fcn.10019610
mov esi, dword [ebp - 0x2a4]
jmp 0x1003e20a
mov esi, eax
mov eax, dword [ebp - 0x2c4]
add eax, 0x30
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [esi]
mov esi, dword [ebp - 0x2b4]
lea eax, [ebp - 0x2b0]
mov ebx, dword [ebp - 0x2a8]
push esi
push ebx
push str._DownloadFiles_:_temp_file__s__unpacked_file__s__current_download_file__s_n
push eax
call fcn.10019da0
add esp, 0x14
push dword [ebp - 0x2b0]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 0x2b4]
mov edx, 0x100aa208
push eax
lea ecx, [ebp - 0x300]
call fcn.1003b260
mov dword [ebp - 0x2a0], eax
lea eax, [ebp - 0x2a8]
mov byte [ebp - 4], 0xb
push eax
mov edx, 0x100aa208
lea ecx, [ebp - 0x2fc]
call fcn.1003b260
push str..temp
mov edx, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2f8]
call fcn.100184a0
add esp, 0xc
mov dword [ebp - 0x2a4], eax
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x298]
push 3
push dword [ebp - 0x2bc]
lea ecx, [ebp - 0x29c]
mov dword [ebp - 0x29c], eax
call fcn.100190b0
mov eax, dword [ebp - 0x2ac]
mov ecx, dword [ebp - 0x2c4]
mov edx, dword [ebp - 0x2a4]
mov byte [ebp - 4], 0xe
push dword [eax + 0x28]
mov edx, dword [edx]
push 1
push dword [ecx + 0x28]
mov ecx, dword [ebp - 0x29c]
push dword [eax + 0xc]
lea eax, [ebp - 0x358]
push eax
mov eax, dword [ebp - 0x2a0]
push dword [eax]
call fcn.1003bd50
mov ecx, dword [ebp - 0x29c]
add esp, 0x18
mov dword [ebp - 0x2a4], eax
lea eax, [ebp - 0x298]
cmp ecx, eax
je 0x1003e323
push ecx
call fcn.100637f8
add esp, 4
mov byte [ebp - 4], 0xc
or eax, 0xffffffff
mov ecx, dword [ebp - 0x2f8]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1003e371
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
mov dword [ebp - 0x2a0], ebx
mov ebx, dword [ebp - 0x2a8]
cmp eax, 0x10097a44
jne 0x1003e369
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
mov eax, dword [sym.imp.KERNEL32.dll_HeapFree]
call eax
jmp 0x1003e371
mov ecx, edx
call dword [ebp - 0x2a0]
mov byte [ebp - 4], 0xb
or eax, 0xffffffff
mov ecx, dword [ebp - 0x2fc]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1003e3be
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
mov dword [ebp - 0x2a0], esi
mov esi, dword [ebp - 0x2b4]
cmp eax, 0x10097a44
jne 0x1003e3b6
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1003e3be
mov ecx, edx
call dword [ebp - 0x2a0]
mov byte [ebp - 4], 4
or eax, 0xffffffff
mov ecx, dword [ebp - 0x300]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1003e40b
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
mov dword [ebp - 0x2a0], ebx
mov ebx, dword [ebp - 0x2a8]
cmp eax, 0x10097a44
jne 0x1003e403
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1003e40b
mov ecx, edx
call dword [ebp - 0x2a0]
lea eax, [ebp - 0x2a8]
mov edx, 0x100aa208
push eax
lea ecx, [ebp - 0x308]
call fcn.1003b260
push str..temp
mov edx, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x304]
call fcn.100184a0
add esp, 8
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x304]
or eax, 0xffffffff
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1003e48c
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
mov dword [ebp - 0x2a0], esi
mov esi, dword [ebp - 0x2b4]
cmp eax, 0x10097a44
jne 0x1003e484
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1003e48c
mov ecx, edx
call dword [ebp - 0x2a0]
mov byte [ebp - 4], 4
or eax, 0xffffffff
mov ecx, dword [ebp - 0x308]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1003e4d9
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
mov dword [ebp - 0x2a0], ebx
mov ebx, dword [ebp - 0x2a8]
cmp eax, 0x10097a44
jne 0x1003e4d1
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1003e4d9
mov ecx, edx
call dword [ebp - 0x2a0]
cmp dword [ebp - 0x2a4], 0
jne 0x1003e6f9
mov eax, dword [ebp - 0x2ac]
lea edx, [esi - 0x10]
add eax, 0x24
mov dword [ebp - 0x2cc], edx
mov dword [ebp - 0x2c0], eax
mov ecx, dword [eax]
sub ecx, 0x10
mov dword [ebp - 0x2a4], ecx
cmp edx, ecx
je 0x1003e5c6
cmp dword [ecx + 0xc], 0
lea ebx, [ecx + 0xc]
mov dword [ebp - 0x2a0], ebx
mov ebx, dword [ebp - 0x2a8]
jl 0x1003e5bb
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x1003e5b5
mov ecx, edx
call fcn.10019540
or esi, 0xffffffff
mov dword [ebp - 0x2c0], eax
mov eax, dword [ebp - 0x2a0]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1003e5a1
mov edx, dword [ebp - 0x2a4]
push edx
mov eax, dword [edx]
mov ecx, dword [eax]
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x2a0], ebx
mov ebx, dword [ebp - 0x2a8]
cmp ecx, 0x10097a44
jne 0x1003e599
mov eax, dword [eax + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0x2ac]
mov eax, dword [ebp - 0x2c0]
add eax, 0x10
mov dword [ecx + 0x24], eax
jmp 0x1003e5c9
mov ecx, eax
call dword [ebp - 0x2a0]
mov ecx, dword [ebp - 0x2ac]
mov eax, dword [ebp - 0x2c0]
add eax, 0x10
mov dword [ecx + 0x24], eax
jmp 0x1003e5c9
mov eax, dword [ebp - 0x2c0]
push dword [esi - 0xc]
mov ecx, eax
push esi
call fcn.10019610
or esi, 0xffffffff
mov eax, dword [ebp - 0x2ac]
lea ecx, [ebp - 0x358]
movsd xmm1, qword [ebp - 0x2e0]
mov dword [eax + 0x2c], 1
call fcn.10022060
mov byte [ebp - 4], 3
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x1003e61f
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, 0x10097a44
jne 0x1003e61d
mov eax, dword [ecx + 4]
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [eax + 4]
call edi
jmp 0x1003e625
call edx
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [ebp - 4], 2
mov eax, esi
mov ecx, dword [ebp - 0x2cc]
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1003e66a
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
mov dword [ebp - 0x2cc], ebx
mov ebx, dword [ebp - 0x2a8]
cmp eax, 0x10097a44
jne 0x1003e662
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call edi
jmp 0x1003e66a
mov ecx, edx
call dword [ebp - 0x2cc]
mov byte [ebp - 4], 1
add ebx, 0xfffffff0
mov eax, esi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x1003e69a
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, 0x10097a44
jne 0x1003e698
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call edi
jmp 0x1003e69a
call edx
mov byte [ebp - 4], 0
mov eax, esi
mov ecx, dword [ebp - 0x2bc]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1003e6d2
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, 0x10097a44
jne 0x1003e6ce
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call edi
jmp 0x1003e6d2
mov ecx, edx
call ebx
cmp dword [ebp - 0x2d0], 0
jne 0x1003d9a0
jmp 0x1003e876
mov ebx, dword [ebp - 0x2b0]
mov dword [ebp - 0x2c8], 0x20010002
jmp 0x1003e8a7
lea eax, [ebp - 0x2b4]
mov edx, 0x100aa208
push eax
lea ecx, [ebp - 0x2cc]
call fcn.1003b260
add esp, 4
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x2cc]
or eax, 0xffffffff
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1003e764
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
mov dword [ebp - 0x2c0], ebx
mov ebx, dword [ebp - 0x2a8]
cmp eax, 0x10097a44
jne 0x1003e75c
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1003e764
mov ecx, edx
call dword [ebp - 0x2c0]
mov eax, dword [ebp - 0x2a4]
add edi, 0xfffffff0
or eax, 0x80000000
mov dword [ebp - 0x2d8], 1
mov dword [ebp - 0x2c8], eax
mov eax, dword [ebp - 0x2ac]
mov byte [ebp - 4], 3
mov dword [eax + 0x2c], 2
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x1003e7c3
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, 0x10097a44
jne 0x1003e7c1
mov eax, dword [ecx + 4]
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [eax + 4]
call edi
jmp 0x1003e7c9
call edx
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1003e80e
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
mov dword [ebp - 0x2c0], ebx
mov ebx, dword [ebp - 0x2a8]
cmp eax, 0x10097a44
jne 0x1003e806
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call edi
jmp 0x1003e80e
mov ecx, edx
call dword [ebp - 0x2c0]
mov byte [ebp - 4], 1
add ebx, 0xfffffff0
mov eax, esi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x1003e83e
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, 0x10097a44
jne 0x1003e83c
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call edi
jmp 0x1003e83e
call edx
mov byte [ebp - 4], 0
mov eax, esi
mov ecx, dword [ebp - 0x2bc]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1003e876
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, 0x10097a44
jne 0x1003e872
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call edi
jmp 0x1003e876
mov ecx, edx
call ebx
movsd xmm0, qword [ebp - 0x2e0]
mov ebx, dword [ebp - 0x2b0]
movaps xmm1, xmm0
lea ecx, [ebp - 0x330]
call fcn.10022060
xor eax, eax
cmp dword [ebp - 0x2d8], eax
cmovne eax, dword [ebp - 0x2c8]
mov dword [ebp - 0x2c8], eax
mov dword [ebp - 4], 0xffffffff
add ebx, 0xfffffff0
lock xadd dword [ebx + 0xc], esi
dec esi
test esi, esi
jg 0x1003e8d8
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, 0x10097a44
jne 0x1003e8d6
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call edi
jmp 0x1003e8d8
call edx
mov eax, dword [ebp - 0x2c8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004450b
mov esp, ebp
pop ebp
ret