Function at 0x4015c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42eda0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x43800c]
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
push 0
mov dword [0x4383b8], 0x30
mov dword [0x4383bc], 0x40
mov dword [0x4383c0], 0x401000
mov dword [0x4383c4], 0
mov dword [0x4383c8], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xorps xmm0, xmm0
mov dword [0x4383cc], eax
push 0x4383b8
movups xmmword [0x4383d0], xmm0
mov dword [0x4383e0], 0x430300
mov dword [0x4383e4], 0
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push dword [0x4383cc]
push 0
push 0
push 0x12c
push 0x1f4
push 0x64
push 0x64
push 0x80000000
push str.Clicker
push str.class001
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0xa
push eax
mov dword [0x4383b0], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x4383b0]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x20
mov dword [ebp - 4], 0
call dword [sym.imp.d3d9.dll_Direct3DCreate9]
mov ecx, eax
mov dword [0x4383ac], ecx
test ecx, ecx
je 0x401744
push 0x4383b4
push 0x4383e8
push 0x40
push dword [0x4383b0]
xorps xmm0, xmm0
mov dword [0x4383fc], 0
push 1
movlpd qword [0x4383e8], xmm0
movlpd qword [0x4383f4], xmm0
mov dword [0x438404], 0
movlpd qword [0x438414], xmm0
mov dword [0x438408], 1
mov dword [0x438400], 1
mov dword [0x4383f0], 0
mov dword [0x43840c], 1
mov dword [0x438410], 0x50
mov dword [0x43841c], 1
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x40]
mov dword [ebp - 4], 1
mov esi, dword [0x438430]
test esi, esi
je 0x40175b
inc dword [esi + 0xb4]
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push 0x5c48
call ebx
add esp, 4
test eax, eax
je 0x40177a
push 0
mov ecx, eax
call fcn.00402010
jmp 0x40177c
xor eax, eax
mov dword [0x438430], eax
call fcn.004054e0
mov eax, dword [0x438430]
test esi, esi
cmovne eax, esi
xor ecx, ecx
mov dword [0x438430], eax
mov dword [eax + 0x20], 0
call fcn.00420480
mov ecx, dword [0x4383b0]
call fcn.00428b80
mov esi, dword [0x438430]
mov edi, dword [0x4383b4]
test esi, esi
je 0x4017c4
inc dword [esi + 0xb4]
push 0x18
call ebx
add esp, 4
test eax, eax
je 0x4017fa
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0x1388
mov dword [eax + 0x14], 0x2710
jmp 0x4017fc
xor eax, eax
or dword [esi + 0xc], 8
mov dword [esi + 0x7c], eax
mov dword [esi + 0x74], str.imgui_impl_dx9
mov dword [eax], edi
mov eax, dword [edi]
push edi
call dword [eax + 4]
cmp byte [0x43801c], 0
je 0x401ab5
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
nop dword [eax]
call fcn.004012b0
mov dword [ebp - 4], 2
mov edx, 0x43801c
mov eax, dword [0x438430]
mov ecx, str.Mint
push 0x126
or dword [eax + 0x46f8], 3
mov dword [eax + 0x4708], 0
mov dword [eax + 0x470c], 0
mov dword [eax + 0x4710], 0
mov dword [eax + 0x4714], 0
mov dword [eax + 0x46fc], 1
mov dword [eax + 0x4718], 0x43fa0000
mov dword [eax + 0x471c], 0x43960000
mov dword [eax + 0x4700], 1
call fcn.0040c440
lea edx, [ebp - 0x3c]
call fcn.0042c5e0
add esp, 4
call fcn.0040ecd0
mov dword [ebp - 4], 3
call fcn.004094b0
mov ecx, dword [0x4383b4]
push 0
push 7
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [0x4383b4]
push 0
push 0x1b
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [0x4383b4]
push 0
push 0xae
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [0x4383b4]
push 0
push ecx
mov dword [esp], 0x3f800000
mov eax, dword [ecx]
push 0xff000000
push 3
push 0
push 0
push ecx
call dword [eax + 0xac]
mov eax, dword [0x4383b4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
test eax, eax
js 0x401969
call fcn.00409880
mov eax, dword [0x438430]
xor ecx, ecx
mov eax, dword [eax + 0x47c4]
mov eax, dword [eax]
add eax, 0x38
cmp byte [eax], cl
cmovne ecx, eax
call fcn.004284b0
mov eax, dword [0x4383b4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov ecx, dword [0x4383b4]
push 0
push 0
push 0
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x44]
cmp eax, 0x88760868
jne 0x40199b
mov eax, dword [0x4383b4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
cmp eax, 0x88760869
jne 0x40199b
call fcn.004011e0
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.00401510
mov esi, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x44]
cmp esi, 0xffb3b4bf
jne 0x4019c0
cmp ebx, 0x7fffffff
je 0x4019e7
cmp ebx, 0x7fffffff
jg 0x4019d6
jl 0x4019d2
cmp esi, 0xffb3b4bf
jae 0x4019d6
or al, 0xff
jmp 0x4019d8
mov al, 1
test al, al
jns 0x4019e7
add esi, 0x4c4b40
adc ebx, 0
jmp 0x4019ef
or esi, 0xffffffff
mov ebx, 0x7fffffff
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], esi
lea ecx, [ebp - 0x30]
call fcn.00401510
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
cmp esi, ecx
jne 0x401a0f
cmp ebx, eax
je 0x401aa8
cmp ebx, eax
jg 0x401a1d
jl 0x401a19
cmp esi, ecx
jae 0x401a1d
or al, 0xff
jmp 0x401a1f
mov al, 1
test al, al
jle 0x401aa8
call dword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
push 0
push 0x64
push edx
push eax
call fcn.0042ec20
mov ebx, dword [ebp - 0x28]
mov esi, eax
sub ebx, dword [ebp - 0x30]
mov edi, edx
mov eax, dword [ebp - 0x24]
mov ecx, ebx
sbb eax, dword [ebp - 0x2c]
mov edx, eax
mov dword [ebp - 0x34], eax
call fcn.0042ecd0
comisd xmm0, xmmword [0x435a98]
jbe 0x401a6c
add esi, 0xad160000
adc edi, 0x311cd
jmp 0x401a71
add esi, ebx
adc edi, dword [ebp - 0x34]
push 0
push 0x3b9aca00
push edi
push esi
call fcn.0042ea90
mov dword [ebp - 0x20], eax
imul eax, eax, 0x3b9aca00
mov dword [ebp - 0x1c], edx
sub esi, eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x18], esi
call dword [sym.imp.MSVCP140.dll__Thrd_sleep]
mov ebx, dword [ebp - 0x24]
add esp, 4
mov esi, dword [ebp - 0x28]
jmp 0x4019f5
cmp byte [0x43801c], 0
jne 0x401830
mov dword [ebp - 4], 4
mov ecx, dword [0x438430]
test ecx, ecx
je 0x401acb
mov ebx, dword [ecx + 0x7c]
jmp 0x401acd
xor ebx, ebx
lea edi, [ecx + 8]
test ecx, ecx
je 0x401b38
mov esi, dword [ecx + 0x7c]
test esi, esi
je 0x401b38
cmp dword [esi], 0
je 0x401b38
mov edx, dword [esi + 4]
test edx, edx
je 0x401afa
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [0x438430]
mov dword [esi + 4], 0
mov edx, dword [esi + 8]
test edx, edx
je 0x401b14
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [0x438430]
mov dword [esi + 8], 0
mov edx, dword [esi + 0xc]
test edx, edx
je 0x401b38
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [0x438430]
mov dword [esi + 0xc], 0
mov eax, dword [ecx + 0x48]
mov dword [eax + 4], 0
mov edx, dword [ebx]
test edx, edx
je 0x401b4a
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [0x438430]
and dword [edi + 4], 0xfffffff7
mov dword [edi + 0x6c], 0
mov dword [edi + 0x74], 0
test ecx, ecx
je 0x401b66
dec dword [ecx + 0xb4]
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push ebx
call edi
mov eax, dword [0x438430]
add esp, 4
test eax, eax
je 0x401b80
mov ebx, dword [eax + 0x78]
jmp 0x401b82
xor ebx, ebx
mov ecx, dword [ebx + 0x28]
lea esi, [eax + 8]
test ecx, ecx
je 0x401b98
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x438430]
and dword [esi + 4], 0xfffffff8
mov dword [esi + 0x68], 0
mov dword [esi + 0x70], 0
test eax, eax
je 0x401bb4
dec dword [eax + 0xb4]
push ebx
call edi
mov esi, dword [0x438430]
add esp, 4
mov dword [0x438430], esi
call fcn.004058f0
mov dword [0x438430], 0
test esi, esi
je 0x401bf5
mov ecx, esi
call fcn.00419040
mov eax, dword [0x438430]
test eax, eax
je 0x401bef
dec dword [eax + 0xb4]
push esi
call edi
add esp, 4
mov dword [ebp - 4], 5
mov ecx, dword [0x4383b4]
test ecx, ecx
je 0x401c16
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x4383b4], 0
mov ecx, dword [0x4383ac]
test ecx, ecx
je 0x401c30
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x4383ac], 0
push dword [0x4383b0]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [0x4383cc]
push dword [0x4383e0]
call dword [sym.imp.USER32.dll_UnregisterClassA]
xor eax, eax
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.0042db8b
mov esp, ebp
pop ebp
ret 0x10