Function at 0x101995da
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
lea ebp, [esp - 0x314]
sub esp, 0x394
mov eax, dword [0x1023904c]
xor eax, ebp
mov dword [ebp + 0x310], eax
push ebx
mov ebx, dword [ebp + 0x31c]
push esi
push edi
lea ecx, [ebp + 0x10]
call fcn.1000e7de
lea ecx, [ebp - 0x68]
call fcn.1000e7de
lea ecx, [ebp - 0x2c]
call fcn.1000e7de
and dword [ebp + 0x20], 0
or dword [ebp + 0x1c], 0xffffffff
lea ecx, [ebp - 0x10]
xor esi, esi
call fcn.1000e7de
xor eax, eax
inc dword [0x10244814]
mov dword [ebp + 0x24], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
lea eax, [ebp]
push eax
push 2
mov ecx, ebx
call fcn.10001f40
push eax
call fcn.101a3a0f
test eax, eax
js 0x10199adf
cmp word [ebp], si
jne 0x10199666
mov eax, 0x800ac443
jmp 0x101997cf
call fcn.1000e3c0
and dword [ebp + 0x20], esi
and dword [ebp + 0x28], esi
or dword [ebp + 0x1c], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1016a405
lea eax, [ebp + 0x10]
push eax
mov ecx, ebx
call fcn.10162a01
lea esi, [ebx + 0xd4]
lea eax, [ebp + 0x10]
push esi
push eax
mov ecx, eax
call fcn.101581c0
test eax, eax
je 0x101997c7
cmp dword [ebp + 0x320], 0
je 0x101996fa
lea ecx, [ebp + 0x10]
call fcn.1015692e
push eax
mov ecx, esi
call fcn.1001b0b5
test eax, eax
je 0x10199721
push esi
lea eax, [ebp + 0x10]
push eax
push ebx
call fcn.10195738
test eax, eax
jne 0x10199721
mov edi, 0xea5f
mov esi, dword [ebp + 0x28]
cmp dword [ebp + 0x20], 0
je 0x10199b1d
mov ecx, ebx
test edi, edi
je 0x10199ae7
call fcn.10001f40
push eax
call fcn.101a33d2
jmp 0x10199b19
lea ecx, [ebx + 0x100]
call fcn.100c4046
test eax, eax
jne 0x10199721
lea ecx, [ebp + 0x10]
call fcn.100e202e
push eax
mov ecx, ebx
call fcn.10162a52
test eax, eax
js 0x101997cc
lea eax, [ebp - 0x14]
push eax
push 5
call fcn.101a4e17
mov ecx, ebx
call fcn.10001f40
push eax
call fcn.101a33c2
mov edi, eax
test edi, edi
jne 0x101996d3
lea eax, [ebp + 0x10]
push eax
call fcn.1019b968
mov edi, eax
test edi, edi
jne 0x101996d3
call fcn.1000e3c0
cmp dword [ebp + 0x320], edi
je 0x1019976e
push edi
push 0x1019b814
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_EnumThreadWindows]
push 0x28
lea eax, [ebp + 0x2e4]
push eax
mov ecx, ebx
call fcn.1015692e
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 4]
push eax
lea eax, [ebp + 0x1c]
mov dword [0x10244640], 1
mov edi, dword [ebx + 0x138]
push eax
mov ecx, ebx
call fcn.1016297d
mov ecx, ebx
call fcn.10001f40
push eax
call fcn.1015692e
push 0x10240be8
lea ecx, [ebp - 0x2c]
call fcn.100d7651
test eax, eax
jne 0x101997dc
mov eax, 0x8007000e
mov esi, dword [ebp + 0x28]
push eax
call fcn.100d7c0e
mov edi, eax
jmp 0x101996d6
push 0x30
pop esi
push esi
lea eax, [ebp - 0x5c]
push 0
push eax
mov dword [ebp + 0x2c], 0x20
call sub.msvcr100.dll_memset
add esp, 0xc
lea ecx, [ebp + 0x10]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x48], 0x10199c04
call fcn.1001b16d
mov esi, dword [sym.imp.kernel32.dll_lstrcpyA]
push eax
lea eax, [ebp + 0x160]
push eax
call esi
lea eax, [ebp + 0x160]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x44], eax
call fcn.1001b16d
push eax
lea eax, [ebp + 0x5c]
push eax
call esi
push 4
lea eax, [ebp + 0x5c]
mov dword [ebp - 0x40], eax
pop eax
mov word [ebp - 0x50], ax
xor eax, eax
mov word [ebp - 0x4e], ax
mov ax, word [ebp + 0x1c]
mov word [ebp - 0x54], ax
mov ax, word [ebp + 4]
mov word [ebp - 0x52], ax
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 0x5c]
push eax
mov ecx, ebx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x58], 0x8002
call fcn.10001f40
push eax
call fcn.101a326d
cmp dword [ebp + 0x24], 0
mov edi, eax
je 0x1019989c
push dword [ebp + 0x24]
call fcn.1019b840
mov eax, dword [0x1023a228]
push dword [ebp + 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
jmp 0x101996ce
test edi, edi
jne 0x101996d3
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x1c], eax
movzx eax, word [ebp + 0x46]
lea esi, [ebp + 0x34]
lea edi, [ebp + 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x20], eax
movzx eax, word [ebp + 0x44]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x18], eax
movzx eax, word [ebp + 0x48]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
mov dword [ebp + 0xc], eax
call fcn.10163552
test eax, eax
jns 0x101998e4
push eax
call fcn.100d7c0e
mov edi, eax
test edi, edi
jne 0x101996d3
mov edi, dword [ebx + 0xe4]
test edi, edi
je 0x1019991b
add edi, 0xc
lea esi, [ebp + 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0xe4]
jmp 0x10199910
mov eax, dword [ecx + 0x28]
lea esi, [ecx + 0x18]
lea edi, [ecx + 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ecx + 0x5c], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x10199900
push ebx
call fcn.1000e392
jmp 0x1019993e
mov ecx, esi
call fcn.1000c528
test byte [eax], 2
je 0x10199938
mov ecx, dword [esi + 0x1c]
mov eax, dword [ecx + 0x58]
mov dword [ecx + 0x5c], eax
push esi
call fcn.1000e3ac
mov esi, eax
test esi, esi
jne 0x10199923
call fcn.1019564a
push 1
push dword [ebp + 0xc]
lea eax, [ebp + 0x4c]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x10]
push dword [ebp - 0x18]
mov byte [ebp + 0x264], 0
push eax
push ebx
call fcn.1016a425
test eax, eax
js 0x10199970
xor edi, edi
jmp 0x10199980
push eax
call fcn.100d7c0e
mov edi, eax
test edi, edi
jne 0x101996d3
push 0
push 0x64
call fcn.100e1c85
push 6
call fcn.100e1c96
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x264]
push eax
push dword [ebp - 0x1c]
lea ecx, [ebx + 0x98]
push 0
call fcn.100e202e
push eax
lea ecx, [ebp + 0x10]
call fcn.1015692e
push eax
lea eax, [ebp + 0x2e4]
push eax
push dword [ebp + 0x20]
push ebx
call fcn.1019a372
test eax, eax
je 0x101996ce
mov eax, dword [ebx + 0x270]
mov ecx, dword [ebx + 0xe4]
shl eax, 0x14
sar eax, 0x1f
push eax
push 1
lea eax, [ebp + 0x2e4]
push eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.1016baa9
push eax
push dword [ebp + 8]
push dword [ebp + 4]
push dword [ebp + 0x1c]
push dword [ebp + 0x20]
call fcn.1019b178
test eax, eax
je 0x101996ce
lea eax, [ebp + 0x2e4]
mov esi, 0xffff0000
test esi, eax
je 0x10199a4c
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10199a26
sub ecx, edx
lea eax, [ecx*2 + 2]
call fcn.1000c5c0
mov eax, esp
lea ecx, [ebp + 0x2e4]
push ecx
push eax
call fcn.1001ce5b
jmp 0x10199a52
lea eax, [ebp + 0x2e4]
lea ecx, [ebp + 0x10]
mov dword [ebp + 0xc], eax
call fcn.1015692e
lea ecx, [ebp + 0x10]
test esi, eax
je 0x10199a96
call fcn.1015692e
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10199a6e
sub ecx, edx
lea eax, [ecx*2 + 2]
call fcn.1000c5c0
lea ecx, [ebp + 0x10]
mov esi, esp
call fcn.1015692e
push eax
push esi
call fcn.1001ce5b
jmp 0x10199a9b
call fcn.1015692e
push 1
push dword [ebp + 4]
mov edx, eax
push dword [ebp + 0x1c]
mov eax, dword [ebp + 0x20]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
push 0
push 0x64
call fcn.100e1c85
cmp dword [ebp - 4], 0
je 0x101996d3
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x28]
cmp eax, 0x270f
je 0x101996d6
inc eax
mov dword [ebp + 8], eax
jmp 0x101996d6
mov edi, dword [ebp - 0x14]
jmp 0x101996d6
lea eax, [ebp + 0x24]
push eax
call fcn.10001f40
push eax
call fcn.101a33b0
cmp dword [ebp + 0x24], 0
mov edi, eax
je 0x10199b19
push dword [ebp + 0x24]
call fcn.1019b840
mov eax, dword [0x1023a228]
push dword [ebp + 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov edi, 0xea5f
and dword [ebp + 0x20], 0
test edi, edi
jne 0x10199b7f
xor esi, esi
inc esi
mov dword [ebp + 0x28], esi
cmp dword [ebp - 0x10], edi
je 0x10199b41
mov ecx, dword [ebx + 0xe4]
push esi
push dword [ebp - 0x10]
lea eax, [ebp + 0x10]
push eax
call fcn.1016df8e
mov edi, eax
push esi
push 0x10199c14
lea ecx, [ebp + 0x10]
call fcn.10158468
lea ecx, [ebp + 0x10]
call fcn.1001b16d
mov esi, dword [sym.imp.msvcr100.dll_remove]
push eax
call esi
pop ecx
push 1
push 0x10199c18
lea ecx, [ebp + 0x10]
call fcn.10158468
lea ecx, [ebp + 0x10]
call fcn.1001b16d
push eax
call esi
mov esi, dword [ebp + 0x28]
pop ecx
and dword [0x10244640], 0
call fcn.100b8614
call fcn.100e1cab
cmp dword [ebp + 0x1c], 0
jl 0x10199bad
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 4]
mov ecx, ebx
push dword [ebp + 8]
push dword [ebp + 4]
push dword [ebp + 0x1c]
call fcn.10162223
test edi, edi
je 0x10199bbf
cmp edi, 0xea5f
je 0x10199bbf
push edi
call fcn.10156628
lea ecx, [ebp - 0x10]
call fcn.1016a405
lea ecx, [ebp - 0x2c]
call fcn.1001b92f
lea ecx, [ebp - 0x68]
call fcn.1001b92f
lea ecx, [ebp + 0x10]
call fcn.1001b92f
mov eax, esi
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x310]
xor ecx, ebp
call fcn.10001e57
add ebp, 0x314
leave
ret 8