Function at 0x4b87a5
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4c64
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1a18
call fcn.004d48a0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1a24], edi
movzx eax, dx
dec eax
cmp eax, 0x1f
ja case.0x4b79c1.2
movzx eax, byte [eax + 0x4b8eb4]
jmp dword [eax*4 + 0x4b8e74]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp case.0x4b79c1.2
shr edx, 0x10
mov eax, 8
cmp ax, dx
jne case.0x4b79c1.2
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
jmp case.0x4b79c1.2
mov eax, dword [0x4ebb90]
cmp eax, 0xffffffff
jne 0x4b7ba7
mov ax, word [0x4e71c8]
movq xmm0, qword [str.._]
push 0xbe
mov word [ebp - 0xe8], ax
lea eax, [ebp - 0xe6]
push 0
push eax
movq qword [ebp - 0xf0], xmm0
call fcn.004c0cc0
add esp, 0xc
lea eax, [ebp - 0xf0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea edi, [ebp - 0xf0]
push 0
push 0
lea edi, [edi + eax*2]
mov eax, dword [ebp - 0x1a24]
push 0x147
push dword [eax + 0x10]
call esi
push edi
mov edi, dword [ebp - 0x1a24]
push eax
push 0x148
push dword [edi + 0x10]
call esi
push 0
push 0x40000000
push 3
push 0
push 0
push 0xc0000000
lea eax, [ebp - 0xf0]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x4ebb90], eax
cmp eax, 0xffffffff
je case.0x4b79c1.2
lea ecx, [ebp - 0x19ec]
mov dword [ebp - 0x19d4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x19ec], xmm0
or dword [ebp - 0x19e4], 1
push ecx
movq qword [ebp - 0x19dc], xmm0
push eax
mov dword [ebp - 0x19ec], 0x1c
mov word [ebp - 0x19da], 8
mov dword [ebp - 0x19e8], 0x1c200
mov byte [ebp - 0x19d8], 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
push 0x400
push 0x400
push dword [0x4ebb90]
call dword [sym.imp.KERNEL32.dll_SetupComm]
push 0xc
push dword [0x4ebb90]
call dword [sym.imp.KERNEL32.dll_PurgeComm]
lea eax, [ebp - 0x1a10]
mov dword [ebp - 0x1a04], 0
push eax
push dword [0x4ebb90]
xorps xmm0, xmm0
mov dword [ebp - 0x1a00], 0xffffffff
movlpd qword [ebp - 0x1a10], xmm0
mov dword [ebp - 0x1a08], 0xffffffff
call dword [sym.imp.KERNEL32.dll_SetCommTimeouts]
push 0
push 0
push edi
push 0x4b9250
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push dword [edi + 0x10]
mov dword [0x4ede50], eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [edi + 0x14]
push 0x4e71cc
add eax, 0xc
push 0xc8
push eax
call fcn.004b5c10
mov ecx, dword [edi + 0x14]
add esp, 0xc
mov edx, dword [ecx + 8]
call fcn.004bd780
jmp case.0x4b79c1.2
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
push 1
push dword [0x4ede50]
mov dword [0x4ebb90], 0xffffffff
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x4ede50]
call esi
push 1
push dword [edi + 0x10]
mov dword [0x4ede50], 0
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [edi + 0x14]
push 0x4e6fa4
add eax, 0xc
push 0xc8
push eax
call fcn.004b5c10
mov ecx, dword [edi + 0x14]
add esp, 0xc
mov edx, dword [ecx + 8]
call fcn.004bd780
mov eax, dword [edi + 0x40]
push 0x4e6efc
add eax, 8
push 0xc8
push eax
call fcn.004b5c10
mov ecx, dword [edi + 0x40]
add esp, 0xc
call fcn.004be760
mov eax, dword [edi + 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
add eax, 0xc
push eax
push 0x4e71d4
call esi
test eax, eax
jne 0x4b7c71
push 1
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [edi + 0x38]
push 0x4e6ff0
add eax, 0xc
push 0xc8
push eax
call fcn.004b5c10
mov ecx, dword [edi + 0x38]
add esp, 0xc
mov edx, dword [ecx + 8]
call fcn.004bd780
mov eax, dword [edi + 0x44]
add eax, 0xc
push eax
push 0x4e71d4
call esi
test eax, eax
jne case.0x4b79c1.2
mov eax, dword [edi + 0x44]
push 0x4e7004
add eax, 0xc
push 0xc8
push eax
call fcn.004b5c10
mov ecx, dword [edi + 0x44]
add esp, 0xc
mov edx, dword [ecx + 8]
call fcn.004bd780
jmp case.0x4b79c1.2
mov al, 7
mov dword [ebp - 0x1c], 0x2001b68
movzx ecx, al
mov dl, 1
movzx eax, dl
mov dh, 2
add ecx, eax
mov byte [ebp - 0x16], 0
movzx eax, dh
mov edx, 7
add ecx, eax
mov word [ebp - 0x18], 0x701
movzx eax, byte [ebp - 0x1a]
add ecx, eax
movzx eax, byte [ebp - 0x1b]
add ecx, eax
movzx eax, byte [ebp - 0x1c]
add ecx, eax
lea eax, [ebp - 0x1a24]
mov byte [ebp - 0x16], cl
lea ecx, [ebp - 0x1c]
push eax
call fcn.004b4ba0
test al, al
je 0x4b7d7f
push dword [ebp - 0x1a24]
mov esi, 4
call fcn.004c2c20
dec eax
add esp, 4
cmp eax, esi
jbe 0x4b7d55
nop dword [eax]
mov eax, dword [ebp - 0x1a24]
movzx eax, byte [esi + eax]
push eax
mov eax, dword [edi + 0x1c]
push 0x4e7170
push 0xc8
lea eax, [eax + esi*2]
push eax
call fcn.004b5c10
push dword [ebp - 0x1a24]
inc esi
call fcn.004c2c20
dec eax
add esp, 0x14
cmp esi, eax
jb 0x4b7d20
mov esi, dword [ebp - 0x1a24]
push esi
call fcn.004bf3dd
add esp, 4
test esi, esi
je 0x4b7d98
mov ecx, dword [edi + 0x1c]
mov dword [ebp - 0x1a24], 0x8123
call fcn.004be760
jmp case.0x4b79c1.2
mov eax, dword [edi + 0x1c]
push 0x4e6fb8
add eax, 8
push 0xc8
push eax
call fcn.004b5c10
add esp, 0xc
mov ecx, dword [edi + 0x1c]
call fcn.004be760
jmp case.0x4b79c1.2
mov dl, 1
mov dword [ebp - 0x1c], 0x2001b68
mov al, dl
mov byte [ebp - 0x16], 0
movzx ecx, al
mov dh, 2
movzx eax, dl
add ecx, eax
mov word [ebp - 0x18], 0x101
movzx eax, dh
mov edx, 7
add ecx, eax
movzx eax, byte [ebp - 0x1a]
add ecx, eax
movzx eax, byte [ebp - 0x1b]
add ecx, eax
movzx eax, byte [ebp - 0x1c]
add ecx, eax
lea eax, [ebp - 0x1a24]
mov byte [ebp - 0x16], cl
lea ecx, [ebp - 0x1c]
push eax
call fcn.004b4ba0
test al, al
je 0x4b7e6f
push dword [ebp - 0x1a24]
mov esi, 4
call fcn.004c2c20
dec eax
add esp, 4
cmp eax, esi
jbe 0x4b7e45
nop
mov eax, dword [ebp - 0x1a24]
movzx eax, byte [esi + eax]
push eax
mov eax, dword [edi + 0x28]
push 0x4e71dc
push 0xc8
lea eax, [eax + esi*2]
push eax
call fcn.004b5c10
push dword [ebp - 0x1a24]
inc esi
call fcn.004c2c20
dec eax
add esp, 0x14
cmp esi, eax
jb 0x4b7e10
mov esi, dword [ebp - 0x1a24]
push esi
call fcn.004bf3dd
add esp, 4
test esi, esi
je 0x4b7e88
mov ecx, dword [edi + 0x28]
mov dword [ebp - 0x1a24], 0x8123
call fcn.004be760
jmp case.0x4b79c1.2
mov eax, dword [edi + 0x28]
push 0x4e6efc
add eax, 8
push 0xc8
push eax
call fcn.004b5c10
add esp, 0xc
mov ecx, dword [edi + 0x28]
call fcn.004be760
jmp case.0x4b79c1.2
mov eax, dword [edi + 0x38]
add eax, 0xc
push eax
push 0x4e6ff0
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x4b801f
cmp dword [0x4ebb90], 0xffffffff
je 0x4b8003
push dword [edi + 0x34]
mov esi, dword [sym.imp.USER32.dll_GetWindowTextLengthW]
call esi
test eax, eax
je 0x4b8003
push 0x3fa
lea eax, [ebp - 0x62a]
mov dword [ebp - 0x630], 0x2001b68
push 0
push eax
mov byte [ebp - 0x62b], 2
call fcn.004c0cc0
add esp, 0xc
push dword [edi + 0x34]
call esi
inc al
mov byte [ebp - 0x62c], al
lea eax, [ebp - 0xf0]
push 0x64
push eax
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_GetWindowTextW]
movzx eax, byte [ebp - 0x62c]
xor esi, esi
movzx ecx, byte [ebp - 0x62b]
push dword [edi + 0x34]
add ecx, eax
movzx eax, byte [ebp - 0x62d]
add ecx, eax
movzx eax, byte [ebp - 0x62e]
add ecx, eax
movzx eax, byte [ebp - 0x62f]
add ecx, eax
movzx eax, byte [ebp - 0x630]
add ecx, eax
mov dword [ebp - 0x1a24], ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x4b7f87
nop
mov al, byte [ebp + esi*2 - 0xf0]
push dword [edi + 0x34]
sub al, 0x30
mov byte [ebp + esi - 0x62a], al
inc esi
movzx eax, al
add dword [ebp - 0x1a24], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp esi, eax
jl 0x4b7f60
push dword [edi + 0x34]
mov esi, dword [sym.imp.USER32.dll_GetWindowTextLengthW]
call esi
mov ecx, dword [ebp - 0x1a24]
push 0
push dword [edi + 0x34]
mov byte [ebp + eax - 0x62a], cl
call esi
lea ecx, [ebp - 0x630]
lea edx, [eax + 7]
call fcn.004b4ba0
push 0
test al, al
je 0x4b8005
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [edi + 0x38]
push 0x4e71d4
add eax, 0xc
push 0xc8
push eax
call fcn.004b5c10
mov ecx, dword [edi + 0x38]
add esp, 0xc
mov edx, dword [ecx + 8]
call fcn.004bd780
push 0
push 0
push 0x4e71e4
push 0x4e71fc
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxExW]
jmp case.0x4b79c1.2
push 0
push 0
push 0x4e71e4
push 0x4e71ec
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxExW]
jmp case.0x4b79c1.2
mov al, 3
mov dword [ebp - 0x1c], 0x2001b68
movzx ecx, al
mov dl, 1
movzx eax, dl
mov dh, 2
add ecx, eax
mov byte [ebp - 0x16], 0
movzx eax, dh
mov edx, 7
add ecx, eax
mov word [ebp - 0x18], 0x301
movzx eax, byte [ebp - 0x1a]
add ecx, eax
movzx eax, byte [ebp - 0x1b]
add ecx, eax
movzx eax, byte [ebp - 0x1c]
add ecx, eax
mov byte [ebp - 0x16], cl
lea ecx, [ebp - 0x1c]
push 0
call fcn.004b4ba0
test al, al
je 0x4b80b6
push 1
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [edi + 0x38]
push 0x4e6ff0
add eax, 0xc
push 0xc8
push eax
call fcn.004b5c10
mov ecx, dword [edi + 0x38]
mov edx, dword [ecx + 8]
add esp, 0xc
call fcn.004bd780
push 0
push 0
push 0x4e71e4
push 0x4e720c
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxExW]
jmp case.0x4b79c1.2
push 0
push 0
push 0x4e71e4
push 0x4e721c
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxExW]
jmp case.0x4b79c1.2
mov eax, dword [edi + 0x44]
add eax, 0xc
push eax
push 0x4e7004
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x4b81cb
cmp dword [0x4ebb90], 0xffffffff
je 0x4b81af
mov eax, dword [edi + 0x40]
cmp word [eax + 8], 0
je 0x4b81af
mov al, 4
mov dword [ebp - 0x1c], 0x2001b68
movzx ecx, al
mov dl, 1
movzx eax, dl
mov dh, 2
add ecx, eax
mov byte [ebp - 0x16], 0
movzx eax, dh
mov edx, 7
add ecx, eax
mov word [ebp - 0x18], 0x401
movzx eax, byte [ebp - 0x1a]
add ecx, eax
movzx eax, byte [ebp - 0x1b]
add ecx, eax
movzx eax, byte [ebp - 0x1c]
add ecx, eax
mov byte [ebp - 0x16], cl
lea ecx, [ebp - 0x1c]
push 0
call fcn.004b4ba0
test al, al
je 0x4b8193
mov eax, dword [edi + 0x44]
push 0x4e71d4
add eax, 0xc
push 0xc8
push eax
call fcn.004b5c10
mov ecx, dword [edi + 0x44]
add esp, 0xc
mov edx, dword [ecx + 8]
call fcn.004bd780
push 0
push 0
push 0x4e71e4
push 0x4e723c
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxExW]
jmp case.0x4b79c1.2
push 0
push 0
push 0x4e71e4
push 0x4e722c
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxExW]
jmp case.0x4b79c1.2
push 0
push 0
push 0x4e71e4
push 0x4e722c
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxExW]
jmp case.0x4b79c1.2
mov al, 3
mov dword [ebp - 0x1c], 0x2001b68
movzx ecx, al
mov dl, 1
movzx eax, dl
mov dh, 2
add ecx, eax
mov byte [ebp - 0x16], 0
movzx eax, dh
mov edx, 7
add ecx, eax
mov word [ebp - 0x18], 0x301
movzx eax, byte [ebp - 0x1a]
add ecx, eax
movzx eax, byte [ebp - 0x1b]
add ecx, eax
movzx eax, byte [ebp - 0x1c]
add ecx, eax
mov byte [ebp - 0x16], cl
lea ecx, [ebp - 0x1c]
push 0
call fcn.004b4ba0
test al, al
je 0x4b80b6
mov eax, dword [edi + 0x40]
push 0x4e6efc
add eax, 8
push 0xc8
push eax
call fcn.004b5c10
mov ecx, dword [edi + 0x40]
add esp, 0xc
call fcn.004be760
mov eax, dword [edi + 0x44]
push 0x4e7004
add eax, 0xc
push 0xc8
push eax
call fcn.004b5c10
mov ecx, dword [edi + 0x44]
jmp 0x4b808f
cmp dword [0x4ebb90], 0xffffffff
je 0x4b8396
push dword [edi + 0x4c]
mov esi, dword [sym.imp.USER32.dll_GetWindowTextLengthW]
call esi
test eax, eax
je 0x4b8396
push 0x3fa
lea eax, [ebp - 0x62a]
mov dword [ebp - 0x630], 0x2001b68
push 0
push eax
mov byte [ebp - 0x62b], 0x10
call fcn.004c0cc0
add esp, 0xc
push dword [edi + 0x4c]
call esi
inc al
mov byte [ebp - 0x62c], al
lea eax, [ebp - 0xf0]
push 0x64
push eax
push dword [edi + 0x4c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
movzx eax, byte [ebp - 0x62c]
xor esi, esi
movzx ecx, byte [ebp - 0x62b]
push dword [edi + 0x4c]
add ecx, eax
movzx eax, byte [ebp - 0x62d]
add ecx, eax
movzx eax, byte [ebp - 0x62e]
add ecx, eax
movzx eax, byte [ebp - 0x62f]
add ecx, eax
movzx eax, byte [ebp - 0x630]
add ecx, eax
mov dword [ebp - 0x1a24], ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x4b8337
nop dword [eax]
mov al, byte [ebp + esi*2 - 0xf0]
push dword [edi + 0x4c]
sub al, 0x30
mov byte [ebp + esi - 0x62a], al
inc esi
movzx eax, al
add dword [ebp - 0x1a24], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp esi, eax
jl 0x4b8310
push dword [edi + 0x4c]
mov esi, dword [sym.imp.USER32.dll_GetWindowTextLengthW]
call esi
mov ecx, dword [ebp - 0x1a24]
push 0
push dword [edi + 0x4c]
mov byte [ebp + eax - 0x62a], cl
call esi
lea ecx, [ebp - 0x630]
lea edx, [eax + 7]
call fcn.004b4ba0
mov ecx, dword [edi + 4]
push 0
push 0
push 0x4e71e4
test al, al
je 0x4b8385
push 0x4e7264
push ecx
call dword [sym.imp.USER32.dll_MessageBoxExW]
jmp case.0x4b79c1.2
push 0x4e724c
push ecx
call dword [sym.imp.USER32.dll_MessageBoxExW]
jmp case.0x4b79c1.2
push 0
push 0
push 0x4e71e4
push 0x4e724c
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxExW]
jmp case.0x4b79c1.2
cmp dword [0x4ebb90], 0xffffffff
je 0x4b84e7
push dword [edi + 0x58]
mov esi, dword [sym.imp.USER32.dll_GetWindowTextLengthW]
call esi
test eax, eax
je 0x4b84e7
push 0x3fa
lea eax, [ebp - 0x62a]
mov dword [ebp - 0x630], 0x2001b68
push 0
push eax
mov byte [ebp - 0x62b], 0x11
call fcn.004c0cc0
add esp, 0xc
push dword [edi + 0x58]
call esi
inc al
mov byte [ebp - 0x62c], al
lea eax, [ebp - 0xf0]
push 0x64
push eax
push dword [edi + 0x58]
call dword [sym.imp.USER32.dll_GetWindowTextW]
movzx eax, byte [ebp - 0x62c]
xor esi, esi
movzx ecx, byte [ebp - 0x62b]
push dword [edi + 0x58]
add ecx, eax
movzx eax, byte [ebp - 0x62d]
add ecx, eax
movzx eax, byte [ebp - 0x62e]
add ecx, eax
movzx eax, byte [ebp - 0x62f]
add ecx, eax
movzx eax, byte [ebp - 0x630]
add ecx, eax
mov dword [ebp - 0x1a24], ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x4b8488
mov al, byte [ebp + esi*2 - 0xf0]
push dword [edi + 0x58]
sub al, 0x30
mov byte [ebp + esi - 0x62a], al
inc esi
movzx eax, al
add dword [ebp - 0x1a24], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp esi, eax
jl 0x4b8461
push dword [edi + 0x58]
mov esi, dword [sym.imp.USER32.dll_GetWindowTextLengthW]
call esi
mov ecx, dword [ebp - 0x1a24]
push 0
push dword [edi + 0x58]
mov byte [ebp + eax - 0x62a], cl
call esi
lea ecx, [ebp - 0x630]
lea edx, [eax + 7]
call fcn.004b4ba0
mov ecx, dword [edi + 4]
push 0
push 0
push 0x4e71e4
test al, al
je 0x4b84d6
push 0x4e7294
push ecx
call dword [sym.imp.USER32.dll_MessageBoxExW]
jmp case.0x4b79c1.2
push 0x4e727c
push ecx
call dword [sym.imp.USER32.dll_MessageBoxExW]
jmp case.0x4b79c1.2
push 0
push 0
push 0x4e71e4
push 0x4e727c
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxExW]
jmp case.0x4b79c1.2
cmp dword [0x4ebb90], 0xffffffff
je 0x4b8638
push dword [edi + 0x64]
mov esi, dword [sym.imp.USER32.dll_GetWindowTextLengthW]
call esi
test eax, eax
je 0x4b8638
push 0x3fa
lea eax, [ebp - 0x62a]
mov dword [ebp - 0x630], 0x2001b68
push 0
push eax
mov byte [ebp - 0x62b], 0x12
call fcn.004c0cc0
add esp, 0xc
push dword [edi + 0x64]
call esi
inc al
mov byte [ebp - 0x62c], al
lea eax, [ebp - 0xf0]
push 0x64
push eax
push dword [edi + 0x64]
call dword [sym.imp.USER32.dll_GetWindowTextW]
movzx eax, byte [ebp - 0x62c]
xor esi, esi
movzx ecx, byte [ebp - 0x62b]
push dword [edi + 0x64]
add ecx, eax
movzx eax, byte [ebp - 0x62d]
add ecx, eax
movzx eax, byte [ebp - 0x62e]
add ecx, eax
movzx eax, byte [ebp - 0x62f]
add ecx, eax
movzx eax, byte [ebp - 0x630]
add ecx, eax
mov dword [ebp - 0x1a24], ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x4b85d9
mov al, byte [ebp + esi*2 - 0xf0]
push dword [edi + 0x64]
sub al, 0x30
mov byte [ebp + esi - 0x62a], al
inc esi
movzx eax, al
add dword [ebp - 0x1a24], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp esi, eax
jl 0x4b85b2
push dword [edi + 0x64]
mov esi, dword [sym.imp.USER32.dll_GetWindowTextLengthW]
call esi
mov ecx, dword [ebp - 0x1a24]
push 0
push dword [edi + 0x64]
mov byte [ebp + eax - 0x62a], cl
call esi
lea ecx, [ebp - 0x630]
lea edx, [eax + 7]
call fcn.004b4ba0
mov ecx, dword [edi + 4]
push 0
push 0
push 0x4e71e4
test al, al
je 0x4b8627
push 0x4e72c4
push ecx
call dword [sym.imp.USER32.dll_MessageBoxExW]
jmp case.0x4b79c1.2
push 0x4e72ac
push ecx
call dword [sym.imp.USER32.dll_MessageBoxExW]
jmp case.0x4b79c1.2
push 0
push 0
push 0x4e71e4
push 0x4e72ac
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxExW]
jmp case.0x4b79c1.2
cmp dword [0x4ebb90], 0xffffffff
je 0x4b8789
push dword [edi + 0x70]
mov esi, dword [sym.imp.USER32.dll_GetWindowTextLengthW]
call esi
test eax, eax
je 0x4b8789
push 0x3fa
lea eax, [ebp - 0x62a]
mov dword [ebp - 0x630], 0x2001b68
push 0
push eax
mov byte [ebp - 0x62b], 0x13
call fcn.004c0cc0
add esp, 0xc
push dword [edi + 0x70]
call esi
inc al
mov byte [ebp - 0x62c], al
lea eax, [ebp - 0xf0]
push 0x64
push eax
push dword [edi + 0x70]
call dword [sym.imp.USER32.dll_GetWindowTextW]
movzx eax, byte [ebp - 0x62c]
xor esi, esi
movzx ecx, byte [ebp - 0x62b]
push dword [edi + 0x70]
add ecx, eax
movzx eax, byte [ebp - 0x62d]
add ecx, eax
movzx eax, byte [ebp - 0x62e]
add ecx, eax
movzx eax, byte [ebp - 0x62f]
add ecx, eax
movzx eax, byte [ebp - 0x630]
add ecx, eax
mov dword [ebp - 0x1a24], ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x4b872a
mov al, byte [ebp + esi*2 - 0xf0]
push dword [edi + 0x70]
sub al, 0x30
mov byte [ebp + esi - 0x62a], al
inc esi
movzx eax, al
add dword [ebp - 0x1a24], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp esi, eax
jl 0x4b8703
push dword [edi + 0x70]
mov esi, dword [sym.imp.USER32.dll_GetWindowTextLengthW]
call esi
mov ecx, dword [ebp - 0x1a24]
push 0
push dword [edi + 0x70]
mov byte [ebp + eax - 0x62a], cl
call esi
lea ecx, [ebp - 0x630]
lea edx, [eax + 7]
call fcn.004b4ba0
mov ecx, dword [edi + 4]
push 0
push 0
push 0x4e71e4
test al, al
je 0x4b8778
push 0x4e72f4
push ecx
call dword [sym.imp.USER32.dll_MessageBoxExW]
jmp case.0x4b79c1.2
push 0x4e72dc
push ecx
call dword [sym.imp.USER32.dll_MessageBoxExW]
jmp case.0x4b79c1.2
push 0
push 0
push 0x4e71e4
push 0x4e72dc
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxExW]
jmp case.0x4b79c1.2
cmp dword [0x4ebb90], 0xffffffff
je 0x4b8b35
mov al, 6
mov dword [ebp - 0x24], 0x2001b68
movzx ecx, al
mov dl, 1
movzx eax, dl
mov dh, 2
add ecx, eax
mov byte [ebp - 0x1e], 0
movzx eax, dh
mov edx, 7
add ecx, eax
mov word [ebp - 0x20], 0x601
movzx eax, byte [ebp - 0x22]
add ecx, eax
movzx eax, byte [ebp - 0x23]
add ecx, eax
movzx eax, byte [ebp - 0x24]
add ecx, eax
lea eax, [ebp - 0x1a24]
mov byte [ebp - 0x1e], cl
lea ecx, [ebp - 0x24]
push eax
call fcn.004b4ba0
test al, al
je 0x4b8b35
lea eax, [ebp - 0x230]
push eax
push 1
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x4e731c
mov edx, 0x104
lea ecx, [ebp - 0x230]
call fcn.004b40b0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.004b2c20
add esp, 8
lea eax, [ebp - 0x1a20]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x1a14]
push eax
movzx eax, word [ebp - 0x1a16]
push eax
movzx eax, word [ebp - 0x1a18]
push eax
movzx eax, word [ebp - 0x1a1a]
push eax
movzx eax, word [ebp - 0x1a1e]
push eax
movzx eax, word [ebp - 0x1a20]
push eax
push 0x4e7360
lea eax, [ebp - 0x11d0]
push 0x7d0
push eax
call fcn.004b5c10
mov esi, dword [0x4ede6c]
add esp, 0x24
test esi, esi
je 0x4b88ce
mov eax, dword [esi + 4]
test eax, eax
je 0x4b88b9
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 4], 0
push 0x18
push esi
call fcn.004bf412
add esp, 8
mov dword [0x4ede6c], 0
push 0
lea eax, [ebp - 0x19fc]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, dword [ebp - 0x19fc]
mov eax, dword [ebp - 0x19f4]
add ecx, 0xfffffed4
add eax, ecx
mov ecx, dword [ebp - 0x19f8]
sar eax, 1
add ecx, 0xfffffe48
mov dword [ebp - 0x19e0], eax
add eax, 0x12c
mov dword [ebp - 0x19d8], eax
mov eax, dword [ebp - 0x19f0]
add eax, ecx
sar eax, 1
mov dword [ebp - 0x19dc], eax
add eax, 0x1b8
push 0x18
mov dword [ebp - 0x19d4], eax
call fcn.004bf3e2
add esp, 4
mov dword [ebp - 0x1a28], eax
lea ecx, [ebp - 0x19e0]
mov dword [ebp - 4], 0
push ecx
push 0x4e73e8
push dword [edi + 4]
mov ecx, eax
call fcn.004bea20
mov dword [ebp - 4], 0xffffffff
lea edi, [ebp - 0x19d0]
mov dword [0x4ede6c], eax
mov esi, 4
mov eax, dword [ebp - 0x1a24]
movzx eax, byte [esi + eax]
push eax
push 0x4e7170
push 0x400
push edi
call fcn.004b5c10
inc esi
add esp, 0x10
add edi, 2
cmp esi, 0xf
jb 0x4b8973
xor eax, eax
mov word [ebp - 0x19ba], ax
lea eax, [ebp - 0x19d0]
push eax
mov eax, dword [0x4ede6c]
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp - 0x11d0]
push eax
call edi
mov esi, 0x7d0
sub esi, eax
lea eax, [ebp - 0x11d0]
push eax
call edi
lea ecx, [ebp - 0x11d0]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x19d0]
push ecx
push 0x4e73f4
push esi
push eax
call fcn.004b5c10
push dword [ebp - 0x1a24]
xor edi, edi
call fcn.004c2c20
sub eax, 0x10
add esp, 0x14
test eax, 0xfffffffe
jbe 0x4b8a5d
mov eax, 0x10
lea ecx, [ebp - 0x19d0]
sub eax, ecx
mov dword [ebp - 0x1a28], eax
mov esi, dword [ebp - 0x1a24]
lea edx, [ebp - 0x19d0]
add eax, esi
lea edx, [edx + edi*2]
push esi
movzx ecx, byte [eax + edx]
movzx eax, byte [esi + edi*2 + 0xf]
inc edi
shl ax, 8
or cx, ax
mov word [edx], cx
call fcn.004c2c20
sub eax, 0x10
add esp, 4
shr eax, 1
cmp edi, eax
mov eax, dword [ebp - 0x1a28]
jb 0x4b8a20
push dword [ebp - 0x1a24]
call fcn.004c2c20
sub eax, 0x10
add esp, 4
and eax, 0xfffffffe
cmp eax, 0x800
jae 0x4b8e6f
xor ecx, ecx
mov word [ebp + eax - 0x19d0], cx
lea eax, [ebp - 0x19d0]
push eax
mov eax, dword [0x4ede6c]
push dword [eax + 0x14]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp - 0x11d0]
push eax
call edi
mov esi, 0x7d0
sub esi, eax
lea eax, [ebp - 0x11d0]
push eax
call edi
lea ecx, [ebp - 0x11d0]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x19d0]
push ecx
push str._ls_
push esi
push eax
call fcn.004b5c10
mov esi, dword [ebp - 0x1a24]
push esi
call fcn.004bf3dd
add esp, 0x14
test esi, esi
je 0x4b8af3
mov dword [ebp - 0x1a24], 0x8123
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x1a28]
push 0
push eax
push 0
push 0xffffffffffffffff
lea edx, [ebp - 0x11d0]
call fcn.004782c0
mov esi, dword [ebp - 0x1a28]
push esi
call fcn.004311e0
add esp, 0x14
push esi
call fcn.0042ff80
mov ecx, dword [ebp - 0x1c]
add esp, 4
xor edx, edx
call fcn.004afb00
jmp case.0x4b79c1.2
mov esi, dword [0x4ede6c]
test esi, esi
je 0x4b8b69
mov eax, dword [esi + 4]
test eax, eax
je 0x4b8b54
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 4], 0
push 0x18
push esi
call fcn.004bf412
add esp, 8
mov dword [0x4ede6c], 0
push 0
push 0
push 0x4e71e4
push 0x4e730c
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxExW]
jmp case.0x4b79c1.2
mov eax, dword [0x4ede60]
test eax, eax
je 0x4b8b9c
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetActiveWindow]
jmp case.0x4b79c1.2
push 0
lea eax, [ebp - 0x19e0]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, dword [ebp - 0x19e0]
mov eax, dword [ebp - 0x19d8]
add ecx, 0xfffffed4
add eax, ecx
mov ecx, dword [ebp - 0x19dc]
sar eax, 1
add ecx, 0xfffffe0c
mov dword [ebp - 0x19fc], eax
add eax, 0x12c
mov dword [ebp - 0x19f4], eax
mov eax, dword [ebp - 0x19d4]
add eax, ecx
sar eax, 1
mov dword [ebp - 0x19f8], eax
add eax, 0x1f4
push 0x1c
mov dword [ebp - 0x19f0], eax
call fcn.004bf3e2
add esp, 4
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x19fc]
mov dword [ebp - 4], 1
push ecx
push ecx
push dword [edi + 4]
mov ecx, eax
call fcn.004ba270
mov dword [0x4ede60], eax
jmp case.0x4b79c1.2
mov eax, dword [0x4ede58]
test eax, eax
je 0x4b8cb3
push 0x64
lea ecx, [ebp - 0xf0]
push ecx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x4e7414
lea eax, [ebp - 0xf0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x4b8c7f
mov eax, dword [0x4ede58]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetActiveWindow]
cmp dword [0x4ede58], 0
jne case.0x4b79c1.2
jmp 0x4b8cb3
mov esi, dword [0x4ede58]
test esi, esi
je 0x4b8ca9
mov eax, dword [esi + 4]
test eax, eax
je 0x4b8c9e
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 4], 0
push 0x10
push esi
call fcn.004bf412
add esp, 8
mov dword [0x4ede58], 0
push 0
lea eax, [ebp - 0x19e0]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, dword [ebp - 0x19e0]
mov eax, dword [ebp - 0x19d8]
add ecx, 0xfffffda8
add eax, ecx
mov ecx, dword [ebp - 0x19dc]
sar eax, 1
add ecx, 0xfffffe0c
mov dword [ebp - 0x19fc], eax
add eax, 0x258
mov dword [ebp - 0x19f4], eax
mov eax, dword [ebp - 0x19d4]
add eax, ecx
sar eax, 1
mov dword [ebp - 0x19f8], eax
add eax, 0x1f4
push 0x10
mov dword [ebp - 0x19f0], eax
call fcn.004bf3e2
add esp, 4
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x19fc]
mov dword [ebp - 4], 2
push ecx
push 0x4e7414
jmp 0x4b8e40
mov eax, dword [0x4ede58]
test eax, eax
je 0x4b8dbf
push 0x64
lea ecx, [ebp - 0xf0]
push ecx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x4e7420
lea eax, [ebp - 0xf0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x4b8d8b
mov eax, dword [0x4ede58]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetActiveWindow]
cmp dword [0x4ede58], 0
jne case.0x4b79c1.2
jmp 0x4b8dbf
mov esi, dword [0x4ede58]
test esi, esi
je 0x4b8db5
mov eax, dword [esi + 4]
test eax, eax
je 0x4b8daa
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 4], 0
push 0x10
push esi
call fcn.004bf412
add esp, 8
mov dword [0x4ede58], 0
push 0
lea eax, [ebp - 0x1a0c]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, dword [ebp - 0x1a0c]
mov eax, dword [ebp - 0x1a04]
add ecx, 0xfffffda8
add eax, ecx
mov ecx, dword [ebp - 0x1a08]
sar eax, 1
add ecx, 0xfffffe0c
mov dword [ebp - 0x19e0], eax
add eax, 0x258
mov dword [ebp - 0x19d8], eax
mov eax, dword [ebp - 0x1a00]
add eax, ecx
sar eax, 1
mov dword [ebp - 0x19dc], eax
add eax, 0x1f4
push 0x10
mov dword [ebp - 0x19d4], eax
call fcn.004bf3e2
add esp, 4
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x19e0]
mov dword [ebp - 4], 3
push ecx
push 0x4e7420
push dword [edi + 4]
mov ecx, eax
call fcn.004b9260
mov dword [0x4ede58], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004bf1a3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.004bf2d4
enter 0x4b79, 0
salc
jns 4951750
add ch, dh
jns 0x4b8eca
add byte [eax - 0x5affb484], dh
jge 0x4b8ed2
add byte [ebp - 0x2dffb482], dl
or byte [ebx], 0x5a
or byte [ebx], 0xb2
or dword [ebx], 3
test dword [ebx], ecx
push esp
xchg byte [ebx], cl
movsd dword es:[edi], dword [esi]
xchg dword [ebx], ecx
test dword [ebx - 0x73d2ffb5], ecx
dec ebx
add byte [ecx], bh
lea ecx, [ebx]
dec edi
mov cs, word [ebx]
add byte [edi], cl
add dword [edx], eax
invalid
pop es
invalid
invalid
or eax, 0xcccccc0e
int3