Function at 0x44f33d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x488548]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x44f46d
mov ecx, dword [ecx + 0x30]
test ecx, ecx
je 0x44f46d
mov edi, ecx
lea edx, [edi + 0x2c]
mov eax, edx
lea ecx, [eax + 2]
mov bx, word [eax]
inc eax
inc eax
test bx, bx
jne 0x44f37e
sub eax, ecx
sar eax, 1
cmp word [edi], 0x47
lea ebx, [eax + eax + 0x2e]
jne 0x44f3fb
cmp dword [0x48a220], 0
je 0x44f3bf
movzx eax, word [edi + 0x20]
push edx
shl eax, 0x10
or eax, 0xba63
push eax
push dword [0x48b024]
push dword [0x48a220]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x18]
add edi, ebx
mov dword [eax + 0x30], edi
test edi, edi
je 0x44f81b
lea edx, [edi + 0x2c]
mov eax, edx
lea ebx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x44f3d7
sub eax, ebx
sar eax, 1
lea ebx, [eax + eax + 0x2e]
movzx eax, word [edi]
test ax, ax
je 0x44f81b
cmp ax, 0x47
je 0x44f396
lea edx, [esi + 0x38]
mov eax, edi
sub edx, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
inc eax
inc eax
test cx, cx
jne 0x44f402
mov eax, dword [edi + 0xc]
mov dword [esi + 0x2c], eax
lea eax, [edi + 0x2c]
mov ecx, esi
sub ecx, eax
lea edx, [ecx + 0x584]
movzx ecx, word [eax]
mov word [edx + eax], cx
inc eax
inc eax
test cx, cx
jne 0x44f423
cmp dword [esi + 0x2274], 0
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 8]
mov dword [ebp - 0x20], ecx
mov ecx, dword [edi + 0x1c]
mov dword [ebp - 0x28], ecx
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x3104], ecx
je 0x44f463
test eax, eax
je 0x44f463
mov dword [ebp - 0x20], 1
mov ecx, dword [ebp - 0x18]
add ebx, edi
mov dword [ecx + 0x30], ebx
jmp 0x44f494
mov ecx, 0x47e504
lea edi, [esi + 0x38]
sub edi, ecx
xor ebx, ebx
movzx edx, word [ecx]
mov word [edi + ecx], dx
inc ecx
inc ecx
cmp dx, bx
jne 0x44f479
or dword [esi + 0x2c], 0xffffffff
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x28], ebx
xor ecx, ecx
cmp dword [esi + 0x2274], ecx
je 0x44f4c3
test byte [0x4870e0], 0x80
jne 0x44f4b1
cmp word [0x488540], 0x41
jbe 0x44f4c3
cmp dword [ebp - 0x1c], ecx
jne 0x44f4c3
push 0x5a
pop edx
mov word [esi + 0x3c], dx
xor edx, edx
mov word [esi + 0x3e], dx
cmp dword [ebp - 0x18], ecx
je 0x44f6b9
mov ecx, dword [ebp - 0x18]
xor edx, edx
inc edx
cmp dword [ecx + 8], edx
jne 0x44f4e1
and dword [ecx + 8], 0
mov dword [esi + 0x3818], ecx
xor edi, edi
cmp dword [ecx + 4], edi
je 0x44f690
cmp dword [ebp - 0x1c], edx
jne 0x44f56f
cmp dword [esi + 0x2274], edi
jne 0x44f50e
cmp eax, edi
je 0x44f50e
movzx eax, word [esi + 0x3c]
cmp ax, di
je 0x44f50e
dec eax
xor eax, edx
inc eax
mov word [esi + 0x3c], ax
cmp dword [0x48a220], edi
je 0x44f52f
push esi
call fcn.0044e545
lea eax, [esi + 0x40]
push eax
call fcn.0045c109
mov edi, eax
test edi, edi
jne 0x44f5df
cmp dword [esi + 0x2c], 0
jge 0x44f541
lea eax, [esi + 0x38]
push eax
call dword [sym.imp.PPLIB32W.DLL__PPxGetHWND_4]
mov edi, eax
test edi, edi
jne 0x44f599
cmp dword [esi + 0x2c], edi
jge 0x44f599
push 1
lea eax, [esi + 0x38]
push eax
push 0xfffffffffffffffe
call dword [sym.imp.PPLIB32W.DLL__PPxRegist_12]
mov dword [esi + 0x28], eax
test eax, eax
jge 0x44f760
lea eax, [esi + 0x38]
push eax
call dword [sym.imp.PPLIB32W.DLL__PPxGetHWND_4]
jmp 0x44f597
cmp dword [0x48a220], edi
je 0x44f587
cmp dword [0x488544], edi
jne 0x44f599
mov edi, dword [0x489764]
jmp 0x44f599
neg eax
sbb eax, eax
add eax, 0xfffffffd
push eax
push 0
call dword [sym.imp.PPLIB32W.DLL__PPcGetWindow_8]
mov edi, eax
cmp dword [ebp - 0x20], 0
je 0x44f5d7
test edi, edi
je 0x44f6b9
cmp dword [ebp - 0x20], 2
je 0x44f5d7
cmp dword [ebp - 0x20], 1
jne 0x44f5bc
mov dword [ebp - 0x20], 3
jmp 0x44f5c0
sub dword [ebp - 0x20], 0x1c
push dword [ebp - 0x20]
push 0xbeff
push dword [0x48b024]
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
test edi, edi
je 0x44f6b9
push dword [ebp - 0x18]
push edi
call fcn.0044f2c2
lea ecx, [esi + 0x584]
xor ebx, ebx
cmp word [ecx], bx
je 0x44f62b
mov eax, ecx
lea edx, [eax + 2]
mov dword [ebp - 0x10], 0x23d
mov dword [ebp - 0x1c], edx
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x44f604
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
sar eax, 1
lea eax, [eax + eax + 2]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0x4a
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 0x3818], ebx
je 0x44f67b
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x10]
mov eax, ecx
lea edx, [eax + 2]
mov dword [ebp - 0x10], 0x148
mov dword [ebp - 0x1c], edx
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x44f648
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
sar eax, 1
lea eax, [eax + eax + 2]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0x4a
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x18]
mov dword [eax + 0xc], ebx
mov dword [esi + 0x3818], ebx
cmp dword [ebp - 0x28], ebx
je 0x44f7b4
push edi
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x44f7b4
cmp dword [ebp - 0x1c], edx
jne 0x44f6b9
cmp word [esi + 0x3c], 0x5a
jne 0x44f6b9
cmp dword [esi + 0x2c], 0
jl 0x44f6b9
push esi
call fcn.0044e545
lea eax, [esi + 0x40]
push eax
call fcn.0045c109
test eax, eax
jne 0x44f7b4
push dword [ebp - 0x1c]
mov ebx, dword [sym.imp.PPLIB32W.DLL__PPxRegist_12]
lea eax, [esi + 0x38]
push eax
push 0xfffffffffffffffe
call ebx
xor ecx, ecx
cmp eax, ecx
mov dword [esi + 0x28], eax
jge 0x44f724
cmp dword [esi + 0x2c], ecx
jge 0x44f724
cmp dword [esi + 0x2274], ecx
je 0x44f7af
mov edi, dword [ebp - 0x18]
xor eax, eax
cmp edi, eax
je 0x44f798
cmp dword [edi + 0x14], eax
je 0x44f798
cmp dword [0x48a220], eax
jne 0x44f798
cmp dword [ebp - 0x1c], 1
jne 0x44f798
push eax
lea eax, [esi + 0x38]
push eax
push 0xfffffffffffffffe
call ebx
mov dword [esi + 0x28], eax
test eax, eax
jl 0x44f7b7
xor edi, edi
cmp dword [esi + 0x2274], edi
je 0x44f760
push esi
call fcn.0044e545
lea eax, [esi + 0x40]
push eax
call fcn.0045c109
test eax, eax
je 0x44f760
cmp dword [esi + 0x28], edi
jl 0x44f753
push 0xffffffffffffffff
lea eax, [esi + 0x38]
push eax
push edi
call ebx
or dword [esi + 0x28], 0xffffffff
push 0x5a
pop eax
mov word [esi + 0x3c], ax
xor eax, eax
mov word [esi + 0x3e], ax
movzx eax, word [esi + 0x3c]
cmp ax, 0x5a
jne 0x44f83c
cmp dword [esi + 0x2274], 0
je 0x44f83c
cmp dword [esi + 0x2c], 0
mov edi, dword [ebp - 0x18]
jge 0x44f78d
push edi
call fcn.004671e4
mov dword [esi + 0x2c], eax
push esi
call fcn.0044e545
jmp 0x44f84a
cmp dword [ebp - 0x1c], eax
jne 0x44f7b7
push 0x5a
pop eax
mov word [esi + 0x3c], ax
xor eax, eax
mov word [esi + 0x3e], ax
jmp 0x44f724
cmp dword [ebp - 0x1c], ecx
je 0x44f79d
mov edi, dword [ebp - 0x18]
xor ecx, ecx
cmp edi, ecx
je 0x44f81b
mov eax, dword [edi + 0x30]
cmp eax, ecx
je 0x44f81b
cmp word [eax], cx
je 0x44f7d7
mov eax, dword [ebp - 0x24]
mov dword [ebp + 0xc], edi
mov dword [ebp + 8], esi
jmp 0x44f353
movzx ebx, word [edi + 0x2e]
mov dword [edi + 0x30], ecx
cmp dword [edi + 0xc], ecx
jne 0x44f7ef
add edi, 0x1c
push edi
call dword [sym.imp.PPLIB32W.DLL__ThFree_4]
xor ecx, ecx
cmp dword [0x489574], ecx
je 0x44f81b
cmp dword [0x4895d8], ecx
je 0x44f81b
cmp ebx, 0x41
jle 0x44f822
mov eax, dword [0x48a22c]
cmp eax, dword [0x48852c]
jge 0x44f822
add esi, 0x10
push esi
push ecx
call fcn.004018c6
xor eax, eax
jmp 0x44f8d2
push ecx
push 0xba53
push dword [0x48b024]
push dword [0x48a220]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x44f81b
mov edi, dword [ebp - 0x18]
push 0x43
pop ecx
mov word [esi + 0x40], cx
mov word [esi + 0x42], ax
test edi, edi
je 0x44f8ac
cmp dword [edi + 8], 2
jne 0x44f8ac
mov eax, dword [0x4895dc]
test eax, eax
je 0x44f8ac
push 0x43
pop ecx
mov word [ebp - 0x14], cx
lea ecx, [ebp - 0x12]
push ecx
push eax
call fcn.00401747
lea ecx, [esi + 0x40]
lea eax, [ebp - 0x14]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x44f89a
test dx, dx
je 0x44f896
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x44f89a
add eax, 4
add ecx, 4
test dx, dx
jne 0x44f874
xor eax, eax
jmp 0x44f89f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x44f8ac
and dword [edi + 8], eax
mov dword [esi + 0x3818], edi
add esi, 0x584
cmp word [esi], 0
jne 0x44f8c6
push esi
push 0x258
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
jmp 0x44f8cf
mov eax, dword [ebp - 0x24]
mov dword [eax], 1
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046890b
leave
ret 0xc