Function at 0x46c2a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48468b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4a206c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [edi], 0x100
mov dword [edi + 4], 1
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0x4b
mov dword [edi + 0x2c], 0x3c
mov dword [edi + 0x30], 0xffffffff
mov dword [edi + 0x34], 5
mov dword [edi + 0x38], 5
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0xffffffff
mov dword [edi + 0x44], 0xffffffff
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
push 0x20
mov dword [ebp - 4], 0
call fcn.0042b582
mov esi, eax
mov dword [ebp - 0x10], esi
push 0x492d08
mov word [esi], 0
call fcn.00452f63
push 0x492d0c
mov dword [esi + 8], eax
call fcn.00452f63
mov dword [esi + 0xc], eax
mov eax, 0xb284
push 0x4934b8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xffffffff
mov dword [esi + 0x18], 0
mov word [esi + 0x1c], ax
call fcn.00452f63
add esp, 0x10
mov dword [esi + 4], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
lea ecx, [edi + 0x48]
push eax
call fcn.00407c90
mov ebx, dword [ebp + 0xc]
sub esp, 0x10
mov esi, dword [ebp + 8]
mov edx, ebx
mov ecx, esi
call fcn.0046c690
add esp, 0x10
test eax, eax
js 0x46c410
push dword [0x4b01c4]
mov ecx, edi
push eax
call fcn.0046b8e0
test al, al
je 0x46c65d
sub esp, 0x10
mov edx, ebx
mov ecx, esi
call fcn.0046c690
add esp, 0x10
test eax, eax
jns 0x46c3e7
cmp dword [0x4a2e08], esi
jl 0x46c65d
mov eax, dword [edi + 0x48]
mov eax, dword [eax]
cmp dword [eax + 4], 0
je 0x46c432
cmp word [eax + 0x1c], 0
jbe 0x46c432
mov al, 1
jmp 0x46c434
xor al, al
test al, al
jne 0x46c4c8
mov ebx, dword [0x4b01cc]
test ebx, ebx
jne 0x46c45f
push 0x208
call fcn.0042b5ca
mov ebx, eax
add esp, 4
mov dword [0x4b01cc], ebx
test ebx, ebx
je 0x46c4be
push 0x410
call dword [0x4a2e1c]
mov esi, eax
add esp, 4
test esi, esi
je 0x46c4be
push 0x208
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jle 0x46c4a8
xor ecx, ecx
push ecx
push ecx
push 0x208
push ebx
push 0xffffffffffffffff
push esi
push ecx
push 0xfde9
mov word [esi + eax*2], cx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
test ebx, ebx
jne 0x46c4de
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, esi
call fcn.00411da0
mov ecx, ebx
call fcn.0041c770
xor eax, eax
push eax
mov ecx, edi
call fcn.0046b410
mov eax, dword [edi + 0x48]
mov eax, dword [eax]
cmp dword [eax + 4], 0
je 0x46c520
cmp word [eax + 0x1c], 0
jbe 0x46c520
mov al, 1
jmp 0x46c522
mov ecx, esi
call fcn.00411da0
lea eax, [ebx - 1]
cmp eax, 0x1f4
jae 0x46c4be
push 0x5c
push dword [0x4b01cc]
call fcn.00442f70
add esp, 8
test eax, eax
je 0x46c4be
movq xmm0, qword [str.config.json]
movq qword [eax + 1], xmm0
mov ecx, dword [0x4944b8]
mov dword [eax + 9], ecx
mov eax, dword [0x4b01cc]
jmp 0x46c4c0
xor al, al
test al, al
je 0x46c65d
mov ebx, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
cmp ebx, 1
jne 0x46c553
test ecx, ecx
jle 0x46c53e
cmp ecx, 5
jl 0x46c55c
mov eax, dword [0x4b02a4]
shr eax, 1
not al
and eax, 1
lea ecx, [eax*2 + 2]
jmp 0x46c589
test ecx, ecx
jle 0x46c577
cmp ecx, 5
jge 0x46c577
cmp byte [edi + 6], 0
je 0x46c589
mov eax, dword [0x4b02a4]
shr eax, 1
test al, 1
jne 0x46c589
cmp ecx, 2
jg 0x46c589
add ecx, 2
jmp 0x46c589
mov ecx, dword [0x4b02a4]
shr ecx, 1
not cl
and ecx, 1
add ecx, ecx
or ecx, 1
mov dword [edi + 0x1c], ecx
cmp ecx, 2
je 0x46c596
cmp ecx, 4
jne 0x46c59a
mov byte [edi + 2], 1
mov esi, dword [edi + 0x3c]
test esi, esi
jne 0x46c5b3
push dword [edi + 0x28]
mov dl, byte [edi + 2]
mov ecx, ebx
call fcn.00471620
add esp, 4
jmp 0x46c5cd
cmp byte [edi + 6], 0
je 0x46c5d0
push dword [edi + 0x28]
mov dl, byte [edi + 2]
mov ecx, ebx
call fcn.00471620
add esp, 4
cmp esi, eax
jle 0x46c5d0
mov dword [edi + 0x3c], eax
mov ebx, dword [edi + 0x48]
xor edx, edx
mov ecx, dword [edi + 0x4c]
sub ecx, ebx
mov dword [ebp + 0xc], 0
add ecx, 3
shr ecx, 2
cmp ebx, dword [edi + 0x4c]
cmova ecx, edx
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x46c659
xor eax, eax
mov esi, dword [ebx]
mov ecx, dword [edi + 0x18]
mov dword [ebp + 8], ecx
mov edx, dword [esi + 4]
test edx, edx
je 0x46c610
cmp word [esi + 0x1c], 0
jbe 0x46c610
mov cl, 1
jmp 0x46c612
xor cl, cl
test cl, cl
je 0x46c64d
mov eax, dword [ebp + 8]
push str..nicehash.com
push edx
mov dword [esi + 0x10], eax
call fcn.00442bd0
add esp, 8
test eax, eax
je 0x46c633
mov word [esi], 0x100
push str..minergate.com
push dword [esi + 4]
call fcn.00442bd0
add esp, 8
test eax, eax
mov eax, dword [ebp + 0xc]
je 0x46c64d
mov byte [esi], 0
inc eax
add ebx, 4
mov dword [ebp + 0xc], eax
cmp eax, dword [ebp - 0x10]
jne 0x46c5f6
mov byte [edi + 5], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8