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

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x78
mov dword [rsp + 0x20], 0x7f53
mov dword [rsp + 0x24], 0xf0f3
mov dword [rsp + 0x2c], 0x147b2
mov dword [rsp + 0x28], 0xa9fc
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
imul eax, dword [rsp + 0x80]
mov ecx, dword [rsp + 0x24]
mov edx, dword [rsp + 0x90]
add edx, ecx
mov ecx, edx
add ecx, dword [rsp + 0x80]
and eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x2c]
add eax, 0x18e01
mov dword [rsp + 0x88], eax
mov r9d, dword [rsp + 0x28]
mov r8d, dword [rsp + 0x2c]
mov edx, dword [rsp + 0x88]
mov ecx, dword [rsp + 0x90]
call fcn.180001530
mov eax, dword [rsp + 0x80]
mov ecx, dword [rsp + 0x80]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x90], eax
mov edx, dword [rsp + 0x88]
mov ecx, dword [rsp + 0x90]
call fcn.1800025b0
mov eax, dword [rsp + 0x20]
add eax, 0x16aa1
or eax, dword [rsp + 0x20]
mov dword [rsp + 0x28], eax
mov r8d, dword [rsp + 0x28]
mov edx, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x24]
call fcn.180003690
cmp eax, dword [0x18001ca10]
jb 0x180003904
mov eax, dword [rsp + 0x2c]
imul eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
add eax, dword [rsp + 0x20]
and eax, dword [rsp + 0x24]
or eax, dword [rsp + 0x2c]
mov dword [rsp + 0x88], eax
imul eax, dword [rsp + 0x80], 0x11e17
imul eax, eax, 0x787
mov ecx, dword [rsp + 0x28]
mov edx, dword [rsp + 0x20]
sub edx, ecx
mov ecx, edx
shr eax, cl
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x80]
mov ecx, dword [rsp + 0x80]
sub ecx, eax
mov eax, ecx
add eax, dword [rsp + 0x24]
mov dword [rsp + 0x3c], eax
xor edx, edx
mov eax, dword [rsp + 0x88]
div dword [rsp + 0x90]
mov eax, edx
mov ecx, dword [rsp + 0x3c]
sub ecx, eax
mov eax, ecx
and eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x80]
sub eax, 0xdfd9
mov dword [rsp + 0x88], eax
mov edx, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x24]
call qword [sym.imp.USER32.dll_GetWindow]
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x24]
add eax, 0xef72
mov dword [rsp + 0x2c], eax
xor edx, edx
mov eax, dword [rsp + 0x80]
div dword [rsp + 0x28]
mov eax, edx
mov ecx, dword [rsp + 0x24]
shr eax, cl
mov dword [0x18001ca04], eax
mov r8d, dword [rsp + 0x20]
mov edx, dword [rsp + 0x24]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CommConfigDialogA]
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x88], eax
mov eax, 0x5c8b
sub eax, dword [rsp + 0x28]
sub eax, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x90]
mov edx, dword [rsp + 0x90]
sub edx, ecx
mov ecx, edx
mov edx, dword [rsp + 0x28]
shl edx, cl
mov ecx, edx
and eax, ecx
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x80]
cmp dword [0x18001ca18], eax
jbe 0x180003781
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x2c]
cdq
idiv dword [rsp + 0x20]
mov eax, edx
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x40]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
jmp 0x180004176
call fcn.180002ab0
cmp dword [0x18001c9f4], eax
jb 0x180003c1f
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x90], eax
xor edx, edx
mov eax, dword [rsp + 0x2c]
div dword [rsp + 0x80]
xor edx, edx
div dword [rsp + 0x88]
mov eax, edx
mov ecx, dword [rsp + 0x88]
shl eax, cl
mov ecx, dword [rsp + 0x90]
mov edx, dword [rsp + 0x24]
sub edx, ecx
mov ecx, edx
and eax, ecx
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x88]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x20]
imul ecx, dword [rsp + 0x24]
shl eax, cl
mov ecx, dword [rsp + 0x2c]
mov edx, dword [rsp + 0x20]
sub edx, ecx
mov ecx, edx
and eax, ecx
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x2c]
imul eax, dword [rsp + 0x2c]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x30], eax
jmp 0x1800039d8
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [0x18001ca18]
cmp dword [rsp + 0x30], eax
jle 0x180003bc9
call fcn.1800024d0
mov eax, dword [rsp + 0x88]
imul eax, dword [rsp + 0x88]
imul eax, dword [rsp + 0x90]
sub eax, dword [rsp + 0x88]
mov ecx, dword [rsp + 0x88]
mov edx, dword [rsp + 0x80]
sub edx, ecx
mov ecx, edx
or eax, ecx
mov dword [rsp + 0x80], eax
xor edx, edx
mov eax, dword [rsp + 0x88]
div dword [rsp + 0x20]
mov eax, edx
imul ecx, dword [rsp + 0x88], 0x87a
imul ecx, dword [rsp + 0x28]
sub eax, ecx
movzx ecx, al
mov eax, dword [rsp + 0x24]
shr eax, cl
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x28]
cmp dword [0x18001ca14], eax
je 0x180003a89
mov eax, dword [0x18001c9fc]
cmp dword [rsp + 0x24], eax
jb 0x180003bb4
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
cmp dword [0x18001ca04], eax
jne 0x180003bb4
mov eax, dword [rsp + 0x80]
imul eax, dword [rsp + 0x88]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x2c]
imul eax, dword [rsp + 0x24]
imul eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
add eax, dword [rsp + 0x20]
sub eax, dword [rsp + 0x24]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x88]
sub eax, 0x179a0
movzx ecx, al
mov eax, dword [rsp + 0x20]
shl eax, cl
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x24], eax
xor edx, edx
mov eax, dword [rsp + 0x88]
div dword [rsp + 0x80]
mov ecx, dword [rsp + 0x80]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x44], eax
xor edx, edx
mov eax, dword [rsp + 0x28]
div dword [rsp + 0x28]
mov ecx, dword [rsp + 0x44]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x80]
cmp dword [0x18001ca10], eax
je 0x180003a9c
mov r8d, dword [rsp + 0x90]
mov edx, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x90]
call qword [sym.imp.GDI32.dll_GetPixel]
mov dword [rsp + 0x80], eax
imul eax, dword [rsp + 0x88], 0x16805
sub eax, dword [rsp + 0x88]
add eax, dword [rsp + 0x88]
mov dword [rsp + 0x48], eax
mov eax, 0xa488
cdq
idiv dword [rsp + 0x20]
mov eax, edx
movzx ecx, al
mov eax, dword [rsp + 0x48]
shr eax, cl
mov dword [rsp + 0x20], eax
xor edx, edx
mov eax, 0x1b8a
div dword [rsp + 0x80]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
mov ecx, 0x131a7
mov dword [rsp + 0x4c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x4c]
sar eax, cl
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x2c]
cmp dword [0x18001c9f8], eax
jne 0x180003a57
jmp 0x1800039ce
mov eax, dword [rsp + 0x88]
cmp dword [0x18001ca14], eax
jb 0x1800039b4
mov eax, dword [rsp + 0x80]
mov ecx, dword [rsp + 0x88]
sub ecx, eax
mov eax, ecx
mov dword [0x18001ca10], eax
xor edx, edx
mov eax, dword [rsp + 0x20]
div dword [rsp + 0x80]
mov eax, edx
mov dword [rsp + 0x20], eax
mov eax, dword [0x18001c9fc]
cmp dword [rsp + 0x80], eax
jae 0x180003964
jmp 0x180004176
mov eax, dword [0x18001ca04]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0x457b
je 0x180003c54
cmp dword [rsp + 0x34], 0x59ed
je 0x180003d56
cmp dword [rsp + 0x34], 0xfe7a
je 0x180003f53
jmp 0x18000408d
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x38], eax
jmp 0x180003c68
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [0x18001ca0c]
cmp dword [rsp + 0x38], eax
jge 0x180003d56
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x2c], eax
mov r9d, dword [rsp + 0x28]
mov r8d, dword [rsp + 0x88]
mov edx, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x24]
call fcn.180001530
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x88]
sub ecx, eax
mov eax, ecx
add eax, dword [rsp + 0x88]
mov ecx, dword [rsp + 0x28]
imul ecx, dword [rsp + 0x80]
shr eax, cl
mov dword [rsp + 0x28], eax
imul eax, dword [rsp + 0x28], 0x7fa0
mov dword [0x18001ca04], eax
xor edx, edx
mov eax, dword [rsp + 0x2c]
div dword [rsp + 0x80]
xor edx, edx
mov ecx, 0x5000
div ecx
mov eax, edx
xor edx, edx
div dword [rsp + 0x28]
mov eax, edx
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x80], eax
call fcn.1800041f0
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x2c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x50], eax
xor edx, edx
mov eax, dword [rsp + 0x24]
div dword [rsp + 0x90]
mov eax, edx
mov ecx, dword [rsp + 0x2c]
and ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x50]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
jmp 0x180003c5e
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x88]
movzx ecx, al
mov eax, dword [rsp + 0x20]
shl eax, cl
and eax, dword [rsp + 0x28]
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x24]
movzx ecx, al
mov eax, dword [rsp + 0x28]
shl eax, cl
mov ecx, dword [rsp + 0x2c]
and ecx, 0x14c77
or eax, ecx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x88], eax
mov ecx, dword [rsp + 0x24]
call qword [sym.imp.UxTheme.dll_CloseThemeData]
mov dword [rsp + 0x80], eax
xor edx, edx
mov eax, dword [rsp + 0x88]
div dword [rsp + 0x20]
mov eax, edx
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x54], eax
xor edx, edx
mov eax, dword [rsp + 0x24]
div dword [rsp + 0x80]
xor edx, edx
div dword [rsp + 0x80]
mov ecx, dword [rsp + 0x54]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x88], eax
xor edx, edx
mov eax, dword [rsp + 0x90]
div dword [rsp + 0x28]
mov eax, edx
imul eax, dword [rsp + 0x20]
add eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x80]
mov edx, dword [rsp + 0x28]
sub edx, ecx
mov ecx, edx
shl eax, cl
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x28]
lea eax, [rax + rcx - 0x23e0]
sub eax, dword [rsp + 0x24]
mov dword [rsp + 0x88], eax
xor edx, edx
mov eax, dword [rsp + 0x90]
div dword [rsp + 0x80]
mov ecx, dword [rsp + 0x28]
lea eax, [rcx + rax - 0x899b]
mov dword [rsp + 0x90], eax
imul eax, dword [rsp + 0x24], 0x490f
imul eax, dword [rsp + 0x20]
imul eax, dword [rsp + 0x24]
add eax, dword [rsp + 0x88]
or eax, dword [rsp + 0x28]
mov dword [rsp + 0x80], eax
mov eax, 0x227
cdq
idiv dword [rsp + 0x2c]
mov eax, edx
cdq
mov ecx, 0x1663
idiv ecx
mov dword [rsp + 0x58], eax
xor edx, edx
mov eax, dword [rsp + 0x80]
div dword [rsp + 0x90]
movzx ecx, al
mov eax, dword [rsp + 0x58]
shl eax, cl
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x2c], 0x1633f
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
sub eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x80]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov eax, dword [0x18001ca08]
cmp dword [rsp + 0x28], eax
je 0x180003dac
mov eax, dword [0x18001ca14]
cmp dword [rsp + 0x80], eax
jb 0x180003d84
imul eax, dword [rsp + 0x28], 0xb81c
xor edx, edx
mov ecx, 0x4670
div ecx
mov dword [rsp + 0x5c], eax
xor edx, edx
mov eax, 0x8411
div dword [rsp + 0x24]
add eax, dword [rsp + 0x80]
movzx ecx, al
mov eax, dword [rsp + 0x5c]
shl eax, cl
mov dword [rsp + 0x2c], eax
xor edx, edx
mov eax, 0x1548f
div dword [rsp + 0x88]
mov eax, edx
add eax, dword [rsp + 0x80]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x20], eax
xor edx, edx
mov eax, dword [rsp + 0x20]
div dword [rsp + 0x28]
mov eax, edx
mov ecx, dword [rsp + 0x80]
sub ecx, eax
mov eax, ecx
add eax, dword [rsp + 0x20]
add eax, dword [rsp + 0x20]
shl eax, 0x3b
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x88], eax
xor edx, edx
mov eax, dword [rsp + 0x24]
mov ecx, 0xbf8e
div ecx
xor edx, edx
mov ecx, 0x8302
div ecx
imul eax, dword [rsp + 0x24]
xor edx, edx
div dword [rsp + 0x90]
mov eax, edx
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x2c]
cdq
idiv dword [rsp + 0x20]
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x2c], eax
mov r8d, dword [rsp + 0x20]
mov edx, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x2c]
call fcn.180002770
mov eax, dword [rsp + 0x88]
mov ecx, dword [rsp + 0x90]
sub ecx, eax
mov eax, ecx
add eax, dword [rsp + 0x24]
add eax, dword [rsp + 0x28]
add eax, dword [rsp + 0x90]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x90]
cdq
mov ecx, 0x10bd6
idiv ecx
mov eax, edx
imul eax, dword [rsp + 0x90]
imul eax, eax, 0x11b81
mov ecx, dword [rsp + 0x90]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x90], eax
mov eax, dword [0x18001ca18]
cmp dword [rsp + 0x2c], eax
je 0x180003fad
mov eax, dword [rsp + 0x20]
movzx ecx, al
mov eax, dword [rsp + 0x20]
shl eax, cl
mov dword [0x18001ca18], eax
mov eax, dword [rsp + 0x20]
cmp dword [0x18001ca10], eax
je 0x180003f79
xor edx, edx
mov eax, dword [rsp + 0x28]
mov ecx, 0x17020
div ecx
mov eax, edx
mov dword [rsp + 0x60], eax
xor edx, edx
mov eax, dword [rsp + 0x24]
div dword [rsp + 0x24]
mov ecx, dword [rsp + 0x60]
sub ecx, eax
mov eax, ecx
sub eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x88], eax
xor edx, edx
mov eax, dword [rsp + 0x24]
div dword [rsp + 0x2c]
mov eax, edx
sub eax, dword [rsp + 0x20]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x88]
movzx ecx, al
mov eax, dword [rsp + 0x20]
sar eax, cl
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
imul eax, dword [rsp + 0x24]
imul eax, dword [rsp + 0x24]
imul eax, dword [rsp + 0x90]
sub eax, dword [rsp + 0x80]
mov dword [rsp + 0x88], eax
mov edx, 0x74e9a
mov ecx, 0x2d34b
call qword [sym.imp.GDI32.dll_SetStretchBltMode]
mov dword [rsp + 0x90], eax
mov dword [rsp + 0x90], 0xc7bd
mov eax, dword [rsp + 0x88]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x2c]
mov edx, dword [rsp + 0x28]
lea ecx, [rcx + rdx + 0x80e3]
or eax, ecx
mov dword [rsp + 0x88], eax
xor edx, edx
mov eax, 0x7938
div dword [rsp + 0x88]
mov eax, edx
mov dword [rsp + 0x2c], eax
mov eax, dword [0x18001c9f0]
cmp dword [rsp + 0x28], eax
jb 0x180003709
mov eax, dword [rsp + 0x24]
sub eax, 0x1049d
mov ecx, dword [rsp + 0x2c]
imul ecx, dword [rsp + 0x90]
mov edx, dword [rsp + 0x2c]
sub edx, ecx
mov ecx, edx
shl eax, cl
mov ecx, dword [rsp + 0x90]
or ecx, eax
mov eax, ecx
mov dword [0x18001c9fc], eax
mov eax, dword [rsp + 0x28]
cmp dword [0x18001c9fc], eax
jbe 0x1800036d1
mov eax, dword [rsp + 0x88]
cmp dword [0x18001ca08], eax
jae 0x1800036c1
mov eax, dword [rsp + 0x90]
add rsp, 0x78
ret