Function at 0x44f4e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0xdc
mov eax, dword [ebp + 0x10]
mov dword [ecx + 8], 0
mov dword [ecx + 0x14], 0x5f7354
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 0x1c], 0xffffffff
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov byte [ecx + 0x18], 0
mov dword [ecx + 4], eax
lea eax, [ecx + 8]
mov dword [esp], 0x40000
mov dword [ebp - 0xb0], eax
call sub.msvcrt.dll_malloc
test eax, eax
je 0x44fcb6
mov dword [ebx + 0x20], eax
mov esi, eax
mov dword [esp], 0x10000
call sub.msvcrt.dll_malloc
test eax, eax
je 0x44fdd0
mov dword [ebx + 0x2c], eax
mov dword [esp], 0x40000
call sub.msvcrt.dll_malloc
test eax, eax
je 0x44fcb6
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], eax
mov byte [eax], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.0042e440
mov eax, dword [ebx + 0x2c]
mov esi, dword [sym.imp.USER32.dll_CharToOemW]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x20]
mov dword [esp], eax
call esi
sub esp, 8
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov byte [ebx + 0x38], 1
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov byte [ebx + 0x48], 1
mov dword [ebx + 0x78], 0x5f7354
mov dword [ebx + 0x80], 0xffffffff
mov byte [ebx + 0x7c], 0
mov dword [esp], 0x40000
call sub.msvcrt.dll_malloc
mov edi, eax
test eax, eax
je 0x44fd72
mov dword [ebx + 0x84], eax
mov dword [esp], 0x10000
call sub.msvcrt.dll_malloc
test eax, eax
je 0x44fe02
mov dword [ebx + 0x90], eax
mov dword [esp], 0x40000
call sub.msvcrt.dll_malloc
test eax, eax
je 0x44fd72
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x8c], eax
mov byte [eax], 0
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.0042e440
mov eax, dword [ebx + 0x90]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x84]
mov dword [esp], eax
call esi
sub esp, 8
mov byte [ebx + 0x98], 0
mov dword [ebx + 0x94], 0x5f7354
mov dword [ebx + 0x9c], 0xffffffff
mov dword [esp], 0x40000
call sub.msvcrt.dll_malloc
mov edi, eax
test eax, eax
je 0x44fd14
mov dword [ebx + 0xa0], eax
mov dword [esp], 0x10000
call sub.msvcrt.dll_malloc
test eax, eax
je 0x44fe6e
mov dword [ebx + 0xac], eax
mov dword [esp], 0x40000
call sub.msvcrt.dll_malloc
test eax, eax
je 0x44fd14
mov dword [ebx + 0xa4], eax
mov dword [ebx + 0xa8], eax
mov byte [eax], 0
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.0042e440
mov eax, dword [ebx + 0xac]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0xa0]
mov dword [esp], eax
call esi
mov eax, dword [ebp + 0x14]
sub esp, 8
mov dword [0x68eb40], ebx
mov dword [ebx + 0x400c8], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x40034]
mov dword [esp], eax
call fcn.0042e8f0
call fcn.0042eb60
mov dword [esp], eax
call fcn.00432390
mov ecx, ebx
call fcn.0044e2c0
mov edi, dword [ebx + 4]
mov edx, dword [ebx + 0x40]
mov eax, dword [edi]
mov dword [ebp - 0xbc], edx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x4001c]
mov eax, dword [eax + 4]
mov byte [ebp - 0x9c], 0
mov dword [ebp - 0xa0], 0x5f7354
mov dword [ebp - 0xb8], ecx
mov ecx, dword [ebx + 0x44]
mov dword [esp], 0x40000
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0x98], 0xffffffff
call sub.msvcrt.dll_malloc
mov dword [ebp - 0xac], eax
test eax, eax
je 0x44fc7c
mov dword [esp], 0x10000
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x94], eax
call sub.msvcrt.dll_malloc
test eax, eax
je 0x44fe34
mov dword [esp], 0x40000
mov dword [ebp - 0x88], eax
call sub.msvcrt.dll_malloc
test eax, eax
je 0x44fc7c
mov edx, dword [ebp - 0xac]
mov byte [eax], 0
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
call fcn.0042e440
mov eax, dword [ebp - 0x88]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x94]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0xc0]
sub esp, 8
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp], eax
call sub.msvcrt.dll_strcpy
mov eax, dword [ebp - 0x94]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x90]
mov dword [esp], eax
call fcn.0042e440
mov eax, dword [ebp - 0x88]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x94]
mov dword [esp], eax
call esi
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xbc]
sub esp, 8
mov eax, dword [ebx]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp - 0xc4]
mov dword [esp + 0x10], edx
mov edx, dword [ebp - 0x88]
mov dword [esp + 0xc], ecx
mov ecx, edi
mov dword [esp + 8], edx
mov edx, dword [eax + 0x40078]
mov dword [esp + 4], edx
movsx eax, byte [eax]
mov dword [esp], eax
mov eax, dword [ebp - 0xb4]
call eax
mov dword [ebp - 0xa0], 0x5f7354
mov esi, eax
sub esp, 0x18
mov eax, dword [ebp - 0x98]
test eax, eax
jns 0x44fa70
cmp byte [ebp - 0x9c], 0
mov eax, dword [ebp - 0x94]
je 0x44f8ca
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__wremove]
lea eax, [ebp - 0xa0]
mov dword [esp], eax
call fcn.0042f270
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x90], eax
je 0x44f8da
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [ebp - 0x90]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, esi
test al, al
je 0x44faf8
mov ecx, dword [ebx + 4]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov esi, dword [ebx + 0x88]
cmp eax, esi
je 0x44f924
mov dword [esp], esi
mov dword [esp + 4], eax
call sub.msvcrt.dll_strcpy
mov esi, dword [ebx + 0x88]
mov dword [esp], esi
call sub.msvcrt.dll_strlen
cmp byte [esi], 0
lea edi, [esi + eax]
je 0x44f950
movsx eax, byte [edi - 1]
mov dword [esp], 0x5a700e
mov dword [esp + 4], eax
call sub.msvcrt.dll_strchr
test eax, eax
je 0x44fc5f
mov dword [ebx + 0x8c], edi
mov edi, dword [ebx + 0x30]
xor esi, esi
test edi, edi
jg 0x44fa5c
lea esi, [esi]
nop
mov ecx, dword [ebx + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
cmp eax, 0x4c69b0
jne 0x44fbc8
mov eax, dword [ecx + 0x40010]
mov edx, dword [ecx + 0x40014]
cmp byte [ebp - 0xc8], 0
mov dword [ebx + 0x400c0], eax
mov dword [ebx + 0x400c4], edx
mov dword [ebx + 0x400b8], 0
mov dword [ebx + 0x400bc], 0
je 0x44f9da
mov ecx, dword [ebx + 0x30]
test ecx, ecx
jle 0x44f9da
xor esi, esi
lea esi, [esi]
mov edx, dword [ebx + 0x34]
lea eax, [esi + esi*4]
lea eax, [edx + eax*8]
cmp dword [eax], 3
je 0x44fbe8
add esi, 1
cmp dword [ebx + 0x30], esi
jg 0x44f9c0
mov ecx, dword [ebx + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
cmp eax, 0x4c70b0
jne 0x44fc50
mov eax, dword [ebx + 0x1c]
test eax, eax
jns 0x44fb10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xb0]
lea ecx, [ebp - 0xa0]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x44af30
mov dword [esp], eax
call fcn.0044c3d0
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
sub esp, 0x10
lea edi, [ebp - 0xa0]
mov eax, dword [ecx]
mov dword [esp + 4], edx
mov dword [esp], edi
call dword [eax + 0x38]
sub esp, 8
mov ecx, edi
call fcn.004c4910
add esi, 1
cmp dword [ebx + 0x30], esi
jle 0x44f968
mov edx, dword [ebx + 0x34]
lea eax, [esi + esi*4]
lea eax, [edx + eax*8]
cmp dword [eax], 3
jne 0x44fa50
jmp 0x44fa08
mov dword [esp], eax
call sub.msvcrt.dll__close
test eax, eax
je 0x44fba0
mov eax, dword [0x677e60]
test eax, eax
jne 0x44fbd0
mov dword [esp], 0x40000
call sub.msvcrt.dll_malloc
mov esi, eax
test eax, eax
je 0x44fea0
mov dword [esp], 0x40000
call sub.msvcrt.dll_malloc
mov ebx, eax
test eax, eax
je 0x44fea0
mov eax, dword [ebp - 0x90]
mov dword [esp + 4], str.ERROR:_cant_close_file__s
mov dword [esp + 8], eax
mov dword [esp], esi
call fcn.004bf1f0
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.0042e7f0
mov dword [esp + 4], ebx
mov dword [esp], 0x5a6d2c
call fcn.004bf160
jmp 0x44fb8c
mov eax, dword [ebx]
mov dword [eax + 0x40068], 0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp], eax
call sub.msvcrt.dll__close
test eax, eax
je 0x44fbb0
mov eax, dword [0x677e60]
test eax, eax
jne 0x44fbd0
mov dword [esp], 0x40000
call sub.msvcrt.dll_malloc
mov edi, eax
test eax, eax
je 0x44fc7c
mov dword [esp], 0x40000
call sub.msvcrt.dll_malloc
mov esi, eax
test eax, eax
je 0x44fc7c
mov eax, dword [ebx + 0x24]
mov dword [esp + 4], str.ERROR:_cant_close_file__s
mov dword [esp + 8], eax
mov dword [esp], edi
call fcn.004bf1f0
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.0042e7f0
mov dword [esp + 4], esi
mov dword [esp], 0x5a6d2c
call fcn.004bf160
mov dword [esp], 2
call sub.msvcrt.dll_exit
lea esi, [esi]
nop
mov dword [ebp - 0x98], 0xffffffff
jmp 0x44f89e
mov dword [ebx + 0x1c], 0xffffffff
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
call eax
jmp 0x44f987
mov dword [esp + 4], 1
mov dword [esp], 0x677e20
call dword [sym.imp.msvcrt.dll_longjmp]
lea esi, [esi]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xb0]
lea ecx, [ebp - 0xa0]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x44af30
mov dword [esp], eax
call fcn.0044c3d0
mov edx, dword [ebp - 0x24]
sub esp, 0x10
xor edi, edi
test edx, edx
jle 0x44fc3f
lea esi, [esi]
nop
lea eax, [ebp - 0xa0]
mov dword [esp + 4], edi
mov ecx, ebx
mov dword [esp], eax
call fcn.0044f1a0
sub esp, 8
add edi, 1
cmp dword [ebp - 0x24], edi
jg 0x44fc20
lea ecx, [ebp - 0xa0]
call fcn.004c4910
jmp 0x44f9d2
mov edx, dword [ebx]
mov dword [esp], edx
call eax
sub esp, 4
jmp 0x44f9ed
mov eax, 0x5c
mov word [edi], ax
mov edi, dword [ebx + 0x88]
mov dword [esp], edi
call sub.msvcrt.dll_strlen
add edi, eax
jmp 0x44f950
cmp dword [0x677e60], 0
jne 0x44fbd0
mov eax, 0x40000
call fcn.0044b100
mov edi, eax
mov eax, 0x40000
call fcn.0044b100
mov dword [esp + 8], 0x40000
mov esi, eax
mov dword [esp + 4], str.ERROR:_cant_alloc__lu_memory_bytes
jmp 0x44fb68
cmp dword [0x677e60], 0
jne 0x44fbd0
mov eax, 0x40000
call fcn.0044b100
mov edi, eax
mov eax, 0x40000
call fcn.0044b100
mov dword [esp + 8], 0x40000
mov esi, eax
mov dword [esp + 4], str.ERROR:_cant_alloc__lu_memory_bytes
mov dword [esp], edi
call fcn.004bf1f0
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.0042e7f0
mov dword [esp + 4], esi
mov dword [esp], 0x5a6d2c
call fcn.004bf160
jmp 0x44fb8c
cmp dword [0x677e60], 0
jne 0x44fbd0
mov eax, 0x40000
call fcn.0044b100
mov edi, eax
mov eax, 0x40000
call fcn.0044b100
mov dword [esp + 8], 0x40000
mov esi, eax
mov dword [esp + 4], str.ERROR:_cant_alloc__lu_memory_bytes
mov dword [esp], edi
call fcn.004bf1f0
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.0042e7f0
mov dword [esp + 4], esi
mov dword [esp], 0x5a6d2c
call fcn.004bf160
jmp 0x44fb8c
cmp dword [0x677e60], 0
jne 0x44fbd0
mov eax, 0x40000
call fcn.0044b100
mov esi, eax
mov eax, 0x40000
call fcn.0044b100
mov dword [esp + 8], 0x40000
mov ebx, eax
mov dword [esp + 4], str.ERROR:_cant_alloc__lu_memory_bytes
mov dword [esp], esi
call fcn.004bf1f0
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.0042e7f0
mov dword [esp + 4], ebx
mov dword [esp], 0x5a6d2c
call fcn.004bf160
jmp 0x44fb8c
cmp dword [0x677e60], 0
jne 0x44fbd0
mov eax, 0x40000
call fcn.0044b100
mov edi, eax
mov eax, 0x40000
call fcn.0044b100
mov dword [esp + 8], 0x10000
mov esi, eax
jmp 0x44fce3
cmp dword [0x677e60], 0
jne 0x44fbd0
mov eax, 0x40000
call fcn.0044b100
mov esi, eax
mov eax, 0x40000
call fcn.0044b100
mov dword [esp + 8], 0x10000
mov ebx, eax
jmp 0x44fd9f
cmp dword [0x677e60], 0
jne 0x44fbd0
mov eax, 0x40000
call fcn.0044b100
mov edi, eax
mov eax, 0x40000
call fcn.0044b100
mov dword [esp + 8], 0x10000
mov esi, eax
mov dword [esp + 4], str.ERROR:_cant_alloc__lu_memory_bytes
jmp 0x44fb68
cmp dword [0x677e60], 0
jne 0x44fbd0
mov eax, 0x40000
call fcn.0044b100
mov edi, eax
mov eax, 0x40000
call fcn.0044b100
mov dword [esp + 8], 0x10000
mov esi, eax
jmp 0x44fd41
cmp dword [0x677e60], 0
jne 0x44fbd0
mov eax, 0x40000
call fcn.0044b100
mov esi, eax
mov eax, 0x40000
call fcn.0044b100
mov dword [esp + 8], 0x40000
mov dword [esp + 4], str.ERROR:_cant_alloc__lu_memory_bytes
mov ebx, eax
jmp 0x44facb