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

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov eax, dword [rsp + 0xb8]
inc eax
cdqe
mov qword [rsp + 0x88], rax
mov eax, 2
mov rcx, qword [rsp + 0x88]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14001b938
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x84], 0x14382
mov dword [rsp + 0x2c], 0x24f3
mov dword [rsp + 0x20], 0x171b6
mov dword [rsp + 0x28], 0xda5d
mov dword [rsp + 0x24], 0xb2fd
mov dword [rsp + 0x34], 0
jmp 0x140011cbf
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0xb8]
cmp dword [rsp + 0x34], eax
jge 0x1400123c5
mov eax, dword [rsp + 0x2c]
cmp dword [0x14003ec2c], eax
jg 0x14001237a
mov eax, dword [rsp + 0x24]
cdq
idiv dword [rsp + 0x28]
mov eax, edx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x28]
sar eax, cl
mov ecx, 0xc19b
sub ecx, dword [rsp + 0x2c]
or eax, ecx
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
add eax, dword [rsp + 0x2c]
add eax, dword [rsp + 0x2c]
mov dword [0x14003ec18], eax
mov eax, dword [0x14003eb00]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0xfffff578
je 0x140011e2d
cmp dword [rsp + 0x38], 0x505f
je 0x140011d5f
cmp dword [rsp + 0x38], 0x5525
je 0x140011ec9
jmp 0x14001210f
mov eax, dword [rsp + 0x2c]
imul eax, dword [rsp + 0x2c]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x24]
mov dword [0x14003eb08], eax
lea rcx, str.lags_g_RTX_veneer_lashers_9uo:_XWTq_trap
call fcn.1400011a0
mov eax, dword [rsp + 0x20]
cdq
idiv dword [rsp + 0x20]
mov dword [rsp + 0x28], eax
mov r8d, dword [rsp + 0x24]
mov edx, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x2c]
call qword [sym.imp.GDI32.dll_SetPixelFormat]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x20]
cdq
mov ecx, 0xc0c2
idiv ecx
mov eax, edx
cdq
mov ecx, 0x475e
idiv ecx
mov ecx, dword [rsp + 0x24]
imul ecx, dword [rsp + 0x24]
add eax, ecx
mov ecx, dword [rsp + 0x2c]
or ecx, eax
mov eax, ecx
mov dword [0x14003eb08], eax
mov r9d, dword [rsp + 0x2c]
mov r8d, dword [rsp + 0x20]
mov edx, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.UxTheme.dll_GetThemeSysString]
mov dword [rsp + 0x20], eax
mov eax, 0x9ff8
cdq
idiv dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
add eax, dword [rsp + 0x20]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
imul eax, dword [rsp + 0x24]
mov dword [rsp + 0x28], eax
mov eax, dword [0x14003eb00]
cmp dword [rsp + 0x28], eax
je 0x140011d5f
jmp 0x140012375
mov eax, dword [rsp + 0x24]
cdq
idiv dword [rsp + 0x24]
cdq
idiv dword [rsp + 0x20]
mov ecx, dword [rsp + 0x20]
sar eax, cl
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x2c]
mov ecx, 0x5951
mov dword [rsp + 0x50], ecx
movzx ecx, al
mov eax, dword [rsp + 0x50]
sar eax, cl
mov ecx, dword [rsp + 0x24]
mov edx, dword [rsp + 0x2c]
sub edx, ecx
mov ecx, edx
and eax, ecx
mov dword [rsp + 0x24], eax
imul eax, dword [rsp + 0x24], 0xfcff
sub eax, dword [rsp + 0x28]
sub eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
sar eax, cl
mov dword [rsp + 0x24], eax
mov r8d, dword [rsp + 0x28]
mov edx, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x24]
call qword [sym.imp.UxTheme.dll_OpenThemeDataEx]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
sub eax, dword [rsp + 0x2c]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x2c]
cdq
idiv dword [rsp + 0x2c]
mov eax, edx
mov ecx, dword [rsp + 0x54]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
add eax, dword [rsp + 0x24]
add eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
cdq
idiv dword [rsp + 0x20]
mov eax, edx
sub eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x24]
add ecx, 0x7060
or eax, ecx
mov dword [rsp + 0x2c], eax
mov eax, dword [0x14003ec18]
mov dword [rsp + 0x3c], eax
jmp 0x140011f16
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x3c], eax
jne 0x14001210a
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x2c], eax
mov r9d, dword [rsp + 0x24]
mov r8d, dword [rsp + 0x28]
mov edx, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x24]
call fcn.140003b40
imul eax, dword [rsp + 0x20], 0xf1d3
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
mov dword [0x14003ebc8], eax
mov ecx, dword [rsp + 0x20]
call fcn.140003180
mov eax, dword [rsp + 0x20]
cdq
idiv dword [rsp + 0x28]
mov ecx, dword [rsp + 0x2c]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x28]
sar eax, cl
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x40], eax
jmp 0x140011f91
mov eax, dword [rsp + 0x40]
dec eax
mov dword [rsp + 0x40], eax
mov eax, dword [0x14003ec2c]
cmp dword [rsp + 0x40], eax
jl 0x140012105
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
sub eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x24]
mov edx, dword [rsp + 0x20]
add edx, ecx
mov ecx, edx
add ecx, dword [rsp + 0x24]
sar eax, cl
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x24]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
lea rcx, str.marshiest_karate_undiscriminating_disowns
call fcn.1400011a0
mov eax, dword [rsp + 0x20]
cdq
idiv dword [rsp + 0x2c]
mov eax, edx
imul eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x24]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x28]
movzx ecx, al
mov eax, dword [rsp + 0x2c]
sar eax, cl
mov ecx, dword [rsp + 0x2c]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x28]
cdq
mov ecx, 0x1591a
idiv ecx
mov ecx, dword [rsp + 0x58]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
imul eax, dword [rsp + 0x24], 0x158a8
imul eax, dword [rsp + 0x28]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x20]
cdq
idiv dword [rsp + 0x2c]
cdq
mov ecx, 0x13d8b
idiv ecx
mov ecx, dword [rsp + 0x5c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov ecx, dword [rsp + 0x28]
call fcn.1400040f0
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x20], eax
imul eax, dword [rsp + 0x24], 0x148d
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x20]
cdq
idiv dword [rsp + 0x28]
mov ecx, dword [rsp + 0x60]
sub ecx, eax
mov eax, ecx
mov dword [0x14003eb04], eax
mov eax, 0x2606
cdq
idiv dword [rsp + 0x28]
mov dword [rsp + 0x64], eax
mov eax, 0x3dd0
cdq
idiv dword [rsp + 0x28]
cdq
idiv dword [rsp + 0x28]
mov eax, edx
mov ecx, dword [rsp + 0x64]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x20]
cmp dword [0x14003eb04], eax
jae 0x140011fc7
mov eax, 0xbed3
cdq
idiv dword [rsp + 0x20]
and eax, 0x121bb
mov dword [rsp + 0x20], eax
jmp 0x140011f87
jmp 0x140011f0c
jmp 0x140012375
mov eax, dword [0x14003eb00]
cmp dword [rsp + 0x2c], eax
je 0x14001221b
mov edx, 0x1a5ea
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.GDI32.dll_CopyMetaFileA]
cmp dword [0x14003ec18], eax
je 0x14001221b
mov eax, dword [rsp + 0x20]
imul eax, dword [rsp + 0x28]
mov dword [rsp + 0x68], eax
mov ecx, dword [rsp + 0x24]
and ecx, 0x1175a
mov eax, dword [rsp + 0x20]
cdq
idiv dword [rsp + 0x28]
mov eax, edx
and ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x68]
or ecx, eax
mov eax, ecx
mov dword [0x14003eb04], eax
mov dword [rsp + 0x2c], 0x129c0
lea rcx, str.commissioning_ClsnR_wallaby_R2LptSj
call fcn.1400011a0
mov eax, dword [rsp + 0x2c]
cdq
idiv dword [rsp + 0x2c]
mov eax, edx
add eax, dword [rsp + 0x2c]
add eax, dword [rsp + 0x28]
imul ecx, dword [rsp + 0x20], 0xc65e
add eax, ecx
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov dword [0x14003eb04], eax
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x24]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, 0x1fd7
sub eax, dword [rsp + 0x24]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x24]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
cdq
idiv dword [rsp + 0x2c]
mov eax, edx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x20]
cdq
idiv dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x6c]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
jmp 0x140012375
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x20]
mov edx, dword [rsp + 0x20]
sub edx, ecx
mov ecx, edx
and eax, ecx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
or eax, 0x343
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
mov dword [0x14003ec18], eax
imul eax, dword [rsp + 0x20], 0x12f33
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x24]
cdq
idiv dword [rsp + 0x2c]
mov eax, edx
sub eax, dword [rsp + 0x28]
add eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x20]
lea eax, [rax + rcx + 0xb07e]
mov dword [rsp + 0x2c], eax
mov eax, 0x106ea
cdq
idiv dword [rsp + 0x28]
or eax, dword [rsp + 0x2c]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x2c]
cdq
idiv dword [rsp + 0x24]
add eax, dword [rsp + 0x28]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x20]
cdq
idiv dword [rsp + 0x24]
mov ecx, dword [rsp + 0x70]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
lea rcx, str.gunwale
call fcn.1400011a0
mov eax, dword [rsp + 0x28]
cdq
mov ecx, 0x154b3
idiv ecx
mov eax, edx
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x24]
cdq
idiv dword [rsp + 0x28]
mov ecx, dword [rsp + 0x2c]
imul ecx, dword [rsp + 0x2c]
sub eax, ecx
movzx ecx, al
mov eax, dword [rsp + 0x2c]
sar eax, cl
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x28]
cdq
idiv dword [rsp + 0x28]
add eax, dword [rsp + 0x28]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x28]
imul eax, dword [rsp + 0x28]
cdq
idiv dword [rsp + 0x20]
mov eax, edx
mov dword [rsp + 0x28], eax
mov eax, dword [0x14003eb00]
cmp dword [rsp + 0x24], eax
jg 0x14001224e
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
add eax, 0xc998
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x20]
cdq
idiv dword [rsp + 0x28]
movzx ecx, al
mov eax, dword [rsp + 0x74]
shl eax, cl
mov dword [rsp + 0x28], eax
jmp 0x140011cd0
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0xb0]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x34]
cdq
idiv dword [rsp + 0xc0]
mov eax, edx
cdqe
lea rcx, [0x140042268]
movzx eax, word [rcx + rax*2]
mov ecx, dword [rsp + 0x78]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x48]
mov word [rdx + rcx*2], ax
jmp 0x140011cb5
mov dword [rsp + 0x30], 0
jmp 0x1400123d9
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xb8]
cdq
sub eax, edx
sar eax, 1
cmp dword [rsp + 0x30], eax
jge 0x140012493
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x80], eax
mov eax, dword [0x14003ec2c]
cmp dword [rsp + 0x28], eax
jle 0x14001243f
mov eax, dword [rsp + 0x20]
imul eax, dword [rsp + 0x2c]
cdq
idiv dword [rsp + 0x2c]
mov dword [rsp + 0x7c], eax
mov eax, dword [rsp + 0x20]
cdq
idiv dword [rsp + 0x2c]
mov eax, edx
mov ecx, dword [rsp + 0x7c]
sub ecx, eax
mov eax, ecx
add eax, dword [rsp + 0x2c]
mov dword [rsp + 0x24], eax
jmp 0x140012404
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0xb8]
sub ecx, eax
mov eax, ecx
dec eax
cdqe
movsxd rcx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x48]
movzx eax, word [r8 + rax*2]
mov word [rdx + rcx*2], ax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0xb8]
sub ecx, eax
mov eax, ecx
dec eax
cdqe
mov rcx, qword [rsp + 0x48]
movzx edx, word [rsp + 0x80]
mov word [rcx + rax*2], dx
jmp 0x1400123cf
movsxd rax, dword [rsp + 0xb8]
xor ecx, ecx
mov rdx, qword [rsp + 0x48]
mov word [rdx + rax*2], cx
mov rax, qword [rsp + 0x48]
add rsp, 0xa8
ret