Function at 0x4b0b40
Capabilities:
Delete file
Get common file path
Print debug messages
Read file on windows

Disassembly:
mov eax, 0x214c
call fcn.005a28e0
mov eax, dword [0x6963f4]
xor eax, esp
mov dword [esp + 0x2144], eax
mov eax, dword [0x6b4220]
push ebx
push ebp
xor ebx, ebx
cmp eax, ebx
push esi
push edi
je 0x4b1482
cmp dword [eax + 0x24], 1
jb 0x4b1482
lea eax, [esp + 0x2048]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x4b1477
lea ecx, [esp + 0x2048]
push ecx
push ebx
push str.TxSnp
mov edx, ecx
push edx
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
test eax, eax
je 0x4b1477
lea eax, [esp + 0x2048]
push 0x65140c
push eax
call fcn.0059f606
mov esi, eax
add esp, 8
cmp esi, ebx
mov dword [esp + 0x3c], esi
je 0x4b1482
call fcn.004af120
test eax, eax
jne 0x4b0bf7
push esi
call fcn.0059f7da
add esp, 4
lea ecx, [esp + 0x2048]
push ecx
call dword [sym.imp.kernel32.dll_DeleteFileA]
jmp 0x4b1482
push 0x100
call fcn.005a0b1e
add esp, 4
push ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0x100
call dword [sym.imp.user32.dll_GetDC]
mov edi, dword [sym.imp.gdi32.dll_GetDeviceCaps]
mov esi, eax
push 0x58
push esi
call edi
push 0x5a
push esi
call edi
push esi
push ebx
call dword [sym.imp.user32.dll_ReleaseDC]
xor eax, eax
call fcn.004af070
push 0x800
lea edx, [esp + 0x4c]
push ebx
push edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x44], 0xffffffff
call fcn.005a3bb0
add esp, 0xc
push 0x800
lea eax, [esp + 0x84c]
push ebx
push eax
call fcn.005a3bb0
mov edx, dword [0x6b424c]
add esp, 0xc
xor edi, edi
cmp edx, ebx
jbe 0x4b0d5c
mov dword [esp + 0x28], ebx
mov eax, edi
call fcn.004af070
mov esi, dword [0x6b4250]
mov edx, dword [0x6b424c]
mov ebp, dword [0x6b425c]
xor ebx, ebx
test esi, esi
jle 0x4b0d4a
jmp 0x4b0cb0
cmp edi, dword [ebp + ebx*4]
jne 0x4b0d3f
xor ecx, ecx
lea eax, [esi - 1]
cmp ebx, eax
mov dword [esp + 0x20], ecx
jge 0x4b0ccd
mov eax, dword [ebp + ebx*4 + 4]
jmp 0x4b0ccf
mov eax, edx
add eax, 0xffffffff
cmp edi, eax
jge 0x4b0d2a
mov ecx, dword [0x6b4258]
mov edx, dword [esp + 0x28]
sub eax, edi
lea ecx, [edx + ecx + 0x18]
mov esi, eax
movzx edx, word [ecx - 6]
mov eax, dword [ecx]
sub eax, edx
sub eax, dword [ecx - 0x14]
test eax, eax
jle 0x4b0d0c
movzx ebp, word [ecx - 8]
lea eax, [eax + eax*4]
add eax, eax
cdq
idiv ebp
test eax, eax
jle 0x4b0d0c
add dword [esp + 0x20], 1
add ecx, 0x14
sub esi, 1
jne 0x4b0ce8
mov ecx, dword [esp + 0x20]
mov ebp, dword [0x6b425c]
mov esi, dword [0x6b4250]
mov edx, dword [0x6b424c]
cmp ecx, dword [esp + 0x18]
jle 0x4b0d34
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x38], 0xffffffff
jne 0x4b0d3f
mov dword [esp + 0x38], ecx
add ebx, 1
cmp ebx, esi
jl 0x4b0cb0
add dword [esp + 0x28], 0x14
add edi, 1
cmp edi, edx
jb 0x4b0c85
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x1c], edi
xor ebx, ebx
test edx, edx
mov dword [esp + 0x24], ebx
jbe 0x4b0eda
mov dword [esp + 0x2c], ebx
mov eax, ebx
call fcn.004af070
mov ebp, dword [0x6b4250]
test ebp, ebp
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], 0
jle 0x4b0ec0
jmp 0x4b0da0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, dword [0x6b425c]
cmp eax, dword [edi + ecx*4]
jne 0x4b11e5
xor esi, esi
push 0x800
lea edx, [esp + 0x104c]
push esi
push edx
mov dword [esp + 0x2c], esi
call fcn.005a3bb0
add esp, 0xc
push 0x800
lea eax, [esp + 0x184c]
push esi
push eax
call fcn.005a3bb0
mov eax, dword [esp + 0x34]
add ebp, 0xffffffff
add esp, 0xc
cmp eax, ebp
jge 0x4b0dfa
mov eax, dword [edi + eax*4 + 4]
jmp 0x4b0dff
mov eax, dword [0x6b424c]
mov ebx, dword [esp + 0x24]
add eax, 0xffffffff
cmp ebx, eax
jge 0x4b0e6d
mov ecx, dword [0x6b4258]
mov edx, dword [esp + 0x2c]
sub eax, ebx
lea ecx, [edx + ecx + 4]
mov edi, eax
lea esp, [esp]
movzx edx, word [ecx + 0xe]
mov eax, dword [ecx + 0x14]
sub eax, edx
sub eax, dword [ecx]
test eax, eax
jle 0x4b0e61
movzx ebp, word [ecx + 0xc]
lea eax, [eax + eax*4]
add eax, eax
cdq
idiv ebp
test eax, eax
jle 0x4b0e61
cmp esi, 0x200
jge 0x4b0e61
movzx edx, word [ecx + 0x22]
mov eax, dword [ecx + 0x14]
add edx, eax
mov dword [esp + esi*4 + 0x1048], eax
mov dword [esp + esi*4 + 0x1848], edx
add esi, 1
add ecx, 0x14
sub edi, 1
jne 0x4b0e20
mov dword [esp + 0x20], esi
mov edi, dword [esp + 0x1c]
test edi, edi
jne 0x4b103e
cmp esi, dword [esp + 0x18]
jne 0x4b11e5
cmp dword [esp + 0x30], edi
jne 0x4b0ec0
mov edx, dword [esp + 0x20]
mov ecx, 0x200
lea esi, [esp + 0x1048]
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x200
lea esi, [esp + 0x1848]
lea edi, [esp + 0x848]
mov dword [esp + 0x30], edx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov edx, dword [0x6b424c]
add dword [esp + 0x2c], 0x14
add ebx, 1
cmp ebx, edx
mov dword [esp + 0x24], ebx
jb 0x4b0d74
add edi, 1
cmp edi, 3
mov dword [esp + 0x1c], edi
jl 0x4b0d62
xor eax, eax
cmp edx, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], 1
mov dword [esp + 0x24], eax
jbe 0x4b13c0
mov dword [esp + 0x1c], eax
jmp 0x4b0f10
mov eax, dword [esp + 0x24]
call fcn.004af070
mov ebp, eax
movzx ecx, word [ebp + 0x68]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], edi
je 0x4b0fdb
mov ecx, dword [0x6b4258]
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + ecx + 4]
lea eax, [eax + ecx + 4]
add edx, edi
cmp edx, dword [esp + 0x48]
jl 0x4b0fdb
mov ebx, dword [eax]
mov eax, dword [esp + 0x1c]
movzx ecx, word [eax + ecx + 0x12]
xor esi, esi
add ecx, ebx
cmp dword [esp + 0x18], esi
jle 0x4b0faa
mov edx, dword [esp + esi*4 + 0x48]
mov eax, ebx
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, edi
jle 0x4b0faa
mov ebp, dword [esp + esi*4 + 0x848]
mov eax, ecx
sub eax, ebp
cdq
xor eax, edx
sub eax, edx
cmp eax, edi
jle 0x4b0faa
cmp ebx, dword [esp + esi*4 + 0x48]
jle 0x4b0fa1
cmp ecx, ebp
jl 0x4b0faa
add esi, 1
cmp esi, dword [esp + 0x18]
jl 0x4b0f72
mov ecx, 1
sub ecx, dword [esp + 0x14]
add esi, ecx
test esi, esi
jle 0x4b0fd3
mov ebx, dword [esp + 0x3c]
mov edi, esi
nop
push 0x6483b0
push ebx
call fcn.0059f619
add esp, 8
sub edi, 1
jne 0x4b0fc0
add dword [esp + 0x14], esi
mov ebp, dword [esp + 0x38]
lea edx, [esp + 0x20]
push edx
push 0x65153c
mov dword [esp + 0x28], 0
movzx eax, word [ebp]
push 0
push 0
add eax, 1
push eax
lea edi, [ebp + 0x6c]
push edi
push 0x400
call dword [sym.imp.kernel32.dll_GetACP]
push eax
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov esi, eax
cmp dword [esp + 0x44], esi
jg 0x4b1203
mov ecx, dword [esp + 0x40]
lea eax, [esi + 0x100]
push eax
push ecx
mov dword [esp + 0x4c], eax
call fcn.0059f2ae
mov ebx, eax
add esp, 8
mov dword [esp + 0x40], ebx
jmp 0x4b1207
cmp edi, 1
jne 0x4b104e
cmp esi, dword [esp + 0x18]
jl 0x4b105b
jmp 0x4b11e5
cmp edi, 2
jne 0x4b11e5
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x38]
movzx ecx, word [eax + 0x68]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
test esi, esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], 0
jle 0x4b11e5
jmp 0x4b1090
xor ecx, ecx
cmp dword [esp + 0x18], ecx
jle 0x4b1119
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + edx*4 + 0x1048]
mov ebx, dword [esp + ecx*4 + 0x48]
mov eax, ebp
sub eax, ebx
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [esp + 0x34]
jle 0x4b10f6
mov eax, dword [esp + 0x14]
mov esi, dword [esp + eax*4 + 0x1848]
mov edi, dword [esp + ecx*4 + 0x848]
mov eax, esi
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [esp + 0x34]
jle 0x4b10f6
cmp ebp, ebx
jge 0x4b10e5
cmp esi, edi
jg 0x4b10f6
cmp ebp, ebx
jle 0x4b10eb
cmp esi, edi
jl 0x4b10f6
add ecx, 1
cmp ecx, dword [esp + 0x18]
jl 0x4b10a7
jmp 0x4b1119
cmp ebp, ebx
jge 0x4b10fe
mov dword [esp + ecx*4 + 0x48], ebp
mov edx, dword [esp + 0x14]
mov eax, dword [esp + edx*4 + 0x1848]
cmp eax, dword [esp + ecx*4 + 0x848]
jle 0x4b1119
mov dword [esp + ecx*4 + 0x848], eax
cmp dword [esp + 0x1c], 2
jne 0x4b11d0
mov eax, dword [esp + 0x18]
cmp ecx, eax
jl 0x4b11d0
xor esi, esi
test eax, eax
jle 0x4b11a8
mov ecx, dword [esp + 0x14]
mov ecx, dword [esp + ecx*4 + 0x1048]
cmp ecx, dword [esp + esi*4 + 0x48]
jl 0x4b1150
add esi, 1
cmp esi, eax
jl 0x4b1141
jmp 0x4b11a8
mov edi, dword [esp + 0x18]
sub edi, esi
add edi, edi
add edi, edi
push edi
lea ebp, [esp + esi*4 + 0x4c]
lea edx, [esp + esi*4 + 0x50]
push ebp
push edx
call fcn.005a1460
add esp, 0xc
push edi
lea ebx, [esp + esi*4 + 0x84c]
lea eax, [esp + esi*4 + 0x850]
push ebx
push eax
call fcn.005a1460
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + ecx*4 + 0x1054]
mov dword [ebp], eax
mov edx, ecx
mov eax, dword [esp + edx*4 + 0x1854]
add esp, 0xc
add dword [esp + 0x18], 1
mov dword [ebx], eax
mov eax, dword [esp + 0x18]
cmp esi, eax
jne 0x4b11d0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + ecx*4 + 0x1048]
mov ecx, dword [esp + ecx*4 + 0x1848]
add eax, 1
mov dword [esp + esi*4 + 0x48], edx
mov dword [esp + esi*4 + 0x848], ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
jl 0x4b1090
mov eax, dword [esp + 0x28]
mov ebp, dword [0x6b4250]
add eax, 1
cmp eax, ebp
mov dword [esp + 0x28], eax
jl 0x4b0da0
jmp 0x4b0eb8
mov ebx, dword [esp + 0x40]
movzx edx, word [ebp]
push 0
push 0
push esi
push ebx
add edx, 1
push edx
push edi
push 0
call dword [sym.imp.kernel32.dll_GetACP]
push eax
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov eax, dword [esp + 0x3c]
push eax
push ebx
mov byte [esi + ebx - 1], 0
call fcn.005a7ce9
mov ecx, dword [0x6b424c]
add ecx, 0xffffffff
add esp, 8
cmp dword [esp + 0x24], ecx
jae 0x4b13a4
mov ecx, dword [0x6b4258]
mov edx, dword [esp + 0x1c]
mov ebx, dword [edx + ecx + 8]
movzx esi, word [edx + ecx + 0xc]
movzx ebp, word [edx + ecx + 0x20]
mov edi, dword [edx + ecx + 0x1c]
mov eax, ebx
sub eax, edi
cmp esi, ebp
mov dword [esp + 0x30], esi
jl 0x4b1277
mov dword [esp + 0x30], ebp
fild dword [esp + 0x30]
cdq
mov ebp, eax
xor ebp, edx
fmul qword [0x655790]
sub ebp, edx
fadd qword [0x655768]
call fcn.005a3c30
cmp ebp, eax
jg 0x4b133d
mov ecx, dword [esp + 0x1c]
mov edx, dword [0x6b4258]
movzx edi, word [ecx + edx + 0x12]
mov ebx, dword [ecx + edx + 0x18]
lea eax, [ecx + edx + 0x18]
sub ebx, edi
sub ebx, dword [ecx + edx + 4]
xor esi, esi
test ebx, ebx
mov dword [esp + 0x2c], esi
jle 0x4b13a4
movzx ecx, word [ecx + edx + 0x26]
mov edi, dword [eax]
add ecx, edi
cmp dword [esp + 0x18], esi
jle 0x4b130f
mov ebp, dword [esp + esi*4 + 0x48]
mov eax, edi
sub eax, ebp
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [esp + 0x34]
jle 0x4b130f
mov ebx, dword [esp + esi*4 + 0x848]
mov eax, ecx
sub eax, ebx
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [esp + 0x34]
jle 0x4b130f
cmp edi, ebp
jle 0x4b1306
cmp ecx, ebx
jl 0x4b130f
add esi, 1
cmp esi, dword [esp + 0x18]
jl 0x4b12d5
mov edx, 1
sub edx, dword [esp + 0x14]
add esi, edx
test esi, esi
jle 0x4b1337
mov ebx, dword [esp + 0x3c]
mov edi, esi
push 0x6483b0
push ebx
call fcn.0059f619
add esp, 8
sub edi, 1
jne 0x4b1324
add dword [esp + 0x14], esi
jmp 0x4b13a4
mov eax, edi
sub eax, ebx
cmp esi, eax
mov dword [esp + 0x2c], 1
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], eax
jge 0x4b138a
fild dword [esp + 0x30]
fidiv dword [esp + 0x34]
call fcn.005a3c30
cmp eax, 1
jl 0x4b13a4
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x14], 0
mov esi, eax
push edi
push 0x6428d8
call fcn.005a7ce9
add esp, 8
sub esi, 1
jne 0x4b1375
jmp 0x4b13a4
mov eax, dword [esp + 0x3c]
push eax
push 0x6428d8
mov dword [esp + 0x1c], 0
call fcn.005a7ce9
add esp, 8
mov eax, dword [esp + 0x24]
add dword [esp + 0x1c], 0x14
add eax, 1
cmp eax, dword [0x6b424c]
mov dword [esp + 0x24], eax
jb 0x4b0f10
mov ecx, dword [0x6b425c]
push ecx
call fcn.005a01b3
mov edx, dword [0x6b4258]
add esp, 4
xor ebx, ebx
push edx
mov dword [0x6b425c], ebx
call fcn.005a01b3
mov eax, dword [0x6b4254]
add esp, 4
cmp eax, ebx
mov dword [0x6b4258], ebx
je 0x4b13fe
push eax
call fcn.0059f7da
add esp, 4
mov eax, dword [esp + 0x40]
push eax
mov dword [0x6b4254], ebx
call fcn.005a01b3
mov ebp, dword [esp + 0x40]
add esp, 4
push ebp
call fcn.005a1e04
mov edi, eax
add esp, 4
lea ecx, [edi + 1]
push ecx
push 2
call dword [sym.imp.kernel32.dll_GlobalAlloc]
mov esi, eax
cmp esi, ebx
je 0x4b145c
push esi
call dword [sym.imp.kernel32.dll_GlobalLock]
push ebp
mov ebx, eax
call fcn.005a7e2b
add esp, 4
push ebp
push edi
push 1
push ebx
call fcn.005a210e
add esp, 0x10
push esi
mov byte [ebx + edi], 0
call dword [sym.imp.kernel32.dll_GlobalUnlock]
push ebp
call fcn.0059f7da
add esp, 4
lea edx, [esp + 0x2048]
push edx
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov eax, esi
jmp 0x4b1484
push str.Cannot_get_temp_path_in_ProcessCaptureTabDelimited___r_n
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
xor eax, eax
mov ecx, dword [esp + 0x2154]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0059e0c2
add esp, 0x214c
ret