Function at 0x11108c30
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111e494b
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x11279148]
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 edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, ecx
mov ecx, dword [0x1127d368]
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x228], 0
test ecx, ecx
je 0x11108c8e
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
lea edx, [ebp - 0x228]
push edx
call eax
push 0
push ebx
call fcn.111be4e0
add esp, 8
test eax, eax
je 0x11108f1b
mov ecx, dword [esi + 0x23c]
push ecx
call dword [sym.imp.WxPdf.dll_GetPageWidth]
fstp qword [ebp - 0x224]
mov edx, dword [esi + 0x23c]
push edx
call dword [sym.imp.WxPdf.dll_GetRightMargin]
fsubr qword [ebp - 0x224]
mov eax, dword [esi + 0x23c]
push eax
fstp qword [ebp - 0x224]
call dword [sym.imp.WxPdf.dll_GetLeftMargin]
fsubr qword [ebp - 0x224]
add esp, 0xc
fsub qword [0x111f8508]
fild dword [ebp + 0x10]
fld qword [0x11222910]
fdivr st(1)
fcom st(2)
fnstsw ax
test ah, 5
jp 0x11108d01
fstp st(2)
jmp 0x11108d03
fstp st(0)
fidivr dword [ebp + 0x14]
fmulp st(1)
fstp qword [ebp - 0x230]
test edi, edi
je 0x11108dde
mov edx, dword [edi + 0x24]
mov eax, dword [edx]
lea ecx, [edi + 0x24]
call eax
test al, al
jne 0x11108d3b
push 0x266
push str.e:_nsmsrc_nsm14101410fctl32NSMString.h
push str.IsA__
call fcn.11067750
add esp, 0xc
mov eax, dword [edi + 0x30]
push eax
lea ecx, [ebp - 0x240]
call fcn.1113ccd0
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], 0
call fcn.1113d3c0
mov edx, dword [esi + 0x23c]
push 1
push 0
push 0
push 1
mov edi, eax
push edi
lea ecx, [esi + 0x230]
push ecx
push edx
call dword [sym.imp.WxPdf.dll_GetPageWidth]
fstp qword [ebp - 0x224]
mov eax, dword [esi + 0x23c]
push eax
call dword [sym.imp.WxPdf.dll_GetRightMargin]
fsubr qword [ebp - 0x224]
mov ecx, dword [esi + 0x23c]
fstp qword [esp]
push ecx
call dword [sym.imp.WxPdf.dll_GetLeftMargin]
mov edx, dword [esi + 0x238]
mov eax, dword [esi + 0x23c]
push ecx
fstp qword [esp]
push edx
push eax
call dword [sym.imp.WxPdf.dll_WriteText]
push edi
call dword [sym.imp.MSVCR100.dll_free]
add esp, 0x34
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], 0xffffffff
call fcn.1113cd80
mov edi, dword [ebp - 0x21c]
fld qword [ebp - 0x230]
mov ecx, dword [esi + 0x23c]
fadd qword [0x111f8508]
sub esp, 8
lea eax, [esi + 0x230]
fadd qword [0x11222908]
fstp qword [esp]
push eax
push ecx
call dword [sym.imp.WxPdf.dll_CheckPageBreak]
add esp, 0x10
test edi, edi
je 0x11108e1b
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push edi
mov ecx, esi
call eax
push 0xffffffffffffffff
push ebx
call fcn.111b8220
add esp, 8
test al, al
je 0x11108eed
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.MSVCR100.dll_wcsrchr]
lea edx, [ebp - 0x218]
push 0x5c
push edx
call edi
push 0x5c
push ebx
mov dword [ebp - 0x21c], eax
call edi
add esp, 0x10
test eax, eax
je 0x11108e6a
add eax, 2
jmp 0x11108e6c
mov eax, ebx
push eax
mov eax, dword [ebp - 0x21c]
push str.Support_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
lea ecx, [ebp - 0x218]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
fld qword [0x111fb5f8]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
sub esp, 8
fstp qword [esp]
push 2
push edx
mov edx, dword [esi + 0x23c]
push eax
lea ecx, [ebp - 0x218]
push ecx
lea eax, [esi + 0x230]
push eax
push edx
call dword [sym.imp.WxPdf.dll_DrawImage]
add esp, 0x20
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x11108f1b
lea ecx, [ebp - 0x218]
push ecx
push str.delete__s_failed__e_d_n
call fcn.111bd7b0
add esp, 8
jmp 0x11108f1b
fld qword [0x111fb5f8]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 0x23c]
sub esp, 8
fstp qword [esp]
push 2
push edx
push eax
push ebx
lea eax, [esi + 0x230]
push eax
push ecx
call dword [sym.imp.WxPdf.dll_DrawImage]
add esp, 0x20
mov ecx, dword [0x1127d368]
test ecx, ecx
je 0x11108f33
mov edx, dword [ecx]
mov eax, dword [ebp - 0x228]
mov edx, dword [edx + 0x18]
push eax
call edx
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.111d9022
mov esp, ebp
pop ebp
ret 0x14