Function at 0x434af0
Capabilities:
Check if file exists
Log keystrokes

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x463ccd
push eax
mov eax, 0x18cc
mov dword fs:[0], esp
call fcn.00454ff0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18e8]
xor ebp, ebp
xor ebx, ebx
cmp esi, 0x270f
push edi
mov dword [esp + 0x14], ebx
jne 0x434ba6
push 0xe88
call fcn.00455403
mov edx, eax
add esp, 4
cmp edx, ebp
je 0x434b66
mov ecx, 0x3a2
xor eax, eax
mov edi, edx
mov esi, edx
rep stosd dword es:[edi], eax
mov dword [edx + 0x99c], ebp
mov dword [edx + 0x9a8], 2
mov dword [edx + 0x9a4], 1
jmp 0x434b68
xor esi, esi
mov ecx, 0x3a2
xor eax, eax
mov edi, esi
push 0x47b420
rep stosd dword es:[edi], eax
lea eax, [esi + 0x8c]
push 0x104
push eax
mov dword [esp + 0x20], esi
call fcn.004088b0
push 0x474484
add esi, 0x64
push 0x14
push esi
call fcn.004088b0
mov ebx, dword [esp + 0x14]
jmp 0x434c27
mov ecx, 0x47b780
call fcn.004438e0
mov ecx, dword [0x47b85c]
mov edx, esi
mov ecx, dword [ecx + 8]
call fcn.0040b460
cmp eax, ebp
je 0x434c1d
lea esi, [eax + 0x10]
cmp esi, ebp
je 0x434c1d
mov ebx, 1
push 0xe88
mov dword [esi + 0x99c], ebx
call fcn.00455403
mov edx, eax
add esp, 4
cmp edx, ebp
je 0x434c0c
mov ecx, 0x3a2
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [edx + 0x99c], ebp
mov dword [edx + 0x9a8], 2
mov dword [edx + 0x9a4], ebx
jmp 0x434c0e
xor edx, edx
mov ecx, 0x3a2
mov edi, edx
mov dword [esp + 0x14], edx
mov ebx, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x47b780
call fcn.00443910
cmp ebx, ebp
je 0x435205
test byte [ebx + 0x9a0], 4
je 0x434c48
push ebx
call fcn.004535f0
add esp, 4
xor eax, eax
jmp 0x43520a
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x56]
mov word [esp + 0x54], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edx, dword [0x46f42c]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x25e]
mov word [esp + 0x25c], bp
mov dword [esp + 0x18], edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.A0CF553A_DB8D_4E04_9993_217653E71080
lea eax, [esp + 0x1c]
push str._s.jpg
push eax
mov dword [esp + 0x18f0], ebp
call fcn.004076f0
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
lea ecx, [esp + 0x25c]
push str.ScanImage
push 0x47afc0
push ecx
call esi
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x25c]
push edx
lea ecx, [esp + 0x58]
push eax
push ecx
call esi
push str.A0CF553A_DB8D_4E04_9993_217653E71080
push ebx
call fcn.00455fe5
add esp, 8
test eax, eax
jne 0x434fb4
lea edx, [esp + 0x54]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x434fb4
lea eax, [esp + 0x54]
push eax
call fcn.004376c0
add esp, 4
test eax, eax
jbe 0x434fb4
mov ecx, dword [esp + 0x18f0]
push ecx
push ebx
lea ecx, [esp + 0x46c]
call fcn.00422170
lea edx, [esp + 0x464]
lea eax, [esp + 0x46c]
push edx
push eax
push 0x47b7a0
mov byte [esp + 0x18f0], 1
call fcn.00408f60
mov eax, dword [0x47b7a8]
push ebp
push 0x4096e0
push ebp
push 0xfa
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
push ebp
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call edi
mov esi, eax
lea eax, [esp + 0x464]
neg eax
sbb eax, eax
lea ecx, [esp + 0x468]
and eax, ecx
push ebp
mov eax, dword [eax]
push eax
call edi
mov edi, eax
cmp esi, edi
je 0x434dc2
mov ebx, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push edi
push esi
call ebx
lea eax, [esp + 0x464]
mov ebp, dword [sym.imp.USER32.dll_SetForegroundWindow]
neg eax
sbb eax, eax
lea edx, [esp + 0x468]
and eax, edx
mov eax, dword [eax]
push eax
call ebp
push 0
push edi
push esi
call ebx
mov ebx, dword [esp + 0x14]
jmp 0x434de1
lea eax, [esp + 0x464]
mov ebp, dword [sym.imp.USER32.dll_SetForegroundWindow]
neg eax
sbb eax, eax
lea ecx, [esp + 0x468]
and eax, ecx
mov eax, dword [eax]
push eax
call ebp
mov edx, dword [esp + 0x468]
push 0x43
push 0
push 0
push 0
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [esp + 0x464]
lea ecx, [esp + 0x468]
neg eax
sbb eax, eax
and eax, ecx
mov eax, dword [eax]
push eax
call ebp
lea ecx, [esp + 0x1c]
call fcn.004347e0
lea edx, [esp + 0x1c]
mov ecx, 0x47b7a0
push edx
mov byte [esp + 0x18e8], 2
call fcn.00436df0
lea ecx, [esp + 0x1c]
call fcn.00435e60
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
mov esi, 1
push 1
push 0
push 0
lea eax, [esp + 0x44]
push 0
push eax
call edi
test eax, eax
je 0x434e63
mov ecx, esi
inc esi
cmp ecx, 0x64
jl 0x434e48
mov ecx, 0x47b7a0
call fcn.00436e90
lea ecx, [esp + 0x2c]
mov byte [esp + 0x18e4], 1
call fcn.0043ac10
lea ecx, [esp + 0x20]
call fcn.0043ac10
mov edx, dword [esp + 0x468]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x434ea7
mov eax, dword [esp + 0x468]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [0x46f42c]
mov dword [esp + 0x10], ecx
lea esi, [ebx + 0x64]
lea edx, [esp + 0x10]
push esi
push 0x474420
push edx
mov byte [esp + 0x18f0], 3
call fcn.004076f0
mov eax, dword [esp + 0xef0]
add esp, 0xc
test eax, eax
je 0x434eee
push eax
push esi
lea eax, [esp + 0x18]
push 0x4743f8
push eax
call fcn.004076f0
add esp, 0x10
push ebx
call fcn.004535f0
mov eax, dword [esp + 0xeac]
mov edx, dword [0x46f430]
add esp, 4
test eax, eax
mov eax, dword [esp + 0x10]
lea ecx, [eax - 0xc]
je 0x434f79
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp ecx, edx
je 0x434f33
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x434f33
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.004535f0
add esp, 4
lea ecx, [esp + 0x464]
mov byte [esp + 0x18e4], 0
call fcn.00423000
mov eax, dword [esp + 0x18]
mov edx, dword [0x46f430]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x434f72
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x434f72
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.004535f0
add esp, 4
xor eax, eax
jmp 0x43520a
cmp ecx, edx
je 0x434f9b
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x434f9b
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.004535f0
add esp, 4
lea ecx, [esp + 0x464]
mov byte [esp + 0x18e4], 0
call fcn.00423000
jmp 0x4351f1
mov eax, dword [esp + 0x18f0]
lea ecx, [esp + 0x464]
push eax
push ebx
call fcn.00418f10
lea ecx, [esp + 0x464]
lea edx, [esp + 0x46c]
push ecx
push edx
push 0x47b7a0
mov byte [esp + 0x18f0], 4
call fcn.00408f60
mov eax, dword [0x47b7a8]
push ebp
push 0x4096e0
push ebp
push 0xcb
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
push ebp
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call edi
mov esi, eax
lea eax, [esp + 0x464]
neg eax
sbb eax, eax
lea ecx, [esp + 0x468]
and eax, ecx
push ebp
mov eax, dword [eax]
push eax
call edi
mov edi, eax
cmp esi, edi
je 0x43506c
mov ebx, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push edi
push esi
call ebx
lea eax, [esp + 0x464]
mov ebp, dword [sym.imp.USER32.dll_SetForegroundWindow]
neg eax
sbb eax, eax
lea edx, [esp + 0x468]
and eax, edx
mov eax, dword [eax]
push eax
call ebp
push 0
push edi
push esi
call ebx
mov ebx, dword [esp + 0x14]
jmp 0x43508b
lea eax, [esp + 0x464]
mov ebp, dword [sym.imp.USER32.dll_SetForegroundWindow]
neg eax
sbb eax, eax
lea ecx, [esp + 0x468]
and eax, ecx
mov eax, dword [eax]
push eax
call ebp
mov edx, dword [esp + 0x468]
push 0x43
push 0
push 0
push 0
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [esp + 0x464]
lea ecx, [esp + 0x468]
neg eax
sbb eax, eax
and eax, ecx
mov eax, dword [eax]
push eax
call ebp
lea ecx, [esp + 0x1c]
call fcn.004347e0
lea edx, [esp + 0x1c]
mov ecx, 0x47b7a0
push edx
mov byte [esp + 0x18e8], 5
call fcn.00436df0
lea ecx, [esp + 0x1c]
call fcn.00435e60
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
mov esi, 1
push 1
push 0
push 0
lea eax, [esp + 0x44]
push 0
push eax
call edi
test eax, eax
je 0x43510d
mov ecx, esi
inc esi
cmp ecx, 0x64
jl 0x4350f2
mov ecx, 0x47b7a0
call fcn.00436e90
lea ecx, [esp + 0x1c]
call fcn.00434800
mov edx, dword [esp + 0x468]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x435140
mov eax, dword [esp + 0x468]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [0x46f42c]
mov dword [esp + 0x10], ecx
lea esi, [ebx + 0x64]
lea edx, [esp + 0x10]
push esi
push 0x474420
push edx
mov byte [esp + 0x18f0], 6
call fcn.004076f0
mov eax, dword [esp + 0xef0]
add esp, 0xc
test eax, eax
je 0x435187
push eax
push esi
lea eax, [esp + 0x18]
push 0x4743f8
push eax
call fcn.004076f0
add esp, 0x10
push ebx
call fcn.004535f0
mov eax, dword [esp + 0xeac]
add esp, 4
test eax, eax
mov byte [esp + 0x18e4], 4
lea ecx, [esp + 0x10]
je 0x4351d8
call fcn.00408010
lea ecx, [esp + 0x464]
mov byte [esp + 0x18e4], 0
call fcn.00419f20
lea ecx, [esp + 0x18]
mov dword [esp + 0x18e4], 0xffffffff
call fcn.00408010
xor eax, eax
jmp 0x43520a
call fcn.00408010
lea ecx, [esp + 0x464]
mov byte [esp + 0x18e4], 0
call fcn.00419f20
lea ecx, [esp + 0x18]
mov dword [esp + 0x18e4], 0xffffffff
call fcn.00408010
mov eax, 1
mov ecx, dword [esp + 0x18dc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18d8
ret