Function at 0x44b8d0
Capabilities:
Delete file
Get common file path
Resolve path using msvcrt
Set environment variable

Disassembly:
push 0xffffffffffffffff
push 0x4681bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7a0
xor eax, eax
push ebx
xor ebx, ebx
mov dword [esp + 0x44], eax
push ebp
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
push 0x1000
lea ecx, [esp + 0x14]
mov dword [esp + 0x7b4], ebx
call fcn.0041f5f0
mov al, byte [0x481160]
mov ebp, dword [esp + 0x7bc]
test al, al
mov eax, dword [esp + 0x7b8]
je 0x44b94b
lea ecx, [eax + 0x220]
push ecx
push ebp
push eax
call fcn.00439940
cmp dword [0x481108], ebx
jne 0x44b966
mov al, byte [0x496478]
test al, al
jne 0x44b966
cmp ebp, ebx
je 0x44b97f
cmp byte [ebp], 0
je 0x44b97f
mov edx, dword [0x480fac]
mov eax, dword [edx + 0x1c]
cmp eax, ebx
je 0x44b9ad
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 4]
push eax
call fcn.0044b890
mov eax, dword [esp + 0x10]
mov dword [esp + 0x7b0], 0xffffffff
cmp eax, ebx
je 0x44b9a6
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x10]
push ebx
push ebx
call fcn.00431800
xor al, al
jmp 0x44cf00
lea eax, [esp + 0x6a4]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x44b9e4
lea ecx, [esp + 0x1a0]
lea edx, [esp + 0x6a4]
push ecx
push ebx
push 0x40843c
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x44b9f7
push 0x40173c
push 0x450
push ebx
call fcn.00431660
add esp, 0xc
push ebx
lea eax, [esp + 0x1a4]
push 0x8002
push eax
call fcn.0040b4e0
cmp eax, 0xffffffff
mov dword [esp + 0x50], eax
jne 0x44ba26
push 0x40173c
push 0x450
push ebx
call fcn.00431660
add esp, 0xc
mov al, byte [0x480f00]
push esi
test al, al
push edi
je 0x44ba8c
mov edi, 0x408434
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, 0x408434
test ecx, ecx
je 0x44ba8c
lea edx, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
push esi
call fcn.0044cf20
test eax, eax
je 0x44ba8c
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
add eax, esi
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00431800
mov edi, dword [esp + 0x14]
mov ecx, esi
mov edx, ecx
mov esi, 0x408434
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, 0x40842c
test eax, eax
je 0x44bad3
lea ecx, [esp + 0x14]
push ecx
push 5
lea ecx, [esp + 0x20]
call fcn.0044cf20
test eax, eax
je 0x44bad3
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add edx, 5
lea ecx, [esp + 0x18]
push edx
push eax
call fcn.00431800
mov edx, dword [0x40842c]
mov ecx, dword [esp + 0x14]
mov dword [ecx], edx
mov al, byte [0x408430]
mov byte [ecx + 4], al
cmp ebp, ebx
je 0x44bbb0
cmp byte [ebp], 0
je 0x44bbb0
mov ecx, 0x4017e4
test ecx, ecx
je 0x44bb21
lea edx, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
push 1
call fcn.0044cf20
test eax, eax
je 0x44bb21
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
inc eax
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00431800
mov al, byte [0x4017e4]
mov edx, dword [esp + 0x14]
mov byte [edx], al
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
lea ecx, [esp + 0x14]
push ecx
push esi
lea ecx, [esp + 0x20]
call fcn.0044cf20
test eax, eax
je 0x44bb6d
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add edx, esi
lea ecx, [esp + 0x18]
push edx
push eax
call fcn.00431800
mov edi, dword [esp + 0x14]
mov ecx, esi
mov edx, ecx
mov esi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, 0x408428
test eax, eax
je 0x44bbed
lea ecx, [esp + 0x14]
push ecx
push 2
lea ecx, [esp + 0x20]
call fcn.0044cf20
test eax, eax
je 0x44bbed
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add edx, 2
lea ecx, [esp + 0x18]
push edx
push eax
call fcn.00431800
mov dx, word [0x408428]
mov ecx, dword [esp + 0x14]
mov word [ecx], dx
jmp 0x44bbed
mov eax, 0x4028f4
test eax, eax
je 0x44bbed
lea ecx, [esp + 0x14]
push ecx
push 1
lea ecx, [esp + 0x20]
call fcn.0044cf20
test eax, eax
je 0x44bbed
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
inc edx
lea ecx, [esp + 0x18]
push edx
push eax
call fcn.00431800
mov dl, byte [0x4028f4]
mov ecx, dword [esp + 0x14]
mov byte [ecx], dl
cmp dword [0x481170], ebx
jne 0x44bc03
push 0x487
push ebx
call fcn.00431660
add esp, 8
lea eax, [esp + 0x3ac]
lea ecx, [esp + 0xa8]
push eax
lea edx, [esp + 0x2b0]
push ecx
mov ecx, dword [0x481170]
lea eax, [esp + 0x50]
push edx
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__splitpath]
mov edx, 0x408420
add esp, 0x14
test edx, edx
je 0x44bc7a
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push 6
call fcn.0044cf20
test eax, eax
je 0x44bc7a
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
add ecx, 6
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.00431800
mov ecx, dword [0x408420]
mov eax, dword [esp + 0x14]
mov dword [eax], ecx
mov dx, word [0x408424]
mov word [eax + 4], dx
mov eax, 0x4017e4
test eax, eax
je 0x44bcb7
lea ecx, [esp + 0x14]
push ecx
push 1
lea ecx, [esp + 0x20]
call fcn.0044cf20
test eax, eax
je 0x44bcb7
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
inc edx
lea ecx, [esp + 0x18]
push edx
push eax
call fcn.00431800
mov dl, byte [0x4017e4]
mov ecx, dword [esp + 0x14]
mov byte [ecx], dl
lea edi, [esp + 0xa8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0xa8]
dec ecx
test eax, eax
mov esi, ecx
je 0x44bd18
lea ecx, [esp + 0x14]
push ecx
push esi
lea ecx, [esp + 0x20]
call fcn.0044cf20
test eax, eax
je 0x44bd18
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add edx, esi
lea ecx, [esp + 0x18]
push edx
push eax
call fcn.00431800
mov edi, dword [esp + 0x14]
mov ecx, esi
mov edx, ecx
lea esi, [esp + 0xa8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x3ac]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0x3ac]
dec ecx
test eax, eax
mov esi, ecx
je 0x44bd64
lea ecx, [esp + 0x14]
push ecx
push esi
lea ecx, [esp + 0x20]
call fcn.0044cf70
test eax, eax
je 0x44bd64
mov edi, dword [esp + 0x14]
mov ecx, esi
mov edx, ecx
lea esi, [esp + 0x3ac]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, 0x408428
test eax, eax
je 0x44bd8e
lea ecx, [esp + 0x14]
push ecx
push 2
lea ecx, [esp + 0x20]
call fcn.0044cf70
test eax, eax
je 0x44bd8e
mov edx, dword [esp + 0x14]
mov ax, word [0x408428]
mov word [edx], ax
mov ebp, dword [0x480f10]
cmp ebp, ebx
mov dword [esp + 0x14], ebp
jne 0x44bdd2
lea ecx, [esp + 0xa8]
push 0x401ff0
lea edx, [esp + 0x2b0]
push ecx
lea eax, [esp + 0x50]
push edx
lea ecx, [esp + 0x5b8]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__makepath]
lea ebp, [esp + 0x5c0]
add esp, 0x14
mov dword [esp + 0x14], ebp
mov edx, 0x4017e8
test edx, edx
je 0x44be03
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x18]
push eax
push 5
call fcn.0044cf70
test eax, eax
je 0x44be03
mov ecx, dword [esp + 0x2c]
mov edx, dword [0x4017e8]
mov dword [ecx], edx
mov al, byte [0x4017ec]
mov byte [ecx + 4], al
mov ecx, 0x4017e4
test ecx, ecx
je 0x44be2c
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x18]
push edx
push 1
call fcn.0044cf70
test eax, eax
je 0x44be2c
mov eax, dword [esp + 0x2c]
mov cl, byte [0x4017e4]
mov byte [eax], cl
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ebp, ebx
mov esi, ecx
je 0x44be67
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x18]
push edx
push esi
call fcn.0044cf70
test eax, eax
je 0x44be67
mov edi, dword [esp + 0x2c]
mov ecx, esi
mov eax, ecx
mov esi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x408428
test ecx, ecx
je 0x44be92
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x18]
push edx
push 2
call fcn.0044cf70
test eax, eax
je 0x44be92
mov eax, dword [esp + 0x2c]
mov cx, word [0x408428]
mov word [eax], cx
mov edx, dword [esp + 0x7c0]
mov al, byte [edx + 0x135]
test al, al
je 0x44bee7
mov eax, 0x408410
test eax, eax
je 0x44bee7
lea ecx, [esp + 0x2c]
push ecx
push 0xe
lea ecx, [esp + 0x20]
call fcn.0044cf70
test eax, eax
je 0x44bee7
mov edx, dword [esp + 0x2c]
mov eax, dword [0x408410]
mov dword [edx], eax
mov ecx, dword [0x408414]
mov dword [edx + 4], ecx
mov eax, dword [0x408418]
mov dword [edx + 8], eax
mov cx, word [0x40841c]
mov word [edx + 0xc], cx
mov eax, dword [0x481108]
mov ebp, dword [0x481100]
xor ebx, ebx
test eax, eax
jbe 0x44bfb5
mov eax, dword [ebp + 4]
test eax, eax
jne 0x44bf9c
mov edx, 0x408404
test edx, edx
je 0x44bf38
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x18]
push eax
push 8
call fcn.0044cf70
test eax, eax
je 0x44bf38
mov ecx, dword [esp + 0x2c]
mov edx, dword [0x408404]
mov dword [ecx], edx
mov eax, dword [0x408408]
mov dword [ecx + 4], eax
mov esi, dword [ebp]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test esi, esi
mov edi, ecx
je 0x44bf74
lea ecx, [esp + 0x38]
push ecx
push edi
lea ecx, [esp + 0x20]
call fcn.0044cf70
test eax, eax
je 0x44bf74
mov ecx, edi
mov edi, dword [esp + 0x38]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, 0x4028f4
test eax, eax
je 0x44bf9c
lea ecx, [esp + 0x30]
push ecx
push 1
lea ecx, [esp + 0x20]
call fcn.0044cf70
test eax, eax
je 0x44bf9c
mov edx, dword [esp + 0x30]
mov al, byte [0x4028f4]
mov byte [edx], al
mov eax, dword [0x481108]
mov ebp, dword [ebp + 0x14]
inc ebx
mov ecx, ebx
and ecx, 0xffff
cmp ecx, eax
jb 0x44befc
lea edx, [esp + 0x18]
push edx
call fcn.004312b0
mov eax, dword [esp + 0x7c0]
mov ebp, dword [eax + 0x1b0]
test ebp, ebp
je 0x44c0b9
mov ebx, dword [sym.imp.MSVCRT.dll_strncpy]
mov ecx, 0x4083f8
test ecx, ecx
je 0x44c015
lea edx, [esp + 0x30]
lea ecx, [esp + 0x18]
push edx
push 9
call fcn.0044cf70
test eax, eax
je 0x44c015
mov eax, dword [esp + 0x30]
mov ecx, dword [0x4083f8]
mov dword [eax], ecx
mov edx, dword [0x4083fc]
mov dword [eax + 4], edx
mov cl, byte [0x408400]
mov byte [eax + 8], cl
mov edx, dword [esp + 0x7c0]
mov ecx, dword [ebp]
push 0
mov eax, dword [edx + 0x1dc]
lea edx, [esp + 0x30]
push edx
mov eax, dword [eax + 4]
push eax
push ecx
call fcn.004646d0
cmp word [esp + 0x2c], 1
jne 0x44c04b
push 8
push eax
push 0x481028
call ebx
add esp, 0xc
mov esi, eax
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test esi, esi
mov edi, ecx
je 0x44c086
lea eax, [esp + 0x38]
lea ecx, [esp + 0x18]
push eax
push edi
call fcn.0044cf70
test eax, eax
je 0x44c086
mov ecx, edi
mov edi, dword [esp + 0x38]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, 0x4028f4
test eax, eax
je 0x44c0ae
lea ecx, [esp + 0x10]
push ecx
push 1
lea ecx, [esp + 0x20]
call fcn.0044cf70
test eax, eax
je 0x44c0ae
mov edx, dword [esp + 0x10]
mov al, byte [0x4028f4]
mov byte [edx], al
mov ebp, dword [ebp + 4]
test ebp, ebp
jne 0x44bfda
mov eax, dword [0x4810e8]
mov ebp, dword [0x4810e0]
xor ebx, ebx
test eax, eax
jbe 0x44c1c1
mov ecx, dword [ebp + 8]
cmp word [ecx + 4], 0
je 0x44c1a8
mov edx, 0x4083ec
test edx, edx
je 0x44c116
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push 9
call fcn.0044cf70
test eax, eax
je 0x44c116
mov ecx, dword [esp + 0x10]
mov edx, dword [0x4083ec]
mov dword [ecx], edx
mov eax, dword [0x4083f0]
mov dword [ecx + 4], eax
mov dl, byte [0x4083f4]
mov byte [ecx + 8], dl
mov eax, 0x4017e4
test eax, eax
je 0x44c13e
lea ecx, [esp + 0x30]
push ecx
push 1
lea ecx, [esp + 0x20]
call fcn.0044cf70
test eax, eax
je 0x44c13e
mov edx, dword [esp + 0x30]
mov al, byte [0x4017e4]
mov byte [edx], al
mov ecx, dword [ebp + 8]
xor eax, eax
mov esi, dword [ecx + 0xc]
or ecx, 0xffffffff
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
test esi, esi
mov edi, ecx
je 0x44c17d
lea edx, [esp + 0x38]
lea ecx, [esp + 0x18]
push edx
push edi
call fcn.0044cf70
test eax, eax
je 0x44c17d
mov ecx, edi
mov edi, dword [esp + 0x38]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x408428
test ecx, ecx
je 0x44c1a8
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x18]
push edx
push 2
call fcn.0044cf70
test eax, eax
je 0x44c1a8
mov eax, dword [esp + 0x2c]
mov cx, word [0x408428]
mov word [eax], cx
mov eax, dword [0x4810e8]
mov ebp, dword [ebp + 0x14]
inc ebx
mov edx, ebx
and edx, 0xffff
cmp edx, eax
jb 0x44c0ce
mov ecx, dword [0x480f9c]
test ecx, ecx
je 0x44c2ac
test byte [ecx + 0x30], 1
je 0x44c2ac
mov eax, dword [esp + 0x7c0]
lea edx, [esp + 0x2c]
push 0
push edx
mov eax, dword [eax + 0x1dc]
mov eax, dword [eax + 4]
push eax
push ecx
call fcn.004646d0
cmp word [esp + 0x2c], 1
jne 0x44c210
push 8
push eax
push 0x481028
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
mov esi, eax
mov eax, 0x4083f8
test eax, eax
je 0x44c24b
lea ecx, [esp + 0x10]
push ecx
push 9
lea ecx, [esp + 0x20]
call fcn.0044cf70
test eax, eax
je 0x44c24b
mov edx, dword [esp + 0x10]
mov eax, dword [0x4083f8]
mov dword [edx], eax
mov ecx, dword [0x4083fc]
mov dword [edx + 4], ecx
mov al, byte [0x408400]
mov byte [edx + 8], al
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test esi, esi
mov edi, ecx
je 0x44c284
lea ecx, [esp + 0x10]
push ecx
push edi
lea ecx, [esp + 0x20]
call fcn.0044cf70
test eax, eax
je 0x44c284
mov ecx, edi
mov edi, dword [esp + 0x10]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, 0x4028f4
test eax, eax
je 0x44c2ac
lea ecx, [esp + 0x10]
push ecx
push 1
lea ecx, [esp + 0x20]
call fcn.0044cf70
test eax, eax
je 0x44c2ac
mov edx, dword [esp + 0x10]
mov al, byte [0x4028f4]
mov byte [edx], al
mov esi, dword [esp + 0x7c0]
mov al, byte [esi + 0x1d0]
test al, al
je 0x44c310
mov ecx, 0x4083dc
test ecx, ecx
je 0x44c3e3
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
push 0xe
call fcn.0044cf70
test eax, eax
je 0x44c3e3
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4083dc]
mov dword [eax], ecx
mov edx, dword [0x4083e0]
mov dword [eax + 4], edx
mov ecx, dword [0x4083e4]
mov dword [eax + 8], ecx
mov dx, word [0x4083e8]
mov word [eax + 0xc], dx
jmp 0x44c3e3
mov ebp, dword [esi + 0x1d4]
test ebp, ebp
je 0x44c3e3
test byte [ebp + 8], 4
je 0x44c3d1
mov eax, 0x4083cc
test eax, eax
je 0x44c36c
lea ecx, [esp + 0x10]
push ecx
push 0xe
lea ecx, [esp + 0x20]
call fcn.0044cf70
test eax, eax
je 0x44c36c
mov edx, dword [esp + 0x10]
mov eax, dword [0x4083cc]
mov dword [edx], eax
mov ecx, dword [0x4083d0]
mov dword [edx + 4], ecx
mov eax, dword [0x4083d4]
mov dword [edx + 8], eax
mov cx, word [0x4083d8]
mov word [edx + 0xc], cx
mov esi, dword [ebp + 4]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test esi, esi
mov edi, ecx
je 0x44c3a8
lea edx, [esp + 0x30]
lea ecx, [esp + 0x18]
push edx
push edi
call fcn.0044cf70
test eax, eax
je 0x44c3a8
mov ecx, edi
mov edi, dword [esp + 0x30]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x4028f4
test ecx, ecx
je 0x44c3d1
lea edx, [esp + 0x38]
lea ecx, [esp + 0x18]
push edx
push 1
call fcn.0044cf70
test eax, eax
je 0x44c3d1
mov eax, dword [esp + 0x38]
mov cl, byte [0x4028f4]
mov byte [eax], cl
mov ebp, dword [ebp]
test ebp, ebp
jne 0x44c31e
mov esi, dword [esp + 0x7c0]
mov dx, word [esi + 0x88]
push edx
call fcn.004641c0
mov esi, eax
test esi, esi
je 0x44c4f7
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x10]
mov edi, ecx
push eax
push edi
lea ecx, [esp + 0x20]
call fcn.0044cf70
test eax, eax
je 0x44c42f
mov ecx, edi
mov edi, dword [esp + 0x10]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x7c0]
mov ax, word [ecx + 0x74]
test ax, ax
je 0x44c4cf
xor edx, edx
and eax, 0xffff
mov dx, word [ecx + 0x76]
push edx
push eax
lea eax, [esp + 0x38]
push 0x404ab0
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov ecx, 0x402758
add esp, 0x10
test ecx, ecx
je 0x44c48c
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
push 1
call fcn.0044cf70
test eax, eax
je 0x44c48c
mov eax, dword [esp + 0x10]
mov cl, byte [0x402758]
mov byte [eax], cl
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x30]
repne scasb al, byte es:[edi]
not ecx
dec ecx
test edx, edx
mov esi, ecx
je 0x44c4cf
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push esi
call fcn.0044cf70
test eax, eax
je 0x44c4cf
mov edi, dword [esp + 0x10]
mov ecx, esi
mov edx, ecx
lea esi, [esp + 0x30]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, 0x4028f4
test eax, eax
je 0x44c4f7
lea ecx, [esp + 0x10]
push ecx
push 1
lea ecx, [esp + 0x20]
call fcn.0044cf70
test eax, eax
je 0x44c4f7
mov edx, dword [esp + 0x10]
mov al, byte [0x4028f4]
mov byte [edx], al
mov al, byte [0x496694]
test al, al
je 0x44c950
mov eax, dword [0x48100c]
test eax, eax
jne 0x44c526
mov ecx, dword [0x4690d0]
or eax, 0xffffffff
cmp ecx, eax
jne 0x44c526
cmp dword [0x4690cc], eax
je 0x44c7cf
mov ecx, 0x4083c0
xor bl, bl
test ecx, ecx
je 0x44c55a
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
push 8
call fcn.0044cf70
test eax, eax
je 0x44c55a
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4083c0]
mov dword [eax], ecx
mov edx, dword [0x4083c4]
mov dword [eax + 4], edx
mov eax, dword [0x48100c]
mov ebp, dword [sym.imp.MSVCRT.dll__itoa]
test eax, eax
je 0x44c603
lea ecx, [esp + 0x3c]
push 0xa
push ecx
push eax
mov bl, 1
call ebp
mov edx, 0x4083b4
add esp, 0xc
test edx, edx
je 0x44c5c0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push 0xb
call fcn.0044cf70
test eax, eax
je 0x44c5c0
mov ecx, dword [esp + 0x10]
mov edx, dword [0x4083b4]
mov dword [ecx], edx
mov eax, dword [0x4083b8]
mov dword [ecx + 4], eax
mov dx, word [0x4083bc]
mov word [ecx + 8], dx
mov al, byte [0x4083be]
mov byte [ecx + 0xa], al
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
lea ecx, [esp + 0x3c]
test ecx, ecx
je 0x44c603
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
push esi
call fcn.0044cf70
test eax, eax
je 0x44c603
mov edi, dword [esp + 0x10]
mov ecx, esi
mov eax, ecx
lea esi, [esp + 0x3c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [0x4690d0], 0xffffffff
je 0x44c6dc
test bl, bl
je 0x44c63f
mov ecx, 0x402758
test ecx, ecx
je 0x44c641
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
push 1
call fcn.0044cf70
test eax, eax
je 0x44c641
mov eax, dword [esp + 0x10]
mov cl, byte [0x402758]
mov byte [eax], cl
jmp 0x44c641
mov bl, 1
mov eax, dword [0x4690d0]
lea edx, [esp + 0x3c]
push 0xa
push edx
push eax
call ebp
mov ecx, 0x4083a8
add esp, 0xc
test ecx, ecx
je 0x44c699
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
push 0xb
call fcn.0044cf70
test eax, eax
je 0x44c699
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4083a8]
mov dword [eax], ecx
mov edx, dword [0x4083ac]
mov dword [eax + 4], edx
mov cx, word [0x4083b0]
mov word [eax + 8], cx
mov dl, byte [0x4083b2]
mov byte [eax + 0xa], dl
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0x3c]
dec ecx
test eax, eax
mov esi, ecx
je 0x44c6dc
lea ecx, [esp + 0x10]
push ecx
push esi
lea ecx, [esp + 0x20]
call fcn.0044cf70
test eax, eax
je 0x44c6dc
mov edi, dword [esp + 0x10]
mov ecx, esi
mov edx, ecx
lea esi, [esp + 0x3c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [0x4690cc], 0xffffffff
je 0x44c7a6
test bl, bl
je 0x44c715
mov eax, 0x402758
test eax, eax
je 0x44c715
lea ecx, [esp + 0x10]
push ecx
push 1
lea ecx, [esp + 0x20]
call fcn.0044cf70
test eax, eax
je 0x44c715
mov edx, dword [esp + 0x10]
mov al, byte [0x402758]
mov byte [edx], al
mov edx, dword [0x4690cc]
lea ecx, [esp + 0x3c]
push 0xa
push ecx
push edx
call ebp
mov eax, 0x40839c
add esp, 0xc
test eax, eax
je 0x44c763
lea ecx, [esp + 0x10]
push ecx
push 0xa
lea ecx, [esp + 0x20]
call fcn.0044cf70
test eax, eax
je 0x44c763
mov edx, dword [esp + 0x10]
mov eax, dword [0x40839c]
mov dword [edx], eax
mov ecx, dword [0x4083a0]
mov dword [edx + 4], ecx
mov ax, word [0x4083a4]
mov word [edx + 8], ax
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
lea ecx, [esp + 0x3c]
test ecx, ecx
je 0x44c7a6
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
push esi
call fcn.0044cf70
test eax, eax
je 0x44c7a6
mov edi, dword [esp + 0x10]
mov ecx, esi
mov eax, ecx
lea esi, [esp + 0x3c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x4028f4
test ecx, ecx
je 0x44c7cf
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
push 1
call fcn.0044cf70
test eax, eax
je 0x44c7cf
mov eax, dword [esp + 0x10]
mov cl, byte [0x4028f4]
mov byte [eax], cl
mov eax, dword [esp + 0x7c0]
mov ecx, dword [eax + 0x19c]
test ch, 0x40
je 0x44c88e
mov esi, dword [eax + 0x1a8]
cmp byte [esi], 0x5f
jne 0x44c7f1
inc esi
mov edx, 0x408390
test edx, edx
je 0x44c82d
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push 0xa
call fcn.0044cf70
test eax, eax
je 0x44c82d
mov ecx, dword [esp + 0x10]
mov edx, dword [0x408390]
mov dword [ecx], edx
mov eax, dword [0x408394]
mov dword [ecx + 4], eax
mov dx, word [0x408398]
mov word [ecx + 8], dx
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test esi, esi
mov edi, ecx
je 0x44c866
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push edi
call fcn.0044cf70
test eax, eax
je 0x44c866
mov ecx, edi
mov edi, dword [esp + 0x10]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, 0x4028f4
test eax, eax
je 0x44c88e
lea ecx, [esp + 0x10]
push ecx
push 1
lea ecx, [esp + 0x20]
call fcn.0044cf70
test eax, eax
je 0x44c88e
mov edx, dword [esp + 0x10]
mov al, byte [0x4028f4]
mov byte [edx], al
mov eax, dword [esp + 0x7c0]
test dword [eax + 0x19c], 0x10000
je 0x44c950
mov esi, dword [eax + 0x1ac]
cmp byte [esi], 0x5f
jne 0x44c8b1
inc esi
mov ecx, 0x408384
test ecx, ecx
je 0x44c8ee
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
push 0xa
call fcn.0044cf70
test eax, eax
je 0x44c8ee
mov eax, dword [esp + 0x10]
mov ecx, dword [0x408384]
mov dword [eax], ecx
mov edx, dword [0x408388]
mov dword [eax + 4], edx
mov cx, word [0x40838c]
mov word [eax + 8], cx
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test esi, esi
mov edi, ecx
je 0x44c927
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
push edi
call fcn.0044cf70
test eax, eax
je 0x44c927
mov ecx, edi
mov edi, dword [esp + 0x10]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x4028f4
test ecx, ecx
je 0x44c950
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
push 1
call fcn.0044cf70
test eax, eax
je 0x44c950
mov eax, dword [esp + 0x10]
mov cl, byte [0x4028f4]
mov byte [eax], cl
mov eax, dword [0x4810d8]
mov ebp, dword [0x4810d0]
xor ebx, ebx
test eax, eax
jbe 0x44ca0d
mov edx, 0x4017e4
test edx, edx
je 0x44c98e
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push 1
call fcn.0044cf70
test eax, eax
je 0x44c98e
mov ecx, dword [esp + 0x10]
mov dl, byte [0x4017e4]
mov byte [ecx], dl
mov esi, dword [ebp]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test esi, esi
mov edi, ecx
je 0x44c9ca
lea eax, [esp + 0x30]
lea ecx, [esp + 0x18]
push eax
push edi
call fcn.0044cf70
test eax, eax
je 0x44c9ca
mov ecx, edi
mov edi, dword [esp + 0x30]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, 0x408428
test eax, eax
je 0x44c9f4
lea ecx, [esp + 0x38]
push ecx
push 2
lea ecx, [esp + 0x20]
call fcn.0044cf70
test eax, eax
je 0x44c9f4
mov edx, dword [esp + 0x38]
mov ax, word [0x408428]
mov word [edx], ax
mov eax, dword [0x4810d8]
mov ebp, dword [ebp + 0x14]
inc ebx
mov ecx, ebx
and ecx, 0xffff
cmp ecx, eax
jb 0x44c965
mov eax, dword [esp + 0x7c0]
xor edx, edx
mov dx, word [eax + 0x30]
push edx
push eax
call fcn.0045f440
mov esi, eax
mov eax, 0x408378
test eax, eax
je 0x44ca5c
lea ecx, [esp + 0x10]
push ecx
push 9
lea ecx, [esp + 0x20]
call fcn.0044cf70
test eax, eax
je 0x44ca5c
mov edx, dword [esp + 0x10]
mov eax, dword [0x408378]
mov dword [edx], eax
mov ecx, dword [0x40837c]
mov dword [edx + 4], ecx
mov al, byte [0x408380]
mov byte [edx + 8], al
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test esi, esi
mov edi, ecx
je 0x44ca95
lea ecx, [esp + 0x10]
push ecx
push edi
lea ecx, [esp + 0x20]
call fcn.0044cf70
test eax, eax
je 0x44ca95
mov ecx, edi
mov edi, dword [esp + 0x10]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, 0x4028f4
test eax, eax
je 0x44cabd
lea ecx, [esp + 0x10]
push ecx
push 1
lea ecx, [esp + 0x20]
call fcn.0044cf70
test eax, eax
je 0x44cabd
mov edx, dword [esp + 0x10]
mov al, byte [0x4028f4]
mov byte [edx], al
mov al, byte [0x481175]
test al, al
je 0x44cb00
mov edi, 0x40836c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, 0x40836c
test ecx, ecx
je 0x44cb46
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
push esi
call fcn.0044cf70
test eax, eax
je 0x44cb46
mov edi, dword [esp + 0x10]
mov ecx, esi
mov esi, 0x40836c
jmp 0x44cb38
mov edi, 0x408360
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, 0x408360
test ecx, ecx
je 0x44cb46
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
push esi
call fcn.0044cf70
test eax, eax
je 0x44cb46
mov edi, dword [esp + 0x10]
mov ecx, esi
mov esi, 0x408360
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ebx, dword [esp + 0x7c0]
mov al, byte [ebx + 0x12d]
test al, al
je 0x44cbaa
mov ecx, dword [ebx + 0x158]
shr ecx, 1
test cl, 1
je 0x44cbaa
mov edi, 0x408350
or ecx, 0xffffffff
xor eax, eax
mov edx, 0x408350
repne scasb al, byte es:[edi]
not ecx
dec ecx
test edx, edx
mov esi, ecx
je 0x44cbaa
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push esi
call fcn.0044cf70
test eax, eax
je 0x44cbaa
mov edi, dword [esp + 0x10]
mov ecx, esi
mov edx, ecx
mov esi, 0x408350
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [ebx + 0x1f0], 1
jne 0x44cbd3
mov edi, 0x408348
or ecx, 0xffffffff
xor eax, eax
push 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x408348
lea ecx, [esp + 0x24]
call fcn.0044cfe0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x58]
sub ecx, eax
push ecx
push eax
push ebx
call fcn.0044da00
lea edx, [esp + 0xa8]
push 0
mov ebp, dword [esp + 0x18]
lea eax, [esp + 0x2b0]
push edx
lea ecx, [esp + 0x50]
push eax
push ecx
push ebp
call dword [sym.imp.MSVCRT.dll__splitpath]
lea edx, [esp + 0xbc]
push 0x402ad4
lea eax, [esp + 0x2c4]
push edx
lea ecx, [esp + 0x64]
push eax
lea edx, [esp + 0x4cc]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__makepath]
add esp, 0x28
lea eax, [esp + 0x4c]
push 1
push 0x4017e4
push eax
call fcn.004511e0
mov esi, dword [sym.imp.MSVCRT.dll___p__pgmptr]
mov dword [esp + 0x3c], eax
call esi
mov edi, dword [eax]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
call esi
mov ecx, dword [eax]
lea edx, [esp + 0x50]
push ecx
push edx
call fcn.004511e0
push 2
lea eax, [esp + 0x50]
push 0x4017e4
push eax
call fcn.004511e0
push 5
lea ecx, [esp + 0x50]
push 0x408340
push ecx
call fcn.004511e0
push 1
lea edx, [esp + 0x50]
push 0x40833c
push edx
mov dword [esp + 0x4c], eax
call fcn.004511e0
push 1
push 0x4017e4
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x54]
push eax
call fcn.004511e0
lea edi, [esp + 0x1a8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x1ac]
push ecx
lea edx, [esp + 0x54]
push edx
call fcn.004511e0
push 2
lea eax, [esp + 0x50]
push 0x4017e4
push eax
call fcn.004511e0
xor eax, eax
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + eax + 0x3c]
add eax, 4
add edx, ecx
cmp eax, 0xc
mov dword [esp + eax + 0x58], edx
jl 0x44ccf6
push 1
push ebx
mov dword [esp + 0x70], 0
call fcn.0040ba00
mov al, byte [0x481175]
mov edi, dword [sym.imp.MSVCRT.dll_fputc]
test al, al
je 0x44cd41
mov eax, dword [sym.imp.MSVCRT.dll__iob]
add eax, 0x20
push eax
push 0xa
call edi
push 0x232c
call fcn.004316e0
add esp, 0xc
push 0
call dword [sym.imp.MSVCRT.dll_fflush]
add esp, 4
push 0x408330
push 0x407828
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea ecx, [esp + 0x5c]
push ecx
call esi
mov edx, dword [eax]
push edx
push 0
call dword [sym.imp.MSVCRT.dll__spawnv]
add esp, 0xc
test eax, eax
je 0x44cd84
push 0x475
push 0
call fcn.00431660
add esp, 8
mov al, byte [0x481175]
test al, al
je 0x44cda7
mov eax, dword [sym.imp.MSVCRT.dll__iob]
add eax, 0x20
push eax
push 0xa
call edi
push 0x232e
call fcn.004316e0
add esp, 0xc
lea ecx, [esp + 0x1a8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x44cdcf
lea edx, [esp + 0x1a8]
push edx
push 0x455
push eax
call fcn.00431660
add esp, 0xc
lea eax, [esp + 0x4c]
push eax
call fcn.00451230
mov eax, dword [0x481108]
mov esi, dword [0x481100]
xor edi, edi
test eax, eax
jbe 0x44ce12
mov ebx, dword [sym.imp.MSVCRT.dll_free]
mov eax, dword [esi + 4]
test eax, eax
je 0x44cdfd
push eax
call ebx
add esp, 4
mov eax, dword [0x481108]
mov esi, dword [esi + 0x14]
inc edi
mov ecx, edi
and ecx, 0xffff
cmp ecx, eax
jb 0x44cdf0
mov ebx, dword [esp + 0x7c0]
lea edx, [esp + 0x4ac]
mov dword [esp + 0x70], edx
lea edx, [esp + 0x6c]
mov ecx, dword [ebx + 0x1d8]
lea eax, [esp + 0x4ac]
push ecx
push edx
mov ecx, ebx
mov dword [esp + 0x74], eax
call fcn.0044b620
mov al, byte [0x481160]
mov byte [0x4690dc], 0
test al, al
je 0x44cee8
mov ecx, dword [ebx + 0x1d8]
lea eax, [esp + 0x4ac]
push 0
push eax
call fcn.0040f4f0
mov edi, dword [sym.imp.MSVCRT.dll__stat]
mov esi, eax
lea ecx, [esp + 0x84]
mov eax, dword [esi + 4]
push ecx
push eax
call edi
add esp, 8
cmp eax, 0xffffffff
jne 0x44ce9c
mov eax, dword [esi + 4]
push eax
push 0x450
push 0
call fcn.00431660
add esp, 0xc
mov edx, dword [esp + 0xa0]
push ebp
mov dword [esi + 0x34], edx
mov dword [ebx + 0x230], esi
call fcn.00451a70
mov dword [ebx + 0x228], eax
lea eax, [esp + 0x84]
push eax
push ebp
call edi
add esp, 8
cmp eax, 0xffffffff
jne 0x44cedb
push ebp
push 0x450
push 0
call fcn.00431660
add esp, 0xc
mov ecx, dword [esp + 0xa0]
mov dword [ebx + 0x22c], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x7b8], 0xffffffff
call fcn.0041ffb0
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x7a8]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x7ac
ret 8