Function at 0x40ad80
Capabilities:
Copy file
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x43883b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x660
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x678], 1
call fcn.00434891
mov eax, dword [eax + 8]
lea ecx, [esp + 0x64]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x470]
lea eax, [esp + 0x570]
push edx
lea ecx, [esp + 0x374]
push eax
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x70]
push edx
push eax
call fcn.00418b94
push 0x44b620
lea ecx, [esp + 0x388]
push 0x44b620
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x84]
push edx
push eax
call fcn.00418b03
or ebp, 0xffffffff
lea edi, [esp + 0x8c]
mov ecx, ebp
xor eax, eax
add esp, 0x28
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x63], 0x5c
jne 0x40ae3c
lea edi, [esp + 0x64]
mov ecx, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + ecx + 0x63], al
mov edi, str.ocr
mov ecx, ebp
xor eax, eax
lea edx, [esp + 0x64]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
mov ecx, ebp
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x64]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea edi, [esp + 0x64]
mov ecx, ebp
xor eax, eax
lea edx, [esp + 0x26c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x26c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.hwocrdll.dll
mov ecx, ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
mov ecx, ebp
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x26c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
jne 0x40af13
call dword [sym.imp.KERNEL32.dll_GetLastError]
call fcn.0042e929
test eax, eax
je 0x40aef7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
test eax, eax
jne 0x40aefb
xor eax, eax
jmp 0x40aefe
mov eax, dword [eax + 0x1c]
push 0x10
push str.Plugin_error
push str.Cannt_find_OCR_plugin__please_contact_http:__www.pdfimage.com__to_get_more_info.
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x40af65
push str._OCRRecognize__YGHPAD0HH00_Z
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
jne 0x40af2e
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x40af65
lea ecx, [esp + 0x14]
call fcn.0040dfb0
mov eax, dword [esp + 0x680]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0x67c], 2
call fcn.0040e4b0
test eax, eax
jne 0x40af93
lea ecx, [esp + 0x14]
mov byte [esp + 0x678], 1
call fcn.0040e0b0
lea ecx, [esp + 0x680]
mov byte [esp + 0x678], 0
call fcn.0042a6b7
lea ecx, [esp + 0x684]
mov dword [esp + 0x678], ebp
call fcn.0042a6b7
xor eax, eax
jmp 0x40b0dd
lea ecx, [esp + 0x14]
call fcn.0040ed70
push 1
push 0
lea ecx, [esp + 0x1c]
call fcn.0040f400
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
lea eax, [ecx + 0x1f]
lea ecx, [esp + 0x14]
cdq
and edx, 0x1f
add eax, edx
mov esi, eax
sar esi, 5
shl esi, 5
call fcn.0040e990
push 0
push 0
push ebp
push esi
lea edx, [esp + 0x74]
push eax
push edx
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edi, [esp + 0x64]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x168]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x168]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x167], 0x5c
je 0x40b054
mov edi, 0x4474ac
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x168]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.atemp000.txt
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x168]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x688]
mov ecx, ebx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x170]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x14]
mov byte [esp + 0x678], 1
call fcn.0040e0b0
lea ecx, [esp + 0x680]
mov byte [esp + 0x678], 0
call fcn.0042a6b7
lea ecx, [esp + 0x684]
mov dword [esp + 0x678], 0xffffffff
call fcn.0042a6b7
mov eax, 1
mov ecx, dword [esp + 0x670]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x66c
ret