Function at 0x14011a5a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x178
movaps xmmword [rsp + 0x160], xmm6
mov r12, rdx
mov r14, rcx
mov rax, qword [0x14031d040]
xor rax, rsp
mov qword [rsp + 0x158], rax
mov eax, r8d
xor eax, 1
mov ecx, r9d
xor ecx, 1
or ecx, eax
je 0x14011a652
mov qword [r12 + 8], 0
lea rax, [0x1402856e0]
mov qword [r12], rax
mov rax, qword [r14 + 8]
test rax, rax
je 0x14011a60a
cmp byte [rax + 0x38], 1
je 0x14011a6a8
cmp qword [0x14031f9c0], 0
je 0x14011a679
lea rax, [0x1402f1770]
mov qword [rsp + 0x20], rax
lea rcx, [0x1402f69a8]
lea r8, str.wxImage::ShrinkBy
lea r9, str._IsOk___
mov edx, 0x13c
call fcn.1400d8690
cmp byte [0x140331ad8], 1
jne 0x14011a679
mov byte [0x140331ad8], 0
int3
lea rax, [0x140285cb0]
mov qword [r12], rax
mov rax, qword [r14 + 8]
mov qword [r12 + 8], rax
test rax, rax
je 0x14011a66e
inc dword [rax + 8]
lea rax, [0x1402856e0]
mov qword [r12], rax
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.1401f08b0
mov rax, r12
movaps xmm6, xmmword [rsp + 0x160]
add rsp, 0x178
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r15d, dword [rax + 0x10]
test r15, r15
je 0x14011a60a
mov ebp, dword [rax + 0x14]
test ebp, ebp
je 0x14011a60a
mov ebx, r9d
test r8d, r8d
setg al
test r9d, r9d
setg cl
test al, cl
jne 0x14011a708
cmp qword [0x14031f9c0], 0
je 0x14011a679
lea rax, str.invalid_new_image_size
mov qword [rsp + 0x20], rax
lea rcx, [0x1402f69a8]
lea r8, str.wxImage::ShrinkBy
lea r9, str.__xFactor___0____yFactor___0__
mov edx, 0x140
jmp 0x14011a63a
test ebp, ebp
setg al
test r15d, r15d
setg cl
test cl, al
jne 0x14011a750
cmp qword [0x14031f9c0], 0
je 0x14011a679
lea rax, str.invalid_old_image_size
mov qword [rsp + 0x20], rax
lea rcx, [0x1402f69a8]
lea r8, str.wxImage::ShrinkBy
lea r9, str.__old_height___0____old_width___0__
mov edx, 0x146
jmp 0x14011a63a
xor esi, esi
mov eax, r15d
xor edx, edx
mov dword [rsp + 0x3c], r8d
div r8d
mov r13d, eax
mov eax, ebp
xor edx, edx
div ebx
mov dword [rsp + 0x78], eax
mov rcx, r12
call fcn.1400b9c50
mov ecx, VarBstrFromDate
call fcn.1401ef3e0
mov rdi, r12
mov r12, rax
mov dword [rax + 8], 1
lea rax, [0x1402849d0]
mov qword [r12], rax
mov qword [r12 + 0x10], rsi
mov dword [r12 + 0x18], esi
mov dword [r12 + 0x28], esi
mov qword [r12 + 0x30], rsi
mov dword [r12 + 0x37], esi
mov esi, dword [rsp + 0x78]
xorps xmm0, xmm0
movups xmmword [r12 + 0x40], xmm0
movups xmmword [r12 + 0x50], xmm0
movups xmmword [r12 + 0x60], xmm0
mov eax, dword [reloc.WS2_32.dll_accept]
mov dword [r12 + 0x3c], eax
mov qword [rdi + 8], r12
mov dword [rsp + 0x70], r13d
mov eax, r13d
imul eax, esi
lea eax, [rax + rax*2]
movsxd rcx, eax
call fcn.140071f60
mov qword [r12 + 0x20], rax
test rax, rax
je 0x14011a8a9
mov rax, rdi
mov ecx, dword [rsp + 0x70]
mov dword [r12 + 0x10], ecx
mov dword [r12 + 0x14], esi
mov byte [r12 + 0x38], 1
test r12, r12
je 0x14011a823
cmp byte [r12 + 0x38], 1
je 0x14011a8bd
cmp qword [0x14031f9c0], 0
mov r12, rax
je 0x14011a679
lea rax, [0x1402f1770]
mov qword [rsp + 0x20], rax
lea rcx, [0x1402f69a8]
lea r8, str.wxImage::GetData
lea r9, str._IsOk___
mov edx, 0x821
call fcn.1400d8690
cmp byte [0x140331ad8], 1
jne 0x14011a870
mov byte [0x140331ad8], 0
int3
cmp qword [0x14031f9c0], 0
je 0x14011a679
lea rax, str.unable_to_create_image
mov qword [rsp + 0x20], rax
lea rcx, [0x1402f69a8]
lea r8, str.wxImage::ShrinkBy
lea r9, str._data_
mov edx, 0x14f
jmp 0x14011a63a
mov rcx, rdi
call fcn.1400b9c50
mov rax, rdi
mov r12, qword [rdi + 8]
jmp 0x14011a812
cmp dword [r12 + 0x10], 0
je 0x14011a823
cmp dword [r12 + 0x14], 0
je 0x14011a823
mov rsi, qword [r12 + 0x20]
test rsi, rsi
mov r12, rax
je 0x14011a870
mov rax, qword [r14 + 8]
mov rcx, qword [rax + 0x20]
mov dl, byte [rax + 0x28]
mov byte [rsp + 0x2f], dl
cmp dl, 1
mov qword [rsp + 0x58], r14
mov qword [rsp + 0xa0], r12
je 0x14011a9fa
mov rdx, qword [rax + 0x30]
mov qword [rsp + 0x60], rdx
test rdx, rdx
je 0x14011a9dd
mov rdi, rcx
mov rcx, r12
xor edx, edx
xor r8d, r8d
call fcn.14011a3b0
mov rax, qword [r12 + 8]
test rax, rax
je 0x14011a96b
cmp byte [rax + 0x38], 1
jne 0x14011a96b
cmp dword [rax + 0x10], 0
je 0x14011a96b
cmp dword [rax + 0x14], 0
je 0x14011a96b
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
jmp 0x14011a9d5
cmp qword [0x14031f9c0], 0
je 0x14011a9b1
lea rax, [0x1402f1770]
mov qword [rsp + 0x20], rax
lea rcx, [0x1402f69a8]
lea r8, str.wxImage::GetAlpha
lea r9, str._IsOk___
mov edx, 0x89f
call fcn.1400d8690
cmp byte [0x140331ad8], 1
jne 0x14011a9b1
mov byte [0x140331ad8], 0
int3
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov rcx, rdi
jmp 0x14011aa67
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
jmp 0x14011aa55
mov r14b, byte [rax + 0x29]
mov r13b, byte [rax + 0x2a]
mov dword [rsp + 0x80], ebp
mov bpl, byte [rax + 0x2b]
mov rdi, rcx
mov rcx, r12
call fcn.1400b9ce0
mov rcx, rdi
mov rax, qword [r12 + 8]
mov qword [rsp + 0x50], r14
mov byte [rax + 0x29], r14b
mov rax, qword [r12 + 8]
mov qword [rsp + 0x48], r13
mov byte [rax + 0x2a], r13b
mov rax, qword [r12 + 8]
mov qword [rsp + 0x40], rbp
mov byte [rax + 0x2b], bpl
mov ebp, dword [rsp + 0x80]
mov rax, qword [r12 + 8]
mov byte [rax + 0x28], 1
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x6c], ebx
cmp ebp, ebx
jb 0x14011aaf9
mov eax, dword [rsp + 0x70]
mov qword [rsp + 0xe0], rax
mov eax, dword [rsp + 0x6c]
mov edx, dword [rsp + 0x78]
mov qword [rsp + 0xb8], rdx
mov r10d, dword [rsp + 0x3c]
mov rdx, r15
mov qword [rsp + 0x80], rax
imul rdx, rax
add rcx, 2
mov qword [rsp + 0xb0], rdx
lea rax, [rdx + rdx*2]
mov qword [rsp + 0xa8], rax
lea rax, [r10 + r10*2]
mov qword [rsp + 0xd8], rax
lea rax, [r15 + r15*2]
mov qword [rsp + 0xf0], rax
xor r12d, r12d
mov r14d, 0xff
mov rax, qword [rsp + 0x60]
xor edx, edx
mov qword [rsp + 0xf8], r15
jmp 0x14011b06f
xor ecx, ecx
xor ebx, ebx
jmp 0x14011ab7e
lea rdi, [rsp + 0x140]
mov byte [rdi + 7], 8
lea rsi, str.HotSpotX
lea r14, [rsp + 0x130]
cmp r14, rsi
seta al
cmp rdi, rsi
setbe cl
or cl, al
je 0x14011b098
movups xmm6, xmmword [str.HotSpotX]
movaps xmmword [rsp + 0x130], xmm6
mov word [rsp + 0x140], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x148], xmm0
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14011aaf0
add rcx, 0x40
lea r15, [rsp + 0x130]
mov rdx, r15
xor r8d, r8d
xor r9d, r9d
call fcn.140126990
cmp eax, 0xffffffff
setne bl
mov rcx, qword [r15 + 0x18]
call fcn.140071eb0
cmp byte [rsp + 0x147], 0
mov r12, qword [rsp + 0xa0]
jns 0x14011aba2
mov rcx, qword [rsp + 0x130]
call fcn.1401ef41c
test bl, bl
je 0x14011acd2
lea rax, [rsp + 0x110]
mov byte [rax + 7], 8
lea rcx, [rsp + 0x100]
cmp rcx, rsi
seta cl
cmp rax, rsi
setbe al
or al, cl
je 0x14011b098
lea r8, [rsp + 0x100]
movaps xmmword [r8], xmm6
mov word [r8 + 0x10], 0
xorps xmm0, xmm0
movups xmmword [r8 + 0x18], xmm0
lea r15, [rsp + 0x130]
mov rcx, qword [rsp + 0x58]
mov rdx, r15
call fcn.14011f6b0
cmp byte [r15 + 0x17], 0
jns 0x14011ac11
mov r15, qword [rsp + 0x130]
mov rcx, r15
call fcn.140218b7c
mov r15d, eax
mov rcx, qword [rsp + 0x148]
call fcn.140071eb0
cmp byte [rsp + 0x147], 0
jns 0x14011ac40
mov rcx, qword [rsp + 0x130]
call fcn.1401ef41c
lea rax, [rsp + 0x130]
mov byte [rax + 0x17], 8
cmp rax, rsi
seta al
cmp rdi, rsi
setbe cl
or cl, al
je 0x14011b098
mov eax, r15d
cdq
idiv dword [rsp + 0x3c]
lea r15, [rsp + 0x130]
movaps xmmword [r15], xmm6
mov word [r15 + 0x10], 0
xorps xmm0, xmm0
movups xmmword [r15 + 0x18], xmm0
mov rcx, r12
mov rdx, r15
mov r8d, eax
call fcn.14011b150
mov rcx, qword [r15 + 0x18]
call fcn.140071eb0
cmp byte [r15 + 0x17], 0
jns 0x14011acae
mov rcx, qword [rsp + 0x130]
call fcn.1401ef41c
mov rcx, qword [rsp + 0x118]
call fcn.140071eb0
cmp byte [rsp + 0x117], 0
jns 0x14011acd2
mov rcx, qword [rsp + 0x100]
call fcn.1401ef41c
mov byte [rsp + 0x147], 8
lea rsi, str.HotSpotY
cmp r14, rsi
seta al
cmp rdi, rsi
setbe cl
or cl, al
je 0x14011b098
movups xmm6, xmmword [str.HotSpotY]
movaps xmmword [rsp + 0x130], xmm6
mov word [rsp + 0x140], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x148], xmm0
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14011ae9b
add rcx, 0x40
lea r15, [rsp + 0x130]
mov rdx, r15
xor r8d, r8d
xor r9d, r9d
call fcn.140126990
cmp eax, 0xffffffff
setne bl
mov rcx, qword [r15 + 0x18]
call fcn.140071eb0
cmp byte [rsp + 0x147], 0
jns 0x14011ad6b
mov rcx, qword [rsp + 0x130]
call fcn.1401ef41c
test bl, bl
je 0x14011a679
lea rax, [rsp + 0x110]
mov byte [rax + 7], 8
lea rcx, [rsp + 0x100]
cmp rcx, rsi
seta cl
cmp rax, rsi
setbe al
or al, cl
je 0x14011b098
lea r8, [rsp + 0x100]
movaps xmmword [r8], xmm6
mov word [r8 + 0x10], 0
xorps xmm0, xmm0
movups xmmword [r8 + 0x18], xmm0
mov rcx, qword [rsp + 0x58]
mov rdx, r14
call fcn.14011f6b0
cmp byte [rsp + 0x147], 0
jns 0x14011add5
mov r14, qword [rsp + 0x130]
mov rcx, r14
call fcn.140218b7c
mov ebx, eax
mov rcx, qword [rsp + 0x148]
call fcn.140071eb0
cmp byte [rsp + 0x147], 0
jns 0x14011ae03
mov rcx, qword [rsp + 0x130]
call fcn.1401ef41c
lea rax, [rsp + 0x130]
mov byte [rax + 0x17], 8
cmp rax, rsi
seta al
cmp rdi, rsi
setbe cl
or cl, al
mov ecx, dword [rsp + 0x6c]
je 0x14011b098
mov eax, ebx
cdq
idiv ecx
lea rdi, [rsp + 0x130]
movaps xmmword [rdi], xmm6
mov word [rdi + 0x10], 0
xorps xmm0, xmm0
movups xmmword [rdi + 0x18], xmm0
mov rcx, r12
mov rdx, rdi
mov r8d, eax
call fcn.14011b150
mov rcx, qword [rdi + 0x18]
call fcn.140071eb0
cmp byte [rdi + 0x17], 0
jns 0x14011ae6e
mov rcx, qword [rsp + 0x130]
call fcn.1401ef41c
mov rcx, qword [rsp + 0x118]
call fcn.140071eb0
cmp byte [rsp + 0x117], 0
jns 0x14011a679
mov rcx, qword [rsp + 0x100]
call fcn.1401ef41c
jmp 0x14011a679
xor ecx, ecx
xor ebx, ebx
jmp 0x14011ad4f
movzx ebx, bl
test bl, bl
movzx edi, dil
cmove edi, r12d
movzx r15d, r15b
cmove r15d, r12d
movzx r13d, r13b
cmove r13d, r12d
and edi, r14d
add r9d, edi
and r15d, r14d
add r8d, r15d
and r13d, r14d
add ecx, r13d
add eax, ebx
inc r11d
inc rbp
add rsi, 3
cmp r10, rbp
je 0x14011af1c
cmp qword [rsp + 0x60], 0
je 0x14011af18
mov bl, byte [rdx + rbp]
mov dil, byte [rsi - 2]
mov r15b, byte [rsi - 1]
mov r13b, byte [rsi]
cmp byte [rsp + 0x2f], 0
je 0x14011aea4
cmp dil, byte [rsp + 0x50]
jne 0x14011aea4
cmp r15b, byte [rsp + 0x48]
jne 0x14011aea4
cmp r13b, byte [rsp + 0x40]
je 0x14011aed8
jmp 0x14011aea4
mov bl, 0xff
jmp 0x14011aeef
mov rsi, qword [rsp + 0x78]
inc rsi
mov r15, qword [rsp + 0xf8]
add rdx, r15
mov rdi, qword [rsp + 0x70]
add rdi, qword [rsp + 0xf0]
cmp rsi, qword [rsp + 0x80]
je 0x14011af83
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x70], rdi
mov rsi, rdi
xor ebp, ebp
jmp 0x14011aee4
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx + 8]
mov al, byte [rax + 0x29]
mov rsi, qword [rsp + 0x98]
mov byte [rsi], al
mov rax, qword [rcx + 8]
mov al, byte [rax + 0x2a]
mov byte [rsi + 1], al
mov rax, qword [rcx + 8]
mov al, byte [rax + 0x2b]
mov byte [rsi + 2], al
jmp 0x14011afcb
test r11d, r11d
je 0x14011af57
cmp qword [rsp + 0x60], 0
mov rsi, qword [rsp + 0x98]
je 0x14011afac
xor edx, edx
div r11d
mov rdx, qword [rsp + 0x30]
mov byte [rdx], al
inc rdx
mov qword [rsp + 0x30], rdx
mov eax, r9d
xor edx, edx
div r11d
mov byte [rsi], al
mov eax, r8d
xor edx, edx
div r11d
mov byte [rsi + 1], al
mov eax, ecx
xor edx, edx
div r11d
mov byte [rsi + 2], al
mov rdx, qword [rsp + 0x90]
mov rax, qword [rsp + 0x88]
add rsi, 3
inc rax
add rdx, r10
mov rcx, qword [rsp + 0xe8]
add rcx, qword [rsp + 0xd8]
cmp rax, qword [rsp + 0xe0]
jae 0x14011b036
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x98], rsi
xor esi, esi
mov qword [rsp + 0xe8], rcx
mov rdi, rcx
mov qword [rsp + 0x90], rdx
xor r11d, r11d
xor eax, eax
xor ecx, ecx
xor r8d, r8d
xor r9d, r9d
jmp 0x14011af46
mov rdx, qword [rsp + 0xc0]
inc rdx
mov rax, qword [rsp + 0xc8]
add rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xd0]
add rcx, qword [rsp + 0xa8]
cmp rdx, qword [rsp + 0xb8]
jae 0x14011aaf9
mov qword [rsp + 0xc0], rdx
cmp r15d, dword [rsp + 0x3c]
mov qword [rsp + 0xd0], rcx
mov qword [rsp + 0xc8], rax
jb 0x14011b036
mov rdx, rax
xor eax, eax
jmp 0x14011afff
ud2