Function at 0x10012a50
Capabilities:
Delete file
Get disk information
Get thread local storage value

Disassembly:
mov eax, 0x28f8
call fcn.10039ee0
mov eax, dword [0x10063c00]
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call edi
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jne 0x10012ab0
call fcn.100124f0
test eax, eax
jne 0x10012a8f
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x28f8
ret 4
mov ecx, dword [0x10063c00]
push ecx
call edi
mov esi, eax
cmp esi, ebx
jne 0x10012ab0
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x28f8
ret 4
cmp dword [esi + 0x9c], ebx
je 0x10012aeb
mov edx, dword [esp + 0x290c]
mov dword [esi + 0xaf90], ebx
push esi
mov eax, dword [edx + 0x2c]
push eax
push 0x1006161c
push 1
call fcn.1001b6b0
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28f8
ret 4
mov edi, dword [esp + 0x290c]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [esi + 0x8d0], ebx
mov dword [esi + 0x8e0], ebx
mov dword [esi + 0x9c], 1
mov dword [esi + 0xc9c0], ebx
mov dword [esi + 0xaf90], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0x8c0], ebx
mov dword [esi + 0x8c4], ebx
mov dword [esi + 0x8d4], ebx
mov dword [esi + 0x8c8], ebx
mov dword [esi + 0x8e4], ebx
mov dword [esi + 0x8d8], ebx
mov dword [esi + 0x8e8], ebx
mov dword [esi + 0x8ec], ebx
mov dword [esi + 0x8f4], ebx
mov dword [esi + 0x910], ebx
mov dword [esi + 0x914], ebx
mov dword [esi + 0x918], ebx
mov dword [esi + 0x91c], ebx
mov dword [esi + 0x920], ebx
mov dword [esi + 0x924], ebx
mov dword [esi + 0x928], ebx
mov dword [esi + 0x934], 0xffffffff
mov dword [esi + 0x3e10], ebx
mov dword [esi + 0x3e14], ebx
mov dword [esi + 0x8b0], ebx
mov dword [esi + 0x8b4], ebx
mov ecx, dword [edi + 0x88]
lea edx, [esi + 0x35f8]
push 0x1006161c
push edx
mov dword [esi + 0x3e20], ecx
call ebp
lea eax, [esi + 0x2df8]
push 0x1006161c
push eax
call ebp
mov eax, dword [edi]
add eax, 0xffffff6c
cmp eax, 0x48
ja case.0x10012be4.151
xor ecx, ecx
mov cl, byte [eax + 0x10013550]
jmp dword [ecx*4 + 0x1001353c]
mov dword [esi + 0x3e24], 0x64
jmp 0x10012c19
mov dword [esi + 0x3e24], 0xc8
jmp 0x10012c19
mov dword [esi + 0x3e24], 0x12c
jmp 0x10012c19
mov dword [esi + 0x3e24], 0x1f4
lea edx, [esp + 0x28]
push edi
push edx
mov dword [esp + 0x30], 0xdc
call fcn.100125f0
add esp, 8
test eax, eax
je 0x10012c65
push edi
call fcn.10013be0
mov eax, dword [edi + 0x2c]
push esi
push eax
push 0x1006161c
push 0x10
call fcn.1001b6b0
add esp, 0x14
mov dword [esi + 0x9c], ebx
mov eax, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28f8
ret 4
lea ecx, [esp + 0x28]
push ecx
call fcn.10013be0
mov edx, dword [esp + 0xc0]
add esp, 4
mov dword [esi + 0x3e10], edx
mov eax, dword [esp + 0xc0]
mov dword [esi + 0x3e14], eax
mov eax, dword [esp + 0x2c]
cmp eax, 6
mov eax, dword [esp + 0x30]
je 0x10012cca
cmp eax, ebx
jne 0x10012cca
mov ecx, dword [esp + 0x54]
push esi
push ecx
push 0x1006161c
push 0x10
call fcn.1001b6b0
add esp, 0x10
mov dword [esi + 0x9c], ebx
mov eax, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28f8
ret 4
lea ebp, [esi + 0x15f8]
push eax
push ebp
call fcn.100174d0
mov dx, word [esp + 0xcc]
lea edi, [esi + 0x25f8]
mov word [esi + 0x4ef4], dx
mov eax, dword [esp + 0xce]
shr eax, 1
and eax, 1
push edi
mov dword [esi + 0xa4], eax
mov ecx, dword [esp + 0xd2]
shr ecx, 4
and ecx, 1
mov dword [esp + 0x1c], edi
mov dword [esi + 0x4fdc], ecx
mov edx, dword [esp + 0xd2]
shr edx, 5
and edx, 1
mov dword [esi + 0x4fe0], edx
mov eax, dword [esp + 0xd2]
shr eax, 6
and eax, 1
mov dword [esi + 0x910], eax
mov ecx, dword [esp + 0xd2]
shr ecx, 7
and ecx, 1
mov dword [esi + 0x914], ecx
mov edx, dword [esp + 0xd2]
shr edx, 9
and edx, 1
mov dword [esi + 0x918], edx
mov eax, dword [esp + 0xd2]
shr eax, 0xa
and eax, 1
mov dword [esi + 0x91c], eax
mov ecx, dword [esp + 0xd2]
shr ecx, 8
and ecx, 1
mov dword [esi + 0x920], ecx
mov edx, dword [esp + 0xd2]
shr edx, 0xe
and edx, 1
xor ecx, ecx
mov dword [esi + 0x924], edx
mov eax, dword [esp + 0xd2]
shr eax, 0xb
and eax, 1
mov dword [esi + 0x928], eax
mov edx, dword [esp + 0xf0]
cmp edx, ebx
mov dword [esi + 0x930], ebx
setne cl
mov dword [esi + 0x92c], ecx
mov edx, dword [esp + 0xd2]
shr edx, 0xc
and edx, 1
mov dword [esi + 0x8f4], edx
call fcn.100135a0
mov al, byte [esp + 0xd2]
add esp, 0xc
test al, 1
je 0x10012dfa
mov dword [esi + 0x15f0], 1
jmp 0x10012e00
mov dword [esi + 0x15f0], ebx
mov eax, dword [esp + 0xc4]
test ah, 0x80
je 0x10012eee
push ebp
call fcn.1001fd40
mov ebp, eax
push esi
push ebp
call fcn.1001f1b0
add esp, 0xc
test eax, eax
jne 0x10012e36
push esi
push 0x1006161c
push ebx
push ebx
push ebx
push 5
jmp 0x10012eb6
cmp dword [esp + 0x2c], 4
jne 0x10012e66
cmp dword [esp + 0x60], ebx
jne 0x10012e66
cmp dword [esp + 0x64], ebx
jne 0x10012e66
cmp dword [esp + 0x70], ebx
jne 0x10012e66
mov ax, word [esi + 0x4ef4]
test ah, 0x40
je 0x10012e99
test eax, 0x703
je 0x10012eee
mov ecx, dword [esp + 0x54]
push esi
push ecx
push 0x1006161c
push 0x14
call fcn.1001b6b0
push edi
mov dword [esi + 0x9c], ebx
call fcn.10013610
add esp, 0x14
mov eax, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28f8
ret 4
mov edx, dword [esp + 0x34]
push edx
push ebp
call fcn.1001fdf0
add esp, 8
test eax, eax
je 0x10012eee
push esi
push 0x1006161c
push ebx
push ebx
push ebx
push 6
call fcn.10020640
mov eax, dword [esp + 0x6c]
push esi
push eax
push 0x1006161c
push 0x14
call fcn.1001b6b0
push edi
mov dword [esi + 0x9c], ebx
call fcn.10013610
add esp, 0x2c
mov eax, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28f8
ret 4
push esi
call fcn.1001ecc0
mov dword [esi + 0x3df8], ebx
mov dword [esi + 0x3e04], ebx
mov dword [esi + 0x3e18], 1
mov edx, dword [esp + 0xd4]
mov dword [esi + 0x938], edx
mov eax, dword [esp + 0xd8]
mov dword [esi + 0x93c], eax
mov eax, dword [esp + 0xdc]
add esp, 4
cmp eax, ebx
je 0x10012f4d
push 0x12c
lea ecx, [esi + 0xac0]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov byte [esi + 0xbeb], bl
jmp 0x10012f5f
lea edx, [esi + 0xac0]
push str.Compress_Progress
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esp + 0x40]
mov dword [esi + 0x3dfc], eax
mov ecx, dword [esp + 0x44]
mov dword [esi + 0x3e00], ecx
mov edx, dword [esp + 0x38]
mov dword [esi + 0x3e08], edx
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x3e0c], eax
mov dword [esi + 0x8ac], ebx
mov eax, dword [esp + 0x2c]
cmp eax, ebx
jle 0x10013506
cmp eax, 7
jg 0x10013506
mov ax, word [esi + 0x4ef4]
test ah, 0x80
je 0x10013283
cmp dword [esp + 0x58], ebx
je 0x10012fbe
cmp dword [esp + 0x5c], ebx
jne 0x10012fc7
test ah, 0x40
je 0x10013283
test byte [esi + 0x4ef5], 0x40
mov dword [esi + 0xa8], 0xffffffff
je 0x1001313c
lea ecx, [esp + 0x908]
lea edx, [esp + 0x1908]
push ecx
lea eax, [esp + 0x210c]
push edx
push eax
lea ecx, [esp + 0x1114]
lea eax, [esi + 0x15f8]
push ecx
push eax
call fcn.10033490
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 0x14
lea edx, [esp + 0x1108]
lea eax, [esp + 0x108]
push edx
push eax
call edi
lea ecx, [esp + 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov cl, byte [esp + eax + 0x107]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp cl, 0x5c
je 0x10013054
lea edx, [esp + 0x108]
push 0x100596b4
push edx
call ebp
push ebx
lea eax, [esp + 0x108]
push ebx
lea ecx, [esp + 0x20]
push eax
push ecx
push ebx
push ebx
lea edx, [esp + 0x120]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x1001308c
cmp dword [esp + 0x18], 0xff
jb 0x1001308c
mov dword [esi + 0x8ac], 1
mov eax, dword [esi + 0x8ac]
push str..z01
cmp eax, ebx
je 0x100130a7
lea eax, [esp + 0x90c]
push eax
call ebp
jmp 0x100130b1
lea ecx, [esp + 0x90c]
push ecx
call edi
lea edx, [esp + 0x908]
lea eax, [esp + 0x1908]
push edx
lea ecx, [esp + 0x210c]
push eax
lea edx, [esp + 0x1110]
lea edi, [esi + 0xac]
push ecx
push edx
push edi
call fcn.10033640
add esp, 0x14
push ebx
push 0x80
push 2
push ebx
push ebx
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi + 0xa8], eax
jne 0x10013283
mov eax, dword [esp + 0x54]
push esi
push eax
push 0x1006161c
push 0xa
call fcn.1001b6b0
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x9c], ebx
push ecx
call fcn.10013610
add esp, 0x14
mov eax, 0xa
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28f8
ret 4
mov edx, dword [esp + 0x5c]
lea ebp, [esi + 0x1df8]
push edx
push ebp
call fcn.100174d0
push ebp
call fcn.1001fd40
mov edi, dword [esi + 0x914]
push esi
push eax
mov dword [esi + 0x914], ebx
call fcn.1001f1b0
add esp, 0x14
cmp eax, ebx
mov dword [esi + 0x914], edi
jne 0x10013243
push esi
push ebp
call fcn.1001f260
add esp, 8
cmp edx, ebx
jl 0x10013243
jg 0x10013196
cmp eax, 0x200000
jb 0x10013243
lea edi, [esi + 0xac]
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [eax + esi + 0xab], 0x5c
je 0x100131c1
push 0x100596b4
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x1c]
push str.__XXXXXX
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor edx, edx
mov ebp, 0x25
mov ecx, eax
div ebp
mov eax, 0xbacf914d
mov dl, byte [edx + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_]
mov byte [esp + 0x1c], dl
mul ecx
mov eax, ecx
mov ecx, ebp
sub eax, edx
shr eax, 1
add eax, edx
xor edx, edx
shr eax, 5
div ecx
lea eax, [esp + 0x1c]
push eax
push edi
mov dl, byte [edx + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_]
mov byte [esp + 0x25], dl
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push edi
call fcn.10044b30
add esp, 4
test eax, eax
je 0x10013243
push ebx
push 0x80
push 2
push ebx
push ebx
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 0xa8], eax
cmp dword [esi + 0xa8], 0xffffffff
jne 0x10013283
mov ecx, dword [esp + 0x54]
push esi
push ecx
push 0x1006161c
push 0xa
call fcn.1001b6b0
mov edx, dword [esp + 0x20]
mov dword [esi + 0x9c], ebx
push edx
call fcn.10013610
add esp, 0x14
mov eax, 0xa
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28f8
ret 4
mov eax, dword [esp + 0xe0]
mov dword [esi + 0x8d0], eax
mov dword [esi + 0x8d4], ebx
cmp dword [esp + 0xdc], ebx
je 0x100132c9
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x100132c9
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x100132c9
mov dword [esi + 0x8c0], 1
mov ecx, dword [esp + 0xdc]
mov dword [esi + 0x8d8], ecx
mov eax, dword [esp + 0xc8]
mov edi, 1
cmp eax, ebx
je 0x100132f9
mov edx, dword [eax + 4]
mov dword [esi + 0x908], edx
mov eax, dword [esp + 0xc8]
mov ecx, dword [eax + 8]
mov dword [esi + 0x90c], ecx
mov eax, dword [esp + 0xc8]
cmp dword [esi + 0x8f4], ebx
je 0x1001330a
cmp eax, ebx
je 0x10013340
cmp dword [eax + 4], ebx
je 0x10013340
cmp dword [esp + 0x2c], 6
jne 0x10013362
mov eax, dword [esi + 0x8c0]
mov dword [esi + 0x8ec], edi
cmp eax, ebx
jne 0x10013340
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jg 0x10013340
mov eax, dword [esp + 0xc8]
cmp eax, ebx
je 0x10013340
cmp dword [eax + 4], ebx
jne 0x10013362
mov edx, dword [esp + 0x54]
push esi
push edx
push 0x1006161c
push 0x10
call fcn.1001b6b0
mov eax, dword [esp + 0x20]
mov dword [esi + 0x9c], ebx
push eax
jmp 0x1001351f
cmp dword [esp + 0x2c], 7
jne 0x100133a4
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x100133ed
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x100133ed
mov eax, dword [esp + 0xc8]
cmp eax, ebx
je 0x100133ed
cmp dword [eax + 4], ebx
je 0x100133ed
mov dword [esi + 0x8d0], ebx
mov dword [esi + 0x8c0], edi
mov dword [esi + 0x8c4], edi
mov dword [esi + 0x8d4], ebx
test byte [esp + 0xc6], 4
je 0x100133cd
mov dword [esi + 0xab8], ebx
mov dword [esi + 0xab4], edi
mov eax, dword [esp + 0xc6]
and eax, 8
push eax
call fcn.10014c30
add esp, 4
mov eax, dword [esi + 0x8ec]
push esi
cmp eax, ebx
je 0x1001340f
lea ecx, [esp + 0x2c]
push ecx
call fcn.1001edf0
mov edi, eax
add esp, 8
mov dword [esp + 0x14], edi
jmp 0x10013422
mov ecx, dword [esp + 0x54]
push esi
push ecx
push 0x1006161c
push 0x10
call fcn.1001b6b0
mov edx, dword [esp + 0x20]
mov dword [esi + 0x9c], ebx
push edx
jmp 0x1001351f
lea edx, [esp + 0x2c]
push edx
call fcn.1001c800
add esp, 8
mov dword [esp + 0x14], eax
mov edi, eax
mov eax, dword [esi + 0xab0]
mov dword [esi + 0xab4], ebx
cmp eax, ebx
je 0x1001343d
call fcn.10014d60
mov dword [esi + 0xab8], ebx
mov eax, dword [esi + 0xa8]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp eax, 0xffffffff
je 0x10013471
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test byte [esi + 0x4ef5], 0x40
jne 0x10013467
lea eax, [esi + 0xac]
push eax
call ebp
mov dword [esi + 0xa8], 0xffffffff
cmp edi, ebx
je 0x1001349f
test byte [esi + 0x4ef5], 0x40
je 0x1001349f
lea edi, [esi + 0x15f8]
push 1
push edi
call fcn.1001b360
add esp, 8
lea ecx, [esi + 0xac]
push ecx
call ebp
push edi
call ebp
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x54]
push esi
push edx
push 0x1006161c
push edi
call fcn.1001b6b0
mov eax, dword [esp + 0x20]
mov dword [esi + 0x9c], ebx
push eax
call fcn.10013610
mov eax, dword [esi + 0x4eb8]
add esp, 0x14
cmp eax, ebx
je 0x100134de
mov ecx, eax
push ecx
call fcn.10039f0f
add esp, 4
mov dword [esi + 0x4eb8], ebx
mov eax, dword [esi + 0x4ee4]
cmp eax, ebx
je 0x100134f7
push eax
call fcn.10039f0f
add esp, 4
mov dword [esi + 0x4ee4], ebx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28f8
ret 4
mov edx, dword [esp + 0x54]
push esi
push edx
push 0x1006161c
push 0x10
call fcn.1001b6b0
mov dword [esi + 0x9c], ebx
push edi
call fcn.10013610
add esp, 0x14
mov eax, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28f8
ret 4