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

Disassembly:
push 0xffffffffffffffff
push 0x467ccb
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.0041f470
mov al, byte [0x481160]
mov ebp, dword [esp + 0x7bc]
test al, al
mov eax, dword [esp + 0x7b8]
je 0x44b4fb
lea ecx, [eax + 0x218]
push ecx
push ebp
push eax
call fcn.00439700
cmp dword [0x481108], ebx
jne 0x44b516
mov al, byte [0x496478]
test al, al
jne 0x44b516
cmp ebp, ebx
je 0x44b52f
cmp byte [ebp], 0
je 0x44b52f
mov edx, dword [0x480fac]
mov eax, dword [edx + 0x1c]
cmp eax, ebx
je 0x44b55d
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 4]
push eax
call fcn.0044b440
mov eax, dword [esp + 0x10]
mov dword [esp + 0x7b0], 0xffffffff
cmp eax, ebx
je 0x44b556
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x10]
push ebx
push ebx
call fcn.004315c0
xor al, al
jmp 0x44cab0
lea eax, [esp + 0x6a4]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x44b594
lea ecx, [esp + 0x1a0]
lea edx, [esp + 0x6a4]
push ecx
push ebx
push 0x4083a4
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x44b5a7
push 0x40173c
push 0x450
push ebx
call fcn.00431420
add esp, 0xc
push ebx
lea eax, [esp + 0x1a4]
push 0x8002
push eax
call fcn.0040b370
cmp eax, 0xffffffff
mov dword [esp + 0x50], eax
jne 0x44b5d6
push 0x40173c
push 0x450
push ebx
call fcn.00431420
add esp, 0xc
mov al, byte [0x480f00]
push esi
test al, al
push edi
je 0x44b63c
mov edi, 0x40839c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, 0x40839c
test ecx, ecx
je 0x44b63c
lea edx, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
push esi
call fcn.0044cad0
test eax, eax
je 0x44b63c
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
add eax, esi
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.004315c0
mov edi, dword [esp + 0x14]
mov ecx, esi
mov edx, ecx
mov esi, 0x40839c
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, 0x408394
test eax, eax
je 0x44b683
lea ecx, [esp + 0x14]
push ecx
push 5
lea ecx, [esp + 0x20]
call fcn.0044cad0
test eax, eax
je 0x44b683
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add edx, 5
lea ecx, [esp + 0x18]
push edx
push eax
call fcn.004315c0
mov edx, dword [0x408394]
mov ecx, dword [esp + 0x14]
mov dword [ecx], edx
mov al, byte [0x408398]
mov byte [ecx + 4], al
cmp ebp, ebx
je 0x44b760
cmp byte [ebp], 0
je 0x44b760
mov ecx, 0x4017e4
test ecx, ecx
je 0x44b6d1
lea edx, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
push 1
call fcn.0044cad0
test eax, eax
je 0x44b6d1
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
inc eax
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.004315c0
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.0044cad0
test eax, eax
je 0x44b71d
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add edx, esi
lea ecx, [esp + 0x18]
push edx
push eax
call fcn.004315c0
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, 0x408390
test eax, eax
je 0x44b79d
lea ecx, [esp + 0x14]
push ecx
push 2
lea ecx, [esp + 0x20]
call fcn.0044cad0
test eax, eax
je 0x44b79d
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add edx, 2
lea ecx, [esp + 0x18]
push edx
push eax
call fcn.004315c0
mov dx, word [0x408390]
mov ecx, dword [esp + 0x14]
mov word [ecx], dx
jmp 0x44b79d
mov eax, 0x4028ec
test eax, eax
je 0x44b79d
lea ecx, [esp + 0x14]
push ecx
push 1
lea ecx, [esp + 0x20]
call fcn.0044cad0
test eax, eax
je 0x44b79d
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
inc edx
lea ecx, [esp + 0x18]
push edx
push eax
call fcn.004315c0
mov dl, byte [0x4028ec]
mov ecx, dword [esp + 0x14]
mov byte [ecx], dl
cmp dword [0x481170], ebx
jne 0x44b7b3
push 0x487
push ebx
call fcn.00431420
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, 0x408388
add esp, 0x14
test edx, edx
je 0x44b82a
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push 6
call fcn.0044cad0
test eax, eax
je 0x44b82a
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
add ecx, 6
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.004315c0
mov ecx, dword [0x408388]
mov eax, dword [esp + 0x14]
mov dword [eax], ecx
mov dx, word [0x40838c]
mov word [eax + 4], dx
mov eax, 0x4017e4
test eax, eax
je 0x44b867
lea ecx, [esp + 0x14]
push ecx
push 1
lea ecx, [esp + 0x20]
call fcn.0044cad0
test eax, eax
je 0x44b867
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
inc edx
lea ecx, [esp + 0x18]
push edx
push eax
call fcn.004315c0
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 0x44b8c8
lea ecx, [esp + 0x14]
push ecx
push esi
lea ecx, [esp + 0x20]
call fcn.0044cad0
test eax, eax
je 0x44b8c8
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add edx, esi
lea ecx, [esp + 0x18]
push edx
push eax
call fcn.004315c0
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 0x44b914
lea ecx, [esp + 0x14]
push ecx
push esi
lea ecx, [esp + 0x20]
call fcn.0044cb20
test eax, eax
je 0x44b914
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, 0x408390
test eax, eax
je 0x44b93e
lea ecx, [esp + 0x14]
push ecx
push 2
lea ecx, [esp + 0x20]
call fcn.0044cb20
test eax, eax
je 0x44b93e
mov edx, dword [esp + 0x14]
mov ax, word [0x408390]
mov word [edx], ax
mov ebp, dword [0x480f10]
cmp ebp, ebx
mov dword [esp + 0x14], ebp
jne 0x44b982
lea ecx, [esp + 0xa8]
push 0x401fe8
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 0x44b9b3
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x18]
push eax
push 5
call fcn.0044cb20
test eax, eax
je 0x44b9b3
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 0x44b9dc
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x18]
push edx
push 1
call fcn.0044cb20
test eax, eax
je 0x44b9dc
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 0x44ba17
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x18]
push edx
push esi
call fcn.0044cb20
test eax, eax
je 0x44ba17
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, 0x408390
test ecx, ecx
je 0x44ba42
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x18]
push edx
push 2
call fcn.0044cb20
test eax, eax
je 0x44ba42
mov eax, dword [esp + 0x2c]
mov cx, word [0x408390]
mov word [eax], cx
mov edx, dword [esp + 0x7c0]
mov al, byte [edx + 0x135]
test al, al
je 0x44ba97
mov eax, 0x408378
test eax, eax
je 0x44ba97
lea ecx, [esp + 0x2c]
push ecx
push 0xe
lea ecx, [esp + 0x20]
call fcn.0044cb20
test eax, eax
je 0x44ba97
mov edx, dword [esp + 0x2c]
mov eax, dword [0x408378]
mov dword [edx], eax
mov ecx, dword [0x40837c]
mov dword [edx + 4], ecx
mov eax, dword [0x408380]
mov dword [edx + 8], eax
mov cx, word [0x408384]
mov word [edx + 0xc], cx
mov eax, dword [0x481108]
mov ebp, dword [0x481100]
xor ebx, ebx
test eax, eax
jbe 0x44bb65
mov eax, dword [ebp + 4]
test eax, eax
jne 0x44bb4c
mov edx, 0x40836c
test edx, edx
je 0x44bae8
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x18]
push eax
push 8
call fcn.0044cb20
test eax, eax
je 0x44bae8
mov ecx, dword [esp + 0x2c]
mov edx, dword [0x40836c]
mov dword [ecx], edx
mov eax, dword [0x408370]
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 0x44bb24
lea ecx, [esp + 0x38]
push ecx
push edi
lea ecx, [esp + 0x20]
call fcn.0044cb20
test eax, eax
je 0x44bb24
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, 0x4028ec
test eax, eax
je 0x44bb4c
lea ecx, [esp + 0x30]
push ecx
push 1
lea ecx, [esp + 0x20]
call fcn.0044cb20
test eax, eax
je 0x44bb4c
mov edx, dword [esp + 0x30]
mov al, byte [0x4028ec]
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 0x44baac
lea edx, [esp + 0x18]
push edx
call fcn.00431070
mov eax, dword [esp + 0x7c0]
mov ebp, dword [eax + 0x1a8]
test ebp, ebp
je 0x44bc69
mov ebx, dword [sym.imp.MSVCRT.dll_strncpy]
mov ecx, 0x408360
test ecx, ecx
je 0x44bbc5
lea edx, [esp + 0x30]
lea ecx, [esp + 0x18]
push edx
push 9
call fcn.0044cb20
test eax, eax
je 0x44bbc5
mov eax, dword [esp + 0x30]
mov ecx, dword [0x408360]
mov dword [eax], ecx
mov edx, dword [0x408364]
mov dword [eax + 4], edx
mov cl, byte [0x408368]
mov byte [eax + 8], cl
mov edx, dword [esp + 0x7c0]
mov ecx, dword [ebp]
push 0
mov eax, dword [edx + 0x1d4]
lea edx, [esp + 0x30]
push edx
mov eax, dword [eax + 4]
push eax
push ecx
call fcn.00464280
cmp word [esp + 0x2c], 1
jne 0x44bbfb
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 0x44bc36
lea eax, [esp + 0x38]
lea ecx, [esp + 0x18]
push eax
push edi
call fcn.0044cb20
test eax, eax
je 0x44bc36
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, 0x4028ec
test eax, eax
je 0x44bc5e
lea ecx, [esp + 0x10]
push ecx
push 1
lea ecx, [esp + 0x20]
call fcn.0044cb20
test eax, eax
je 0x44bc5e
mov edx, dword [esp + 0x10]
mov al, byte [0x4028ec]
mov byte [edx], al
mov ebp, dword [ebp + 4]
test ebp, ebp
jne 0x44bb8a
mov eax, dword [0x4810e8]
mov ebp, dword [0x4810e0]
xor ebx, ebx
test eax, eax
jbe 0x44bd71
mov ecx, dword [ebp + 8]
cmp word [ecx + 4], 0
je 0x44bd58
mov edx, 0x408354
test edx, edx
je 0x44bcc6
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push 9
call fcn.0044cb20
test eax, eax
je 0x44bcc6
mov ecx, dword [esp + 0x10]
mov edx, dword [0x408354]
mov dword [ecx], edx
mov eax, dword [0x408358]
mov dword [ecx + 4], eax
mov dl, byte [0x40835c]
mov byte [ecx + 8], dl
mov eax, 0x4017e4
test eax, eax
je 0x44bcee
lea ecx, [esp + 0x30]
push ecx
push 1
lea ecx, [esp + 0x20]
call fcn.0044cb20
test eax, eax
je 0x44bcee
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 0x44bd2d
lea edx, [esp + 0x38]
lea ecx, [esp + 0x18]
push edx
push edi
call fcn.0044cb20
test eax, eax
je 0x44bd2d
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, 0x408390
test ecx, ecx
je 0x44bd58
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x18]
push edx
push 2
call fcn.0044cb20
test eax, eax
je 0x44bd58
mov eax, dword [esp + 0x2c]
mov cx, word [0x408390]
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 0x44bc7e
mov ecx, dword [0x480f9c]
test ecx, ecx
je 0x44be5c
test byte [ecx + 0x30], 1
je 0x44be5c
mov eax, dword [esp + 0x7c0]
lea edx, [esp + 0x2c]
push 0
push edx
mov eax, dword [eax + 0x1d4]
mov eax, dword [eax + 4]
push eax
push ecx
call fcn.00464280
cmp word [esp + 0x2c], 1
jne 0x44bdc0
push 8
push eax
push 0x481028
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
mov esi, eax
mov eax, 0x408360
test eax, eax
je 0x44bdfb
lea ecx, [esp + 0x10]
push ecx
push 9
lea ecx, [esp + 0x20]
call fcn.0044cb20
test eax, eax
je 0x44bdfb
mov edx, dword [esp + 0x10]
mov eax, dword [0x408360]
mov dword [edx], eax
mov ecx, dword [0x408364]
mov dword [edx + 4], ecx
mov al, byte [0x408368]
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 0x44be34
lea ecx, [esp + 0x10]
push ecx
push edi
lea ecx, [esp + 0x20]
call fcn.0044cb20
test eax, eax
je 0x44be34
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, 0x4028ec
test eax, eax
je 0x44be5c
lea ecx, [esp + 0x10]
push ecx
push 1
lea ecx, [esp + 0x20]
call fcn.0044cb20
test eax, eax
je 0x44be5c
mov edx, dword [esp + 0x10]
mov al, byte [0x4028ec]
mov byte [edx], al
mov esi, dword [esp + 0x7c0]
mov al, byte [esi + 0x1c8]
test al, al
je 0x44bec0
mov ecx, 0x408344
test ecx, ecx
je 0x44bf93
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
push 0xe
call fcn.0044cb20
test eax, eax
je 0x44bf93
mov eax, dword [esp + 0x10]
mov ecx, dword [0x408344]
mov dword [eax], ecx
mov edx, dword [0x408348]
mov dword [eax + 4], edx
mov ecx, dword [0x40834c]
mov dword [eax + 8], ecx
mov dx, word [0x408350]
mov word [eax + 0xc], dx
jmp 0x44bf93
mov ebp, dword [esi + 0x1cc]
test ebp, ebp
je 0x44bf93
test byte [ebp + 8], 4
je 0x44bf81
mov eax, 0x408334
test eax, eax
je 0x44bf1c
lea ecx, [esp + 0x10]
push ecx
push 0xe
lea ecx, [esp + 0x20]
call fcn.0044cb20
test eax, eax
je 0x44bf1c
mov edx, dword [esp + 0x10]
mov eax, dword [0x408334]
mov dword [edx], eax
mov ecx, dword [0x408338]
mov dword [edx + 4], ecx
mov eax, dword [0x40833c]
mov dword [edx + 8], eax
mov cx, word [0x408340]
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 0x44bf58
lea edx, [esp + 0x30]
lea ecx, [esp + 0x18]
push edx
push edi
call fcn.0044cb20
test eax, eax
je 0x44bf58
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, 0x4028ec
test ecx, ecx
je 0x44bf81
lea edx, [esp + 0x38]
lea ecx, [esp + 0x18]
push edx
push 1
call fcn.0044cb20
test eax, eax
je 0x44bf81
mov eax, dword [esp + 0x38]
mov cl, byte [0x4028ec]
mov byte [eax], cl
mov ebp, dword [ebp]
test ebp, ebp
jne 0x44bece
mov esi, dword [esp + 0x7c0]
mov dx, word [esi + 0x88]
push edx
call fcn.00463d70
mov esi, eax
test esi, esi
je 0x44c0a7
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.0044cb20
test eax, eax
je 0x44bfdf
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 0x44c07f
xor edx, edx
and eax, 0xffff
mov dx, word [ecx + 0x76]
push edx
push eax
lea eax, [esp + 0x38]
push 0x404a90
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov ecx, 0x402750
add esp, 0x10
test ecx, ecx
je 0x44c03c
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
push 1
call fcn.0044cb20
test eax, eax
je 0x44c03c
mov eax, dword [esp + 0x10]
mov cl, byte [0x402750]
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 0x44c07f
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push esi
call fcn.0044cb20
test eax, eax
je 0x44c07f
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, 0x4028ec
test eax, eax
je 0x44c0a7
lea ecx, [esp + 0x10]
push ecx
push 1
lea ecx, [esp + 0x20]
call fcn.0044cb20
test eax, eax
je 0x44c0a7
mov edx, dword [esp + 0x10]
mov al, byte [0x4028ec]
mov byte [edx], al
mov al, byte [0x496694]
test al, al
je 0x44c500
mov eax, dword [0x48100c]
test eax, eax
jne 0x44c0d6
mov ecx, dword [0x4690d0]
or eax, 0xffffffff
cmp ecx, eax
jne 0x44c0d6
cmp dword [0x4690cc], eax
je 0x44c37f
mov ecx, 0x408328
xor bl, bl
test ecx, ecx
je 0x44c10a
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
push 8
call fcn.0044cb20
test eax, eax
je 0x44c10a
mov eax, dword [esp + 0x10]
mov ecx, dword [0x408328]
mov dword [eax], ecx
mov edx, dword [0x40832c]
mov dword [eax + 4], edx
mov eax, dword [0x48100c]
mov ebp, dword [sym.imp.MSVCRT.dll__itoa]
test eax, eax
je 0x44c1b3
lea ecx, [esp + 0x3c]
push 0xa
push ecx
push eax
mov bl, 1
call ebp
mov edx, 0x40831c
add esp, 0xc
test edx, edx
je 0x44c170
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push 0xb
call fcn.0044cb20
test eax, eax
je 0x44c170
mov ecx, dword [esp + 0x10]
mov edx, dword [0x40831c]
mov dword [ecx], edx
mov eax, dword [0x408320]
mov dword [ecx + 4], eax
mov dx, word [0x408324]
mov word [ecx + 8], dx
mov al, byte [0x408326]
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 0x44c1b3
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
push esi
call fcn.0044cb20
test eax, eax
je 0x44c1b3
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 0x44c28c
test bl, bl
je 0x44c1ef
mov ecx, 0x402750
test ecx, ecx
je 0x44c1f1
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
push 1
call fcn.0044cb20
test eax, eax
je 0x44c1f1
mov eax, dword [esp + 0x10]
mov cl, byte [0x402750]
mov byte [eax], cl
jmp 0x44c1f1
mov bl, 1
mov eax, dword [0x4690d0]
lea edx, [esp + 0x3c]
push 0xa
push edx
push eax
call ebp
mov ecx, 0x408310
add esp, 0xc
test ecx, ecx
je 0x44c249
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
push 0xb
call fcn.0044cb20
test eax, eax
je 0x44c249
mov eax, dword [esp + 0x10]
mov ecx, dword [0x408310]
mov dword [eax], ecx
mov edx, dword [0x408314]
mov dword [eax + 4], edx
mov cx, word [0x408318]
mov word [eax + 8], cx
mov dl, byte [0x40831a]
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 0x44c28c
lea ecx, [esp + 0x10]
push ecx
push esi
lea ecx, [esp + 0x20]
call fcn.0044cb20
test eax, eax
je 0x44c28c
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 0x44c356
test bl, bl
je 0x44c2c5
mov eax, 0x402750
test eax, eax
je 0x44c2c5
lea ecx, [esp + 0x10]
push ecx
push 1
lea ecx, [esp + 0x20]
call fcn.0044cb20
test eax, eax
je 0x44c2c5
mov edx, dword [esp + 0x10]
mov al, byte [0x402750]
mov byte [edx], al
mov edx, dword [0x4690cc]
lea ecx, [esp + 0x3c]
push 0xa
push ecx
push edx
call ebp
mov eax, 0x408304
add esp, 0xc
test eax, eax
je 0x44c313
lea ecx, [esp + 0x10]
push ecx
push 0xa
lea ecx, [esp + 0x20]
call fcn.0044cb20
test eax, eax
je 0x44c313
mov edx, dword [esp + 0x10]
mov eax, dword [0x408304]
mov dword [edx], eax
mov ecx, dword [0x408308]
mov dword [edx + 4], ecx
mov ax, word [0x40830c]
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 0x44c356
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
push esi
call fcn.0044cb20
test eax, eax
je 0x44c356
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, 0x4028ec
test ecx, ecx
je 0x44c37f
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
push 1
call fcn.0044cb20
test eax, eax
je 0x44c37f
mov eax, dword [esp + 0x10]
mov cl, byte [0x4028ec]
mov byte [eax], cl
mov eax, dword [esp + 0x7c0]
mov ecx, dword [eax + 0x194]
test ch, 0x40
je 0x44c43e
mov esi, dword [eax + 0x1a0]
cmp byte [esi], 0x5f
jne 0x44c3a1
inc esi
mov edx, 0x4082f8
test edx, edx
je 0x44c3dd
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push 0xa
call fcn.0044cb20
test eax, eax
je 0x44c3dd
mov ecx, dword [esp + 0x10]
mov edx, dword [0x4082f8]
mov dword [ecx], edx
mov eax, dword [0x4082fc]
mov dword [ecx + 4], eax
mov dx, word [0x408300]
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 0x44c416
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push edi
call fcn.0044cb20
test eax, eax
je 0x44c416
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, 0x4028ec
test eax, eax
je 0x44c43e
lea ecx, [esp + 0x10]
push ecx
push 1
lea ecx, [esp + 0x20]
call fcn.0044cb20
test eax, eax
je 0x44c43e
mov edx, dword [esp + 0x10]
mov al, byte [0x4028ec]
mov byte [edx], al
mov eax, dword [esp + 0x7c0]
test dword [eax + 0x194], 0x10000
je 0x44c500
mov esi, dword [eax + 0x1a4]
cmp byte [esi], 0x5f
jne 0x44c461
inc esi
mov ecx, 0x4082ec
test ecx, ecx
je 0x44c49e
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
push 0xa
call fcn.0044cb20
test eax, eax
je 0x44c49e
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4082ec]
mov dword [eax], ecx
mov edx, dword [0x4082f0]
mov dword [eax + 4], edx
mov cx, word [0x4082f4]
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 0x44c4d7
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
push edi
call fcn.0044cb20
test eax, eax
je 0x44c4d7
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, 0x4028ec
test ecx, ecx
je 0x44c500
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
push 1
call fcn.0044cb20
test eax, eax
je 0x44c500
mov eax, dword [esp + 0x10]
mov cl, byte [0x4028ec]
mov byte [eax], cl
mov eax, dword [0x4810d8]
mov ebp, dword [0x4810d0]
xor ebx, ebx
test eax, eax
jbe 0x44c5bd
mov edx, 0x4017e4
test edx, edx
je 0x44c53e
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push 1
call fcn.0044cb20
test eax, eax
je 0x44c53e
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 0x44c57a
lea eax, [esp + 0x30]
lea ecx, [esp + 0x18]
push eax
push edi
call fcn.0044cb20
test eax, eax
je 0x44c57a
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, 0x408390
test eax, eax
je 0x44c5a4
lea ecx, [esp + 0x38]
push ecx
push 2
lea ecx, [esp + 0x20]
call fcn.0044cb20
test eax, eax
je 0x44c5a4
mov edx, dword [esp + 0x38]
mov ax, word [0x408390]
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 0x44c515
mov eax, dword [esp + 0x7c0]
xor edx, edx
mov dx, word [eax + 0x30]
push edx
push eax
call fcn.0045eff0
mov esi, eax
mov eax, 0x4082e0
test eax, eax
je 0x44c60c
lea ecx, [esp + 0x10]
push ecx
push 9
lea ecx, [esp + 0x20]
call fcn.0044cb20
test eax, eax
je 0x44c60c
mov edx, dword [esp + 0x10]
mov eax, dword [0x4082e0]
mov dword [edx], eax
mov ecx, dword [0x4082e4]
mov dword [edx + 4], ecx
mov al, byte [0x4082e8]
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 0x44c645
lea ecx, [esp + 0x10]
push ecx
push edi
lea ecx, [esp + 0x20]
call fcn.0044cb20
test eax, eax
je 0x44c645
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, 0x4028ec
test eax, eax
je 0x44c66d
lea ecx, [esp + 0x10]
push ecx
push 1
lea ecx, [esp + 0x20]
call fcn.0044cb20
test eax, eax
je 0x44c66d
mov edx, dword [esp + 0x10]
mov al, byte [0x4028ec]
mov byte [edx], al
mov al, byte [0x481175]
test al, al
je 0x44c6b0
mov edi, 0x4082d4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, 0x4082d4
test ecx, ecx
je 0x44c6f6
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
push esi
call fcn.0044cb20
test eax, eax
je 0x44c6f6
mov edi, dword [esp + 0x10]
mov ecx, esi
mov esi, 0x4082d4
jmp 0x44c6e8
mov edi, 0x4082c8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, 0x4082c8
test ecx, ecx
je 0x44c6f6
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
push esi
call fcn.0044cb20
test eax, eax
je 0x44c6f6
mov edi, dword [esp + 0x10]
mov ecx, esi
mov esi, 0x4082c8
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 0x44c75a
mov ecx, dword [ebx + 0x158]
shr ecx, 1
test cl, 1
je 0x44c75a
mov edi, 0x4082b8
or ecx, 0xffffffff
xor eax, eax
mov edx, 0x4082b8
repne scasb al, byte es:[edi]
not ecx
dec ecx
test edx, edx
mov esi, ecx
je 0x44c75a
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push esi
call fcn.0044cb20
test eax, eax
je 0x44c75a
mov edi, dword [esp + 0x10]
mov ecx, esi
mov edx, ecx
mov esi, 0x4082b8
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 + 0x1e8], 1
jne 0x44c783
mov edi, 0x4082b0
or ecx, 0xffffffff
xor eax, eax
push 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4082b0
lea ecx, [esp + 0x24]
call fcn.0044cb90
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.0044d5b0
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 0x402acc
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.00450d90
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.00450d90
push 2
lea eax, [esp + 0x50]
push 0x4017e4
push eax
call fcn.00450d90
push 5
lea ecx, [esp + 0x50]
push 0x4082a8
push ecx
call fcn.00450d90
push 1
lea edx, [esp + 0x50]
push 0x4082a4
push edx
mov dword [esp + 0x4c], eax
call fcn.00450d90
push 1
push 0x4017e4
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x54]
push eax
call fcn.00450d90
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.00450d90
push 2
lea eax, [esp + 0x50]
push 0x4017e4
push eax
call fcn.00450d90
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 0x44c8a6
push 1
push ebx
mov dword [esp + 0x70], 0
call fcn.0040b890
mov al, byte [0x481175]
mov edi, dword [sym.imp.MSVCRT.dll_fputc]
test al, al
je 0x44c8f1
mov eax, dword [sym.imp.MSVCRT.dll__iob]
add eax, 0x20
push eax
push 0xa
call edi
push 0x232c
call fcn.004314a0
add esp, 0xc
push 0
call dword [sym.imp.MSVCRT.dll_fflush]
add esp, 4
push 0x408298
push 0x4077b4
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 0x44c934
push 0x475
push 0
call fcn.00431420
add esp, 8
mov al, byte [0x481175]
test al, al
je 0x44c957
mov eax, dword [sym.imp.MSVCRT.dll__iob]
add eax, 0x20
push eax
push 0xa
call edi
push 0x232e
call fcn.004314a0
add esp, 0xc
lea ecx, [esp + 0x1a8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x44c97f
lea edx, [esp + 0x1a8]
push edx
push 0x455
push eax
call fcn.00431420
add esp, 0xc
lea eax, [esp + 0x4c]
push eax
call fcn.00450de0
mov eax, dword [0x481108]
mov esi, dword [0x481100]
xor edi, edi
test eax, eax
jbe 0x44c9c2
mov ebx, dword [sym.imp.MSVCRT.dll_free]
mov eax, dword [esi + 4]
test eax, eax
je 0x44c9ad
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 0x44c9a0
mov ebx, dword [esp + 0x7c0]
lea edx, [esp + 0x4ac]
mov dword [esp + 0x70], edx
lea edx, [esp + 0x6c]
mov ecx, dword [ebx + 0x1d0]
lea eax, [esp + 0x4ac]
push ecx
push edx
mov ecx, ebx
mov dword [esp + 0x74], eax
call fcn.0044b1d0
mov al, byte [0x481160]
mov byte [0x4690dc], 0
test al, al
je 0x44ca98
mov ecx, dword [ebx + 0x1d0]
lea eax, [esp + 0x4ac]
push 0
push eax
call fcn.0040f380
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 0x44ca4c
mov eax, dword [esi + 4]
push eax
push 0x450
push 0
call fcn.00431420
add esp, 0xc
mov edx, dword [esp + 0xa0]
push ebp
mov dword [esi + 0x34], edx
mov dword [ebx + 0x228], esi
call fcn.00451620
mov dword [ebx + 0x220], eax
lea eax, [esp + 0x84]
push eax
push ebp
call edi
add esp, 8
cmp eax, 0xffffffff
jne 0x44ca8b
push ebp
push 0x450
push 0
call fcn.00431420
add esp, 0xc
mov ecx, dword [esp + 0xa0]
mov dword [ebx + 0x224], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x7b8], 0xffffffff
call fcn.0041fe30
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