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

Disassembly:
mov eax, 0x214c
call fcn.005aa170
mov eax, dword [0x69e3d4]
xor eax, esp
mov dword [esp + 0x2144], eax
mov eax, dword [0x6bcee8]
push ebx
push ebp
xor ebx, ebx
cmp eax, ebx
push esi
push edi
je 0x4b3de2
cmp dword [eax + 0x24], 1
jb 0x4b3de2
lea eax, [esp + 0x2048]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x4b3dd7
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 0x4b3dd7
lea eax, [esp + 0x2048]
push 0x658f34
push eax
call fcn.005a6c42
mov esi, eax
add esp, 8
cmp esi, ebx
mov dword [esp + 0x3c], esi
je 0x4b3de2
call fcn.004b1a80
test eax, eax
jne 0x4b3557
push esi
call fcn.005a6e16
add esp, 4
lea ecx, [esp + 0x2048]
push ecx
call dword [sym.imp.kernel32.dll_DeleteFileA]
jmp 0x4b3de2
push 0x100
call fcn.005a854a
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.004b19d0
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.005ab440
add esp, 0xc
push 0x800
lea eax, [esp + 0x84c]
push ebx
push eax
call fcn.005ab440
mov edx, dword [0x6bcf14]
add esp, 0xc
xor edi, edi
cmp edx, ebx
jbe 0x4b36bc
mov dword [esp + 0x28], ebx
mov eax, edi
call fcn.004b19d0
mov esi, dword [0x6bcf18]
mov edx, dword [0x6bcf14]
mov ebp, dword [0x6bcf24]
xor ebx, ebx
test esi, esi
jle 0x4b36aa
jmp 0x4b3610
cmp edi, dword [ebp + ebx*4]
jne 0x4b369f
xor ecx, ecx
lea eax, [esi - 1]
cmp ebx, eax
mov dword [esp + 0x20], ecx
jge 0x4b362d
mov eax, dword [ebp + ebx*4 + 4]
jmp 0x4b362f
mov eax, edx
add eax, 0xffffffff
cmp edi, eax
jge 0x4b368a
mov ecx, dword [0x6bcf20]
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 0x4b366c
movzx ebp, word [ecx - 8]
lea eax, [eax + eax*4]
add eax, eax
cdq
idiv ebp
test eax, eax
jle 0x4b366c
add dword [esp + 0x20], 1
add ecx, 0x14
sub esi, 1
jne 0x4b3648
mov ecx, dword [esp + 0x20]
mov ebp, dword [0x6bcf24]
mov esi, dword [0x6bcf18]
mov edx, dword [0x6bcf14]
cmp ecx, dword [esp + 0x18]
jle 0x4b3694
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x38], 0xffffffff
jne 0x4b369f
mov dword [esp + 0x38], ecx
add ebx, 1
cmp ebx, esi
jl 0x4b3610
add dword [esp + 0x28], 0x14
add edi, 1
cmp edi, edx
jb 0x4b35e5
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x1c], edi
xor ebx, ebx
test edx, edx
mov dword [esp + 0x24], ebx
jbe 0x4b383a
mov dword [esp + 0x2c], ebx
mov eax, ebx
call fcn.004b19d0
mov ebp, dword [0x6bcf18]
test ebp, ebp
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], 0
jle 0x4b3820
jmp 0x4b3700
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, dword [0x6bcf24]
cmp eax, dword [edi + ecx*4]
jne 0x4b3b45
xor esi, esi
push 0x800
lea edx, [esp + 0x104c]
push esi
push edx
mov dword [esp + 0x2c], esi
call fcn.005ab440
add esp, 0xc
push 0x800
lea eax, [esp + 0x184c]
push esi
push eax
call fcn.005ab440
mov eax, dword [esp + 0x34]
add ebp, 0xffffffff
add esp, 0xc
cmp eax, ebp
jge 0x4b375a
mov eax, dword [edi + eax*4 + 4]
jmp 0x4b375f
mov eax, dword [0x6bcf14]
mov ebx, dword [esp + 0x24]
add eax, 0xffffffff
cmp ebx, eax
jge 0x4b37cd
mov ecx, dword [0x6bcf20]
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 0x4b37c1
movzx ebp, word [ecx + 0xc]
lea eax, [eax + eax*4]
add eax, eax
cdq
idiv ebp
test eax, eax
jle 0x4b37c1
cmp esi, 0x200
jge 0x4b37c1
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 0x4b3780
mov dword [esp + 0x20], esi
mov edi, dword [esp + 0x1c]
test edi, edi
jne 0x4b399e
cmp esi, dword [esp + 0x18]
jne 0x4b3b45
cmp dword [esp + 0x30], edi
jne 0x4b3820
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 [0x6bcf14]
add dword [esp + 0x2c], 0x14
add ebx, 1
cmp ebx, edx
mov dword [esp + 0x24], ebx
jb 0x4b36d4
add edi, 1
cmp edi, 3
mov dword [esp + 0x1c], edi
jl 0x4b36c2
xor eax, eax
cmp edx, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], 1
mov dword [esp + 0x24], eax
jbe 0x4b3d20
mov dword [esp + 0x1c], eax
jmp 0x4b3870
mov eax, dword [esp + 0x24]
call fcn.004b19d0
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 0x4b393b
mov ecx, dword [0x6bcf20]
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 0x4b393b
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 0x4b390a
mov edx, dword [esp + esi*4 + 0x48]
mov eax, ebx
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, edi
jle 0x4b390a
mov ebp, dword [esp + esi*4 + 0x848]
mov eax, ecx
sub eax, ebp
cdq
xor eax, edx
sub eax, edx
cmp eax, edi
jle 0x4b390a
cmp ebx, dword [esp + esi*4 + 0x48]
jle 0x4b3901
cmp ecx, ebp
jl 0x4b390a
add esi, 1
cmp esi, dword [esp + 0x18]
jl 0x4b38d2
mov ecx, 1
sub ecx, dword [esp + 0x14]
add esi, ecx
test esi, esi
jle 0x4b3933
mov ebx, dword [esp + 0x3c]
mov edi, esi
nop
push 0x64fed8
push ebx
call fcn.005a6c55
add esp, 8
sub edi, 1
jne 0x4b3920
add dword [esp + 0x14], esi
mov ebp, dword [esp + 0x38]
lea edx, [esp + 0x20]
push edx
push 0x659064
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 0x4b3b63
mov ecx, dword [esp + 0x40]
lea eax, [esi + 0x100]
push eax
push ecx
mov dword [esp + 0x4c], eax
call fcn.005a70bf
mov ebx, eax
add esp, 8
mov dword [esp + 0x40], ebx
jmp 0x4b3b67
cmp edi, 1
jne 0x4b39ae
cmp esi, dword [esp + 0x18]
jl 0x4b39bb
jmp 0x4b3b45
cmp edi, 2
jne 0x4b3b45
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 0x4b3b45
jmp 0x4b39f0
xor ecx, ecx
cmp dword [esp + 0x18], ecx
jle 0x4b3a79
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 0x4b3a56
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 0x4b3a56
cmp ebp, ebx
jge 0x4b3a45
cmp esi, edi
jg 0x4b3a56
cmp ebp, ebx
jle 0x4b3a4b
cmp esi, edi
jl 0x4b3a56
add ecx, 1
cmp ecx, dword [esp + 0x18]
jl 0x4b3a07
jmp 0x4b3a79
cmp ebp, ebx
jge 0x4b3a5e
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 0x4b3a79
mov dword [esp + ecx*4 + 0x848], eax
cmp dword [esp + 0x1c], 2
jne 0x4b3b30
mov eax, dword [esp + 0x18]
cmp ecx, eax
jl 0x4b3b30
xor esi, esi
test eax, eax
jle 0x4b3b08
mov ecx, dword [esp + 0x14]
mov ecx, dword [esp + ecx*4 + 0x1048]
cmp ecx, dword [esp + esi*4 + 0x48]
jl 0x4b3ab0
add esi, 1
cmp esi, eax
jl 0x4b3aa1
jmp 0x4b3b08
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.005a8cf0
add esp, 0xc
push edi
lea ebx, [esp + esi*4 + 0x84c]
lea eax, [esp + esi*4 + 0x850]
push ebx
push eax
call fcn.005a8cf0
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 0x4b3b30
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 0x4b39f0
mov eax, dword [esp + 0x28]
mov ebp, dword [0x6bcf18]
add eax, 1
cmp eax, ebp
mov dword [esp + 0x28], eax
jl 0x4b3700
jmp 0x4b3818
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.005af524
mov ecx, dword [0x6bcf14]
add ecx, 0xffffffff
add esp, 8
cmp dword [esp + 0x24], ecx
jae 0x4b3d04
mov ecx, dword [0x6bcf20]
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 0x4b3bd7
mov dword [esp + 0x30], ebp
fild dword [esp + 0x30]
cdq
mov ebp, eax
xor ebp, edx
fmul qword [0x65d248]
sub ebp, edx
fadd qword [0x65d220]
call fcn.005ab4c0
cmp ebp, eax
jg 0x4b3c9d
mov ecx, dword [esp + 0x1c]
mov edx, dword [0x6bcf20]
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 0x4b3d04
movzx ecx, word [ecx + edx + 0x26]
mov edi, dword [eax]
add ecx, edi
cmp dword [esp + 0x18], esi
jle 0x4b3c6f
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 0x4b3c6f
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 0x4b3c6f
cmp edi, ebp
jle 0x4b3c66
cmp ecx, ebx
jl 0x4b3c6f
add esi, 1
cmp esi, dword [esp + 0x18]
jl 0x4b3c35
mov edx, 1
sub edx, dword [esp + 0x14]
add esi, edx
test esi, esi
jle 0x4b3c97
mov ebx, dword [esp + 0x3c]
mov edi, esi
push 0x64fed8
push ebx
call fcn.005a6c55
add esp, 8
sub edi, 1
jne 0x4b3c84
add dword [esp + 0x14], esi
jmp 0x4b3d04
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 0x4b3cea
fild dword [esp + 0x30]
fidiv dword [esp + 0x34]
call fcn.005ab4c0
cmp eax, 1
jl 0x4b3d04
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x14], 0
mov esi, eax
push edi
push 0x64a380
call fcn.005af524
add esp, 8
sub esi, 1
jne 0x4b3cd5
jmp 0x4b3d04
mov eax, dword [esp + 0x3c]
push eax
push 0x64a380
mov dword [esp + 0x1c], 0
call fcn.005af524
add esp, 8
mov eax, dword [esp + 0x24]
add dword [esp + 0x1c], 0x14
add eax, 1
cmp eax, dword [0x6bcf14]
mov dword [esp + 0x24], eax
jb 0x4b3870
mov ecx, dword [0x6bcf24]
push ecx
call fcn.005a8a7b
mov edx, dword [0x6bcf20]
add esp, 4
xor ebx, ebx
push edx
mov dword [0x6bcf24], ebx
call fcn.005a8a7b
mov eax, dword [0x6bcf1c]
add esp, 4
cmp eax, ebx
mov dword [0x6bcf20], ebx
je 0x4b3d5e
push eax
call fcn.005a6e16
add esp, 4
mov eax, dword [esp + 0x40]
push eax
mov dword [0x6bcf1c], ebx
call fcn.005a8a7b
mov ebp, dword [esp + 0x40]
add esp, 4
push ebp
call fcn.005a9537
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 0x4b3dbc
push esi
call dword [sym.imp.kernel32.dll_GlobalLock]
push ebp
mov ebx, eax
call fcn.005af666
add esp, 4
push ebp
push edi
push 1
push ebx
call fcn.005a9841
add esp, 0x10
push esi
mov byte [ebx + edi], 0
call dword [sym.imp.kernel32.dll_GlobalUnlock]
push ebp
call fcn.005a6e16
add esp, 4
lea edx, [esp + 0x2048]
push edx
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov eax, esi
jmp 0x4b3de4
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.005a58d9
add esp, 0x214c
ret