Function at 0x44f1d0
Capabilities:
Accept command line arguments
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5baddf
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x6522a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x420], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea eax, [ebp - 0x41c]
push eax
call fcn.0044f060
add esp, 8
push 0
push 0x5c7f7c
lea ecx, [ebp - 0x41c]
mov dword [ebp - 4], 0
call fcn.0044f0f0
mov ebx, dword [0x64e190]
mov ecx, 2
mov esi, dword [section..data]
cmp eax, ebx
push 0
cmovne esi, ecx
lea ecx, [ebp - 0x41c]
push 0x5c7f80
mov dword [section..data], esi
call fcn.0044f0f0
cmp eax, ebx
mov ecx, 3
cmovne esi, ecx
or edi, 0xffffffff
mov dword [section..data], esi
mov esi, dword [ebp - 0x41c]
test ebx, ebx
je 0x44f4d2
test esi, esi
je 0x44f4d2
mov eax, dword [ebp - 0x414]
mov al, byte [eax]
cmp al, 0x22
jne 0x44f4d2
push 1
push 0x22
lea ecx, [ebp - 0x41c]
call fcn.00452060
mov esi, dword [0x64e190]
mov ecx, dword [ebp - 0x41c]
cmp eax, esi
je 0x44f400
lea edx, [eax - 1]
cmp ecx, 1
ja 0x44f306
mov esi, dword [0x64e19c]
mov eax, dword [0x64e198]
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x428], esi
test esi, esi
je 0x44f2f6
add esi, 4
mov edx, dword [esi]
mov eax, edx
lea ecx, [edx + 1]
lock cmpxchg dword [esi], ecx
cmp eax, edx
jne 0x44f2e7
mov eax, dword [0x64e1a0]
mov dword [ebp - 0x424], eax
jmp 0x44f3e1
test edx, edx
jne 0x44f347
mov esi, dword [0x64e19c]
mov eax, dword [0x64e198]
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x428], esi
test esi, esi
je 0x44f2f6
add esi, 4
mov edx, dword [esi]
mov eax, edx
lea ecx, [edx + 1]
lock cmpxchg dword [esi], ecx
cmp eax, edx
jne 0x44f328
mov eax, dword [0x64e1a0]
mov dword [ebp - 0x424], eax
jmp 0x44f3e1
mov ebx, dword [ebp - 0x414]
inc ebx
cmp edx, esi
mov esi, dword [ebp - 0x418]
mov dword [ebp - 0x428], esi
jne 0x44f381
dec ecx
mov dword [ebp - 0x42c], ecx
test esi, esi
je 0x44f3c0
add esi, 4
nop dword [eax]
mov edx, dword [esi]
mov eax, edx
lea ecx, [edx + 1]
lock cmpxchg dword [esi], ecx
cmp eax, edx
jne 0x44f370
jmp 0x44f3c0
cmp eax, ecx
jb 0x44f3a4
dec ecx
mov dword [ebp - 0x42c], ecx
test esi, esi
je 0x44f3c0
add esi, 4
mov edx, dword [esi]
mov eax, edx
lea ecx, [edx + 1]
lock cmpxchg dword [esi], ecx
cmp eax, edx
jne 0x44f393
jmp 0x44f3c0
mov dword [ebp - 0x42c], edx
test esi, esi
je 0x44f3c0
add esi, 4
mov edx, dword [esi]
mov eax, edx
lea ecx, [edx + 1]
lock cmpxchg dword [esi], ecx
cmp eax, edx
jne 0x44f3b1
mov dword [ebp - 0x424], ebx
test ebx, ebx
jne 0x44f3e1
push 0x341
push 0x5c7560
push str.m_string
call fcn.00597603
add esp, 0xc
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x41c]
call fcn.00448ed0
mov byte [ebp - 4], 2
jmp 0x44f4aa
cmp ecx, 1
ja 0x44f43f
mov esi, dword [0x64e19c]
mov eax, dword [0x64e198]
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x428], esi
test esi, esi
je 0x44f432
add esi, 4
mov edx, dword [esi]
mov eax, edx
lea ecx, [edx + 1]
lock cmpxchg dword [esi], ecx
cmp eax, edx
jne 0x44f423
mov eax, dword [0x64e1a0]
mov dword [ebp - 0x424], eax
jmp 0x44f490
mov ebx, dword [ebp - 0x414]
dec ecx
mov esi, dword [ebp - 0x418]
inc ebx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x428], esi
test esi, esi
je 0x44f46f
add esi, 4
mov edx, dword [esi]
mov eax, edx
lea ecx, [edx + 1]
lock cmpxchg dword [esi], ecx
cmp eax, edx
jne 0x44f460
mov dword [ebp - 0x424], ebx
test ebx, ebx
jne 0x44f490
push 0x341
push 0x5c7560
push str.m_string
call fcn.00597603
add esp, 0xc
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x41c]
call fcn.00448ed0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x428]
test ecx, ecx
je 0x44f4c2
mov eax, edi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x44f4c2
mov eax, dword [ecx]
call dword [eax]
mov esi, dword [ebp - 0x41c]
mov ebx, dword [0x64e190]
mov byte [ebp - 4], 0
push 0
push 0x5c7f84
lea ecx, [ebp - 0x41c]
call fcn.0044f0f0
cmp eax, ebx
je 0x44f626
test esi, esi
jne 0x44f52f
mov esi, dword [0x64e19c]
mov eax, dword [0x64e198]
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x440], esi
test esi, esi
je 0x44f51f
add esi, 4
nop
mov edx, dword [esi]
mov eax, edx
lea ecx, [edx + 1]
lock cmpxchg dword [esi], ecx
cmp eax, edx
jne 0x44f510
mov eax, dword [0x64e1a0]
mov dword [ebp - 0x43c], eax
jmp 0x44f5f0
test eax, eax
jne 0x44f570
mov esi, dword [0x64e19c]
mov eax, dword [0x64e198]
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x440], esi
test esi, esi
je 0x44f51f
add esi, 4
mov edx, dword [esi]
mov eax, edx
lea ecx, [edx + 1]
lock cmpxchg dword [esi], ecx
cmp eax, edx
jne 0x44f551
mov eax, dword [0x64e1a0]
mov dword [ebp - 0x43c], eax
jmp 0x44f5f0
mov ebx, dword [ebp - 0x414]
cmp eax, esi
jb 0x44f5a4
mov dword [ebp - 0x444], esi
mov esi, dword [ebp - 0x418]
mov dword [ebp - 0x440], esi
test esi, esi
je 0x44f5cf
add esi, 4
mov edx, dword [esi]
mov eax, edx
lea ecx, [edx + 1]
lock cmpxchg dword [esi], ecx
cmp eax, edx
jne 0x44f593
jmp 0x44f5cf
mov esi, dword [ebp - 0x418]
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x440], esi
test esi, esi
je 0x44f5cf
add esi, 4
nop dword [eax]
mov edx, dword [esi]
mov eax, edx
lea ecx, [edx + 1]
lock cmpxchg dword [esi], ecx
cmp eax, edx
jne 0x44f5c0
mov dword [ebp - 0x43c], ebx
test ebx, ebx
jne 0x44f5f0
push 0x341
push 0x5c7560
push str.m_string
call fcn.00597603
add esp, 0xc
lea eax, [ebp - 0x444]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x41c]
call fcn.00448ed0
mov ecx, dword [ebp - 0x440]
mov byte [ebp - 4], 6
test ecx, ecx
je 0x44f622
mov eax, edi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x44f622
mov eax, dword [ecx]
call dword [eax]
mov byte [ebp - 4], 0
lea eax, [ebp - 0x468]
push eax
lea ecx, [ebp - 0x41c]
call fcn.00453720
push eax
lea ecx, [ebp - 0x41c]
mov byte [ebp - 4], 7
call fcn.00448ed0
mov ecx, dword [ebp - 0x464]
mov byte [ebp - 4], 8
test ecx, ecx
je 0x44f66e
mov eax, edi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x44f66e
mov dword [ebp - 0x464], 0
mov eax, dword [ecx]
call dword [eax]
lea eax, [ebp - 0x410]
mov byte [ebp - 4], 0
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.0044f060
add esp, 8
mov eax, dword [ebp - 0x438]
mov byte [ebp - 4], 9
lea ecx, [eax - 1]
cmp ecx, dword [0x64e190]
je 0x44f6c0
cmp ecx, eax
jae 0x44f6c0
mov eax, dword [ebp - 0x430]
mov al, byte [eax + ecx]
cmp al, 0x5c
je 0x44f71e
mov dword [ebp - 0x45c], 1
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0x655858
lea eax, [ebp - 0x45c]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x438]
call fcn.00451be0
mov ecx, dword [ebp - 0x458]
mov byte [ebp - 4], 0xb
test ecx, ecx
je 0x44f71a
mov eax, edi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x44f71a
mov dword [ebp - 0x458], 0
mov eax, dword [ecx]
call dword [eax]
mov byte [ebp - 4], 9
lea eax, [ebp - 0x474]
push eax
lea ecx, [ebp - 0x438]
call fcn.004522e0
push eax
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 0xc
call fcn.00448ed0
mov ecx, dword [ebp - 0x470]
mov byte [ebp - 4], 0xd
test ecx, ecx
je 0x44f766
mov eax, edi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x44f766
mov dword [ebp - 0x470], 0
mov eax, dword [ecx]
call dword [eax]
push 0
push dword [ebp - 0x438]
lea ecx, [ebp - 0x41c]
mov byte [ebp - 4], 9
push dword [ebp - 0x430]
call fcn.004531c0
test al, al
jne 0x44f7b2
push 0
push 0x3a
lea ecx, [ebp - 0x41c]
call fcn.00452060
cmp eax, dword [0x64e190]
jne 0x44f7b2
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x438]
call fcn.00451be0
jmp 0x44f81b
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x434]
mov dword [ebp - 0x438], eax
mov eax, dword [ebp - 0x418]
cmp ecx, eax
je 0x44f80f
test ecx, ecx
je 0x44f7f0
mov eax, edi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x44f7ea
mov dword [ebp - 0x434], 0
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x434], eax
test eax, eax
je 0x44f80f
lea esi, [eax + 4]
nop dword [eax]
mov edx, dword [esi]
mov eax, edx
lea ecx, [edx + 1]
lock cmpxchg dword [esi], ecx
cmp eax, edx
jne 0x44f800
mov eax, dword [ebp - 0x414]
mov dword [ebp - 0x430], eax
mov edx, dword [0x65544c]
mov ecx, edx
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0x5c763c
mov dword [ebp - 0x420], 4
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44f852
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x450]
call fcn.00451de0
push 0x64e004
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.0044f920
add esp, 0xc
mov bl, al
mov ecx, dword [ebp - 0x44c]
mov byte [ebp - 4], 0xf
test ecx, ecx
je 0x44f8ab
mov edx, edi
lock xadd dword [ecx + 4], edx
dec edx
jne 0x44f8ab
mov dword [ebp - 0x44c], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x434]
mov byte [ebp - 4], 0x10
test ecx, ecx
je 0x44f8d1
mov eax, edi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x44f8d1
mov dword [ebp - 0x434], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x418]
mov dword [ebp - 4], 0x11
test ecx, ecx
je 0x44f8f8
lock xadd dword [ecx + 4], edi
dec edi
jne 0x44f8f8
mov dword [ebp - 0x418], 0
mov eax, dword [ecx]
call dword [eax]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00592832
mov esp, ebp
pop ebp
ret