Function at 0x4441e9
Capabilities:
Accept command line arguments
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24c
mov eax, dword [0x47d084]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push esi
lea esi, [ecx + 0x70]
and dword [esi + 0x10], 0
cmp dword [esi + 0x14], 8
push edi
jb 0x444217
mov eax, dword [esi]
jmp 0x444219
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov dword [esp + 0x2c], 0x46
mov dword [esp + 0x28], 0x32
mov dword [esp + 0x30], 0x51
mov dword [esp + 0xc], 0x52
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
imul eax, ecx
mov ecx, dword [esp + 0x2c]
sub eax, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jge 0x44427b
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
imul eax, eax, 0x60
shl ecx, 6
sub eax, ecx
mov ecx, dword [esp + 0x30]
lea eax, [eax + ecx - 0x53]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
imul eax, eax, 6
sub eax, ecx
mov ecx, dword [esp + 0x28]
sub eax, ecx
mov ecx, dword [esp + 0x30]
sub eax, ecx
add eax, dword [esp + 0xc]
add eax, dword [esp + 0xc]
add eax, dword [esp + 0x28]
add eax, dword [esp + 0x28]
add eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
lea eax, [eax + ecx + 0x5d]
mov dword [esp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
and dword [esp + 0x38], 0
mov dword [esp + 0x10], 0x27
push 0x48
pop ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], 0x47
mov dword [esp + 0x18], 0x34
mov dword [esp + 0x20], 0x58
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], 0x41
mov dword [esp + 0x30], 0x28
mov ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x20]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
imul ecx, edx
mov edx, dword [esp + 0x18]
imul edx, edx, 0xe
add ecx, edx
add ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
lea ecx, [ecx + edx + 0x14]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
imul ecx, edx
mov edx, 0xffffff41
sub edx, ecx
mov ecx, dword [esp + 0x2c]
sub edx, ecx
mov ecx, dword [esp + 0x28]
sub edx, ecx
mov ecx, dword [esp + 0x18]
sub edx, ecx
add edx, dword [esp + 0xc]
add edx, dword [esp + 0x2c]
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x28]
cmp ecx, edx
jle 0x44439d
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
imul ecx, edx
mov edx, dword [esp + 0x30]
imul ecx, ecx, 0xffffffe2
imul edx, edx, 0x44
sub ecx, edx
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
imul edx, edi
add ecx, edx
mov edx, dword [esp + 0x28]
sub ecx, edx
mov edx, dword [esp + 0x20]
sub ecx, edx
sub ecx, 0x18
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0x38]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
fld qword [0x477a20]
fst qword [esp + 0x10]
mov ebx, eax
fld qword [0x477a18]
fstp qword [esp + 0x18]
fld1
fstp qword [esp + 0x20]
fld qword [esp + 0x10]
fstp st(0)
fld qword [esp + 0x10]
fstp st(0)
fld qword [esp + 0x18]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 1
jne 0x44443a
fld qword [esp + 0x18]
fsub qword [0x477a10]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fadd qword [esp + 0x10]
fstp qword [esp + 0x18]
fld qword [esp + 0x18]
fadd qword [0x477a08]
fld qword [esp + 0x18]
fmul qword [esp + 0x10]
fmul qword [0x477a00]
fsubp st(1)
fsub qword [esp + 0x18]
fld qword [esp + 0x20]
fmul qword [0x4779f8]
faddp st(1)
fsubrp st(1)
fsub qword [esp + 0x10]
fsub qword [0x4779f0]
fsub qword [esp + 0x18]
fstp qword [esp + 0x20]
jmp 0x44443c
fstp st(0)
fld qword [esp + 0x10]
fsub qword [0x4779e8]
fsub qword [esp + 0x10]
fstp qword [esp + 0x18]
fld qword [esp + 0x10]
fsub qword [esp + 0x20]
fstp qword [esp + 0x10]
test ebx, ebx
je 0x444aaf
xor edi, edi
inc edi
cmp dword [esp + 0x38], edi
jle 0x444a45
push dword [0x47e8ac]
push dword [ebx + edi*4]
call fcn.00413a9c
pop ecx
pop ecx
test eax, eax
je 0x44448f
inc edi
cmp edi, dword [esp + 0x38]
jl 0x44446f
jmp 0x444a45
lea eax, [edi + 1]
cmp eax, dword [esp + 0x38]
jge 0x4444b0
mov eax, dword [ebx + edi*4 + 4]
push eax
mov dword [esp + 0x14], eax
call fcn.0041300d
pop ecx
mov ecx, dword [esp + 0x10]
call fcn.00405c36
mov dword [esp + 0xc], 8
mov dword [esp + 0x20], 0x2b
mov eax, dword [esp + 0x20]
add eax, 0xb
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
imul eax, eax, 0x14
sub eax, ecx
add eax, dword [esp + 0xc]
push 0x59
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
cdq
pop ecx
idiv ecx
mov ecx, dword [esp + 0xc]
push 0x29
imul eax, ecx
pop ecx
sub ecx, eax
add ecx, dword [esp + 0x20]
lea eax, [edi + 4]
add ecx, dword [esp + 0xc]
mov dword [esp + 0x10], eax
add ecx, dword [esp + 0xc]
mov dword [esp + 0x20], ecx
cmp eax, dword [esp + 0x38]
jge 0x444a45
fld qword [0x4779e0]
xor eax, eax
mov dword [esp + 0x3c], eax
fstp qword [esp + 0x30]
fld qword [0x4779d8]
fstp qword [esp + 0x20]
fld qword [0x4779b0]
fstp qword [esp + 0x18]
fld qword [esp + 0x18]
fld qword [esp + 0x18]
fmul qword [0x4779d0]
fsubp st(1)
fadd qword [esp + 0x18]
fld qword [esp + 0x30]
fld qword [0x4779c8]
fmul st(1), st(0)
fxch st(2)
faddp st(1)
fadd qword [esp + 0x20]
fsub qword [0x4779c0]
fstp qword [esp + 0x18]
fld qword [esp + 0x20]
fld qword [esp + 0x30]
fdivrp st(2)
fsubrp st(1)
fsub qword [esp + 0x18]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
lea eax, [esp + 0x3c]
push eax
fstp qword [esp + 0x1c]
push dword [0x47e8b0]
push dword [ebx + edi*4 + 8]
call fcn.00413bf0
fld qword [0x4779e0]
fstp qword [esp + 0x3c]
add esp, 0xc
fld qword [0x4779d8]
lea eax, [esp + 0x40]
fstp qword [esp + 0x20]
push eax
fld qword [0x4779b0]
fstp qword [esp + 0x1c]
fld qword [esp + 0x1c]
fld qword [esp + 0x1c]
fmul qword [0x4779d0]
fsubp st(1)
fadd qword [esp + 0x1c]
fld qword [esp + 0x34]
fld qword [0x4779c8]
fmul st(1), st(0)
fxch st(2)
faddp st(1)
fadd qword [esp + 0x24]
fsub qword [0x4779c0]
fstp qword [esp + 0x1c]
fld qword [esp + 0x24]
fld qword [esp + 0x34]
fdivrp st(2)
fsubrp st(1)
fsub qword [esp + 0x1c]
push dword [0x47e8b4]
push dword [ebx + edi*4 + 0xc]
fstp qword [esp + 0x24]
call fcn.00413bf0
mov dword [esp + 0x34], 0x46
mov dword [esp + 0x38], 0x32
mov dword [esp + 0x2c], 0x51
mov dword [esp + 0x18], 0x52
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
imul eax, ecx
mov ecx, dword [esp + 0x34]
sub eax, ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
add esp, 0xc
cmp eax, ecx
jge 0x444678
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
imul eax, eax, 0x60
shl ecx, 6
sub eax, ecx
mov ecx, dword [esp + 0x20]
lea eax, [eax + ecx - 0x53]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
imul eax, eax, 6
sub eax, ecx
mov ecx, dword [esp + 0x2c]
sub eax, ecx
mov ecx, dword [esp + 0x20]
sub eax, ecx
add eax, dword [esp + 0xc]
add eax, dword [esp + 0xc]
add eax, dword [esp + 0x2c]
add eax, dword [esp + 0x2c]
add eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
lea eax, [eax + ecx + 0x5d]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x44]
push eax
push dword [0x47e8b4]
mov eax, dword [esp + 0x18]
push dword [ebx + eax*4]
call fcn.00413bf0
xor eax, eax
add esp, 0xc
cmp dword [esp + 0x3c], eax
je 0x44498a
cmp dword [esp + 0x40], eax
je 0x44498a
cmp dword [esp + 0x44], eax
je 0x44498a
push dword [esp + 0x3c]
call fcn.0044137b
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x5a
mov eax, dword [esp + 0xc]
push 0x43
pop ecx
sub ecx, eax
add ecx, dword [esp + 0xc]
push 0xffffffffffffff9f
mov dword [esp + 0x10], ecx
add dword [esp + 0x10], 0x47
mov eax, dword [esp + 0x10]
pop ecx
sub ecx, eax
add ecx, dword [esp + 0xc]
push 0x31
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
imul eax, eax, 0x48
sub eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
cdq
pop ecx
idiv ecx
push 0x16
pop edi
push 0x42
mov ecx, eax
mov eax, dword [esp + 0x10]
imul ecx, eax
mov eax, dword [esp + 0x10]
cdq
idiv edi
mov edi, dword [esp + 0x14]
add ecx, eax
mov eax, dword [esp + 0x10]
lea eax, [ecx + eax - 0x5a]
add eax, dword [esp + 0x10]
pop ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
cdq
idiv ecx
mov ecx, dword [esp + 0xc]
sub eax, ecx
sub eax, 0x29
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
imul eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
imul eax, eax, 0x1f
mov dword [esp + 0xc], eax
test edi, edi
je 0x4448db
push 0x47ffcc
call fcn.0043f20a
push eax
push dword [esp + 0x48]
push edi
call fcn.00441315
push 0x47ffd0
call fcn.0043f20a
push eax
push dword [esp + 0x4c]
push edi
call fcn.00441315
fld qword [0x477a20]
fst qword [esp + 0x10]
fld qword [0x477a18]
fstp qword [esp + 0x18]
fld1
fstp qword [esp + 0x20]
fld qword [esp + 0x10]
fstp st(0)
fld qword [esp + 0x10]
fstp st(0)
fld qword [esp + 0x18]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 1
jne 0x44485d
fld qword [esp + 0x18]
fsub qword [0x477a10]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fadd qword [esp + 0x10]
fstp qword [esp + 0x18]
fld qword [esp + 0x18]
fadd qword [0x477a08]
fld qword [esp + 0x18]
fmul qword [esp + 0x10]
fmul qword [0x477a00]
fsubp st(1)
fsub qword [esp + 0x18]
fld qword [esp + 0x20]
fmul qword [0x4779f8]
faddp st(1)
fsubrp st(1)
fsub qword [esp + 0x10]
fsub qword [0x4779f0]
fsub qword [esp + 0x18]
fstp qword [esp + 0x20]
jmp 0x44485f
fstp st(0)
fld qword [esp + 0x10]
fsub qword [0x4779e8]
fsub qword [esp + 0x10]
fstp qword [esp + 0x18]
fld qword [esp + 0x10]
fsub qword [esp + 0x20]
cmp dword [esi + 0x14], 8
fstp qword [esp + 0x10]
jb 0x444885
mov esi, dword [esi]
push esi
call fcn.0043fb69
test eax, eax
jne 0x4448d5
push 0x206
push eax
mov word [esp + 0x50], ax
lea eax, [esp + 0x52]
push eax
call fcn.00413840
add esp, 0xc
lea eax, [esp + 0x48]
push eax
push edi
call fcn.0043f404
cmp word [esp + 0x48], 0
je 0x4448d5
call fcn.0043f3e9
lea ecx, [esp + 0x48]
push ecx
call dword [eax + 0x1c0]
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push edi
call fcn.0044115d
fld qword [0x477a20]
fst qword [esp + 0x10]
fld qword [0x477a18]
fstp qword [esp + 0x18]
fld1
fstp qword [esp + 0x20]
fld qword [esp + 0x10]
fstp st(0)
fld qword [esp + 0x10]
fstp st(0)
fld qword [esp + 0x18]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 1
jne 0x44496a
fld qword [esp + 0x18]
fsub qword [0x477a10]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fadd qword [esp + 0x10]
fstp qword [esp + 0x18]
fld qword [esp + 0x18]
fadd qword [0x477a08]
fld qword [esp + 0x18]
fmul qword [esp + 0x10]
fmul qword [0x477a00]
fsubp st(1)
fsub qword [esp + 0x18]
fld qword [esp + 0x20]
fmul qword [0x4779f8]
faddp st(1)
fsubrp st(1)
fsub qword [esp + 0x10]
fsub qword [0x4779f0]
fsub qword [esp + 0x18]
fstp qword [esp + 0x20]
jmp 0x44496c
fstp st(0)
fld qword [esp + 0x10]
fsub qword [0x4779e8]
fsub qword [esp + 0x10]
fstp qword [esp + 0x18]
fld qword [esp + 0x10]
fsub qword [esp + 0x20]
fstp qword [esp + 0x10]
fld qword [0x477a58]
fstp qword [esp + 0x20]
fld qword [0x477a50]
fstp qword [esp + 0x18]
fld qword [0x4779d8]
fstp qword [esp + 0x10]
fld qword [esp + 0x20]
fld qword [esp + 0x18]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x444a45
fld qword [esp + 0x18]
fmul qword [esp + 0x20]
fmul qword [0x477a40]
fld qword [esp + 0x10]
fmul qword [0x477a38]
fsubp st(1)
fld qword [esp + 0x10]
fld qword [0x477a48]
fdiv st(1), st(0)
fxch st(2)
faddp st(1)
fsub qword [esp + 0x10]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fmul qword [0x477a30]
fadd qword [esp + 0x10]
fadd qword [esp + 0x10]
faddp st(1)
fadd qword [esp + 0x18]
fld qword [esp + 0x10]
fmul qword [0x477a28]
fsubp st(1)
fadd qword [esp + 0x18]
fstp qword [esp + 0x10]
fld qword [esp + 0x18]
fadd qword [esp + 0x18]
fsub qword [esp + 0x10]
fstp qword [esp + 0x10]
fld qword [esp + 0x18]
fmul qword [esp + 0x20]
fld qword [esp + 0x20]
fadd qword [esp + 0x20]
faddp st(1)
fadd qword [esp + 0x10]
fstp qword [esp + 0x18]
push ebx
call fcn.0044085c
fld qword [0x4779e0]
fstp qword [esp + 0x20]
fld qword [0x4779d8]
fstp qword [esp + 0x18]
fld qword [0x4779b0]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fld qword [esp + 0x10]
fmul qword [0x4779d0]
fsubp st(1)
fadd qword [esp + 0x10]
fld qword [esp + 0x20]
fld qword [0x4779c8]
fmul st(1), st(0)
fxch st(2)
faddp st(1)
fadd qword [esp + 0x18]
fsub qword [0x4779c0]
fstp qword [esp + 0x10]
fld qword [esp + 0x18]
fld qword [esp + 0x20]
fdivrp st(2)
fsubrp st(1)
fsub qword [esp + 0x10]
fstp qword [esp + 0x10]
mov ecx, dword [esp + 0x254]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041176d
mov esp, ebp
pop ebp
ret