Function at 0x4015b0
Capabilities:
Hide graphical window
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42f390
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 [0x4383a8], 0x30
mov dword [0x4383ac], 0x40
mov dword [0x4383b0], 0x401000
mov dword [0x4383b4], 0
mov dword [0x4383b8], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xorps xmm0, xmm0
mov dword [0x4383bc], eax
push 0x4383a8
movups xmmword [0x4383c0], xmm0
mov dword [0x4383d0], 0x4302ac
mov dword [0x4383d4], 0
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push dword [0x4383bc]
push 0
push 0
push 0x12c
push 0x12c
push 0x64
push 0x64
push 0x80000000
push str.MC_Miner
push str.mcminer_class
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0xa
push eax
mov dword [0x4383a0], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x4383a0]
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 [0x43839c], ecx
test ecx, ecx
je 0x401734
push 0x4383a4
push 0x4383d8
push 0x40
push dword [0x4383a0]
xorps xmm0, xmm0
mov dword [0x4383ec], 0
push 1
movlpd qword [0x4383d8], xmm0
movlpd qword [0x4383e4], xmm0
mov dword [0x4383f4], 0
movlpd qword [0x438404], xmm0
mov dword [0x4383f8], 1
mov dword [0x4383f0], 1
mov dword [0x4383e0], 0
mov dword [0x4383fc], 1
mov dword [0x438400], 0x50
mov dword [0x43840c], 1
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x40]
mov dword [ebp - 4], 1
mov esi, dword [0x438420]
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push 0x5d30
call ebx
mov ecx, dword [0x438420]
add esp, 4
test ecx, ecx
je 0x401761
inc dword [ecx + 0xb0]
test eax, eax
je 0x401770
push 0
mov ecx, eax
call fcn.004020a0
jmp 0x401772
xor eax, eax
mov dword [0x438420], eax
call fcn.00405a80
test esi, esi
je 0x401788
mov dword [0x438420], esi
jmp 0x40178e
mov esi, dword [0x438420]
xor ecx, ecx
mov dword [esi + 0x20], 0
call fcn.00420a80
mov ecx, dword [0x4383a0]
call fcn.00429300
mov edi, dword [0x4383a4]
mov esi, dword [0x438420]
push 0x18
call ebx
mov ecx, dword [0x438420]
add esp, 4
test ecx, ecx
je 0x4017ca
inc dword [ecx + 0xb0]
test eax, eax
je 0x4017f9
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 0x4017fb
xor eax, eax
or dword [esi + 0xc], 8
mov dword [esi + 0x74], eax
mov dword [esi + 0x6c], str.imgui_impl_dx9
mov dword [eax], edi
mov eax, dword [edi]
push edi
call dword [eax + 4]
push 0
push str.GLFW30
call dword [sym.imp.USER32.dll_FindWindowA]
xor bl, bl
mov edi, eax
mov dword [ebp - 0x40], edi
mov byte [ebp - 0x21], bl
cmp byte [0x438028], bl
je 0x401b3c
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
nop word [eax + eax]
call fcn.004012b0
mov dword [ebp - 4], 2
mov edx, 0x438028
mov eax, dword [0x438420]
mov ecx, str.mc_miner
push 0x126
or dword [eax + 0x471c], 3
mov dword [eax + 0x472c], 0
mov dword [eax + 0x4730], 0
mov dword [eax + 0x4734], 0
mov dword [eax + 0x4738], 0
mov dword [eax + 0x4720], 1
mov dword [eax + 0x473c], 0x43960000
mov dword [eax + 0x4740], 0x43960000
mov dword [eax + 0x4724], 1
call fcn.0040cbb0
add esp, 4
call fcn.0042dda0
push str.F12___toggle_mine_on_off
call fcn.0042c4f0
add esp, 4
push str.Insert___exit_app
call fcn.0042c4f0
add esp, 4
call fcn.0040f470
mov dword [ebp - 4], 3
call fcn.00409c00
mov ecx, dword [0x4383a4]
push 0
push 7
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [0x4383a4]
push 0
push 0x1b
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [0x4383a4]
push 0
push 0xae
push ecx
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [0x4383a4]
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 [0x4383a4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
test eax, eax
js 0x401990
call fcn.00409fc0
mov eax, dword [0x438420]
xor ecx, ecx
mov eax, dword [eax + 0x47f4]
mov eax, dword [eax]
add eax, 0x38
cmp byte [eax], cl
cmovne ecx, eax
call fcn.00428b90
mov eax, dword [0x4383a4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov ecx, dword [0x4383a4]
push 0
push 0
push 0
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x44]
cmp eax, 0x88760868
jne 0x4019c2
mov eax, dword [0x4383a4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
cmp eax, 0x88760869
jne 0x4019c2
call fcn.004011e0
push 0x7b
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x4019dd
test bl, bl
sete bl
mov byte [ebp - 0x21], bl
push 0x2d
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x401b52
test bl, bl
je 0x401a1a
push 0x6400c8
push 1
push 0x201
push edi
call esi
push 0x2bc
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x6400c8
push 1
push 0x202
push edi
call esi
lea ecx, [ebp - 0x48]
call fcn.00401500
mov esi, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x44]
cmp esi, 0xff67697f
jne 0x401a38
cmp ebx, 0x7fffffff
je 0x401a5f
cmp ebx, 0x7fffffff
jg 0x401a4e
jl 0x401a4a
cmp esi, 0xff67697f
jae 0x401a4e
or al, 0xff
jmp 0x401a50
mov al, 1
test al, al
jns 0x401a5f
add esi, 0x989680
adc ebx, 0
jmp 0x401a67
or esi, 0xffffffff
mov ebx, 0x7fffffff
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], esi
nop dword [eax]
lea ecx, [ebp - 0x38]
call fcn.00401500
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
cmp esi, ecx
jne 0x401a8a
cmp ebx, eax
je 0x401b23
cmp ebx, eax
jg 0x401a98
jl 0x401a94
cmp esi, ecx
jae 0x401a98
or al, 0xff
jmp 0x401a9a
mov al, 1
test al, al
jle 0x401b23
call dword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
push 0
push 0x64
push edx
push eax
call fcn.0042f210
mov ebx, dword [ebp - 0x2c]
mov esi, eax
sub ebx, dword [ebp - 0x38]
mov edi, edx
mov eax, dword [ebp - 0x28]
mov ecx, ebx
sbb eax, dword [ebp - 0x34]
mov edx, eax
mov dword [ebp - 0x3c], eax
call fcn.0042f2c0
comisd xmm0, xmmword [0x435a70]
jbe 0x401ae7
add esi, 0xad160000
adc edi, 0x311cd
jmp 0x401aec
add esi, ebx
adc edi, dword [ebp - 0x3c]
push 0
push 0x3b9aca00
push edi
push esi
call fcn.0042f080
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 - 0x28]
add esp, 4
mov esi, dword [ebp - 0x2c]
jmp 0x401a70
cmp byte [0x438028], 0
mov bl, byte [ebp - 0x21]
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
mov edi, dword [ebp - 0x40]
jne 0x401840
mov dword [ebp - 4], 4
mov ecx, dword [0x438420]
test ecx, ecx
je 0x401b5a
mov ebx, dword [ecx + 0x74]
jmp 0x401b5c
or eax, 0xffffffff
jmp 0x401cdf
xor ebx, ebx
lea edi, [ecx + 8]
test ecx, ecx
je 0x401bc7
mov esi, dword [ecx + 0x74]
test esi, esi
je 0x401bc7
cmp dword [esi], 0
je 0x401bc7
mov edx, dword [esi + 4]
test edx, edx
je 0x401b89
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [0x438420]
mov dword [esi + 4], 0
mov edx, dword [esi + 8]
test edx, edx
je 0x401ba3
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [0x438420]
mov dword [esi + 8], 0
mov edx, dword [esi + 0xc]
test edx, edx
je 0x401bc7
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [0x438420]
mov dword [esi + 0xc], 0
mov eax, dword [ecx + 0x2c]
mov dword [eax + 4], 0
mov edx, dword [ebx]
test edx, edx
je 0x401bd9
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [0x438420]
and dword [edi + 4], 0xfffffff7
mov dword [edi + 0x64], 0
mov dword [edi + 0x6c], 0
test ecx, ecx
je 0x401bf5
dec dword [ecx + 0xb0]
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push ebx
call edi
mov eax, dword [0x438420]
add esp, 4
test eax, eax
je 0x401c0f
mov ebx, dword [eax + 0x70]
jmp 0x401c11
xor ebx, ebx
mov ecx, dword [ebx + 0x2c]
lea esi, [eax + 8]
test ecx, ecx
je 0x401c27
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x438420]
and dword [esi + 4], 0xfffffff8
mov dword [esi + 0x60], 0
mov dword [esi + 0x68], 0
test eax, eax
je 0x401c43
dec dword [eax + 0xb0]
push ebx
call edi
mov esi, dword [0x438420]
add esp, 4
mov dword [0x438420], esi
call fcn.00405f30
mov dword [0x438420], 0
test esi, esi
je 0x401c84
mov ecx, esi
call fcn.00419630
mov eax, dword [0x438420]
test eax, eax
je 0x401c7e
dec dword [eax + 0xb0]
push esi
call edi
add esp, 4
mov dword [ebp - 4], 5
mov ecx, dword [0x4383a4]
test ecx, ecx
je 0x401ca5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x4383a4], 0
mov ecx, dword [0x43839c]
test ecx, ecx
je 0x401cbf
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x43839c], 0
push dword [0x4383a0]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [0x4383bc]
push dword [0x4383d0]
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.0042e3cb
mov esp, ebp
pop ebp
ret 0x10