Function at 0x40a5a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x12c
cmp byte [0x4a0b61], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
je 0x40a635
cmp byte [0x4a2d14], 0
jne 0x40a5d1
cmp byte [0x4a0b60], 0
je 0x40a965
lea eax, [esp + 0x20]
mov dword [esp + 4], eax
mov dword [esp], 4
mov dword [esp + 0x20], 0x70706f50
mov dword [esp + 0x24], 0x20676e69
mov dword [esp + 0x28], 0x6b726f77
mov dword [esp + 0x2c], 0x6f726620
mov dword [esp + 0x30], 0x6567206d
mov dword [esp + 0x34], 0x75712074
mov dword [esp + 0x38], 0x20657565
mov dword [esp + 0x3c], 0x67206f74
mov dword [esp + 0x40], 0x77207465
mov dword [esp + 0x44], 0x6b726f
call fcn.0042ace0
mov eax, dword [0x49f198]
mov dword [esp], eax
call fcn.00460dd0
test eax, eax
je 0x40a676
jmp 0x40a984
test edx, edx
je 0x40a661
mov ecx, dword [edx + 0x250]
mov esi, dword [ecx + 0xc]
test esi, esi
jne 0x40a698
mov edx, dword [0x49f198]
add eax, 0x10
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00465920
mov eax, dword [0x4a2c28]
mov edx, dword [0x49f024]
cmp byte [eax + 8], 0
je 0x40a650
test edx, edx
je 0x40a977
mov ecx, dword [edx + 0x250]
mov esi, dword [ecx + 0xc]
cmp esi, dword [0x4a0200]
mov ebx, edx
jle 0x40a6da
cmp byte [edx + 0x215], 0
mov ebx, dword [edx + 0x258]
jne 0x40a880
mov ebp, dword [edx + 0x218]
test ebp, ebp
je 0x40a880
test ebx, ebx
je 0x40a6da
cmp byte [ebx + 0x215], 0
mov eax, dword [ebx + 0x258]
je 0x40a8d0
mov eax, dword [ebx + 0x254]
test eax, eax
je 0x40a890
mov ebp, dword [ecx + 0x14]
lea esi, [ebx + 0x250]
mov edi, dword [ecx + 0x10]
sub edi, ebp
cmp ebx, edi
je 0x40a8e5
test eax, eax
je 0x40a8f8
mov ecx, dword [edx + 0x250]
mov edi, dword [ebx + 0x258]
mov ecx, dword [ecx + 0x14]
mov dword [eax + ecx + 8], edi
mov eax, dword [ebx + 0x258]
test eax, eax
je 0x40a736
mov ecx, dword [edx + 0x250]
mov edi, dword [ebx + 0x254]
mov ecx, dword [ecx + 0x14]
mov dword [eax + ecx + 4], edi
mov ecx, dword [edx + 0x250]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
sub eax, 1
and eax, dword [ebx + 0x26c]
lea eax, [eax + eax*2]
shl eax, 2
add ecx, eax
sub dword [ecx + 4], 1
mov ecx, dword [edx + 0x250]
add eax, dword [ecx]
cmp esi, dword [eax]
je 0x40a910
mov eax, dword [ebx + 0x25c]
test eax, eax
je 0x40a779
mov ecx, dword [ebx + 0x260]
mov dword [eax + 0x10], ecx
mov eax, dword [ebx + 0x260]
test eax, eax
je 0x40a78c
mov ecx, dword [ebx + 0x25c]
mov dword [eax + 0xc], ecx
mov eax, dword [edx + 0x250]
sub dword [eax + 0xc], 1
cmp byte [ebx + 0x215], 0
jne 0x40a7b0
mov eax, dword [ebx + 0x218]
test eax, eax
je 0x40a7b0
sub dword [0x4a0200], 1
mov dword [esp], 0x4a2dd4
call fcn.004627b0
mov eax, dword [0x4a2c28]
add eax, 0x10
mov dword [esp], eax
call fcn.004627b0
mov eax, dword [0x49f198]
mov dword [esp], eax
call fcn.004603e0
test eax, eax
jne 0x40a989
call fcn.0045fb60
xor edx, edx
mov eax, ebx
call fcn.00409e70
test al, al
jne 0x40a923
cmp byte [0x4a0b61], 0
je 0x40a84f
cmp byte [0x4a2d14], 0
jne 0x40a81b
cmp byte [0x4a0b60], 0
jne 0x40a81b
cmp dword [0x47f720], 3
jle 0x40a84f
mov eax, dword [esp + 0x18]
lea esi, [esp + 0x20]
mov dword [esp + 8], str.Got_work_from_get_queue_to_get_work_for_thread__d
mov dword [esp + 4], 0x100
mov dword [esp], esi
mov dword [esp + 0xc], eax
call fcn.00471bd0
mov dword [esp + 4], esi
mov dword [esp], 4
call fcn.0042ace0
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x204], eax
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.00404740
mov eax, ebx
mov byte [ebx + 0x214], 1
add esp, 0x12c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, edx
mov eax, dword [ebx + 0x254]
test eax, eax
jne 0x40a6e8
mov esi, dword [ebx + 0x258]
test esi, esi
jne 0x40a6e8
mov eax, dword [ecx]
mov dword [esp], eax
call fcn.0047a350
mov eax, dword [0x49f024]
mov eax, dword [eax + 0x250]
mov dword [esp], eax
call fcn.0047a350
mov dword [0x49f024], 0
jmp 0x40a796
mov edi, dword [ebx + 0x218]
test edi, edi
je 0x40a6da
mov ebx, eax
jmp 0x40a6c3
add eax, ebp
mov dword [ecx + 0x10], eax
mov eax, dword [ebx + 0x254]
test eax, eax
jne 0x40a706
mov edx, dword [ebx + 0x258]
mov dword [0x49f024], edx
mov eax, edx
jmp 0x40a71f
mov edx, dword [ebx + 0x260]
mov dword [eax], edx
mov edx, dword [0x49f024]
jmp 0x40a766
mov dword [esp], ebx
call fcn.00403590
mov eax, dword [0x49f198]
mov dword [esp], eax
call fcn.00460dd0
test eax, eax
jne 0x40a984
mov dword [esp], 0x4a2dd4
call fcn.004627b0
mov eax, dword [0x49f198]
mov dword [esp], eax
call fcn.004603e0
test eax, eax
jne 0x40a989
call fcn.0045fb60
nop
jmp 0x40a635
cmp dword [0x47f720], 3
jle 0x40a635
jmp 0x40a5d1
mov ecx, dword [0x250]
xor ebx, ebx
jmp 0x40a6da
call fcn.0047aad4
call fcn.0047aa68
nop
push ebp
push edi
push esi
push ebx
sub esp, 0x1bc
mov ebx, dword [esp + 0x1d0]
mov byte [esp + 0x7b], 1
mov edx, dword [ebx + 0x1c]
mov eax, dword [ebx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x28], edx
mov edx, 0x66666667
mov dword [esp + 0x4c], ecx
mov ecx, dword [0x47e038]
mov eax, ecx
imul edx
mov eax, 1
sar ecx, 0x1f
sar edx, 1
sub edx, ecx
cmovne eax, edx
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 4]
test eax, eax
je 0x40a9eb
movzx edx, byte [ebx + 8]
mov byte [esp + 0x7b], dl
mov ecx, dword [esp + 0x4c]
lea ebp, [esp + 0x88]
mov dword [esp], ebx
call dword [ecx + 0x30]
mov dword [esp], ebp
mov dword [esp + 0x68], eax
call fcn.004199a0
lea eax, [esp + 0xa0]
mov dword [esp], eax
call fcn.004199a0
mov edx, dword [esp + 0x28]
cmp byte [edx + 0x3f8], 0
jne 0x40af93
imul ecx, dword [esp + 0x64], 0xf4240
mov dword [esp + 0x2c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
mov eax, ecx
add eax, 0x3ff
test ecx, ecx
cmovns eax, ecx
sar eax, 0xa
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x34], 0
add eax, 0x58
mov dword [esp + 0x7c], eax
mov edx, dword [esp + 0x6c]
mov eax, ebx
call fcn.0040a5a0
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x98]
mov byte [ebx + 0x40], 0
mov byte [edx + 0x158], 1
mov dword [esp], ecx
mov dword [esp + 0x3c], eax
call fcn.004199a0
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0x160], 0
mov dword [edx + 0x100], 0
mov dword [edx + 0x104], 0
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [ecx + 0x38]
test al, al
je 0x40b0c0
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x3c]
fld qword [edx + 0x68]
fld qword [eax + 0x270]
fxch st(1)
fucomi st(1)
fcmovnbe st(0), st(1)
cmp byte [0x4a2cb9], 0
fst qword [eax + 0x100]
je 0x40ac00
fild dword [0x4a2c70]
fdiv qword [section..data]
fmul dword [0x484bec]
fld dword [0x484c2c]
fxch st(1)
fucompi st(1)
fstp st(0)
jbe 0x40b090
mov ecx, dword [esp + 0x4c]
fld qword [ecx + 0x68]
fld qword [ecx + 0x60]
fucompi st(1)
jbe 0x40b0a0
fxch st(2)
fucomi st(2)
jbe 0x40b099
fstp st(0)
fstp st(0)
fadd dword [0x484be8]
cmp byte [0x4a0b61], 0
fst qword [ecx + 0x68]
je 0x40abc2
cmp byte [0x4a2d14], 0
jne 0x40ab76
cmp byte [0x4a0b60], 0
jne 0x40ab76
cmp dword [0x47f720], 3
jle 0x40abc2
mov edx, dword [esp + 0x4c]
fstp qword [esp + 0x10]
lea ecx, [esp + 0xb0]
mov eax, dword [edx + 4]
mov dword [esp], ecx
mov dword [esp + 8], str.Driver__s_working_diff_changed_to__.0f
mov dword [esp + 4], 0x100
mov dword [esp + 0xc], eax
call fcn.00471bd0
lea eax, [esp + 0xb0]
mov dword [esp + 4], eax
mov dword [esp], 4
call fcn.0042ace0
mov edx, dword [esp + 0x4c]
fld qword [edx + 0x68]
mov eax, dword [esp + 0x3c]
fld qword [eax + 0x270]
fxch st(1)
fucomi st(1)
fcmovnbe st(0), st(1)
fstp st(1)
fst qword [eax + 0x100]
jmp 0x40abe2
fstp st(1)
mov eax, dword [esp + 0x3c]
fstp qword [esp + 4]
add eax, 0xe0
mov dword [esp], eax
call fcn.00404780
jmp 0x40ac04
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x90]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
add eax, 0x3dc
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x3c]
add edx, 0x3e4
add ecx, 0x3d4
mov dword [esp + 0x54], edx
lea edx, [ebx + 0x24]
mov dword [esp + 0x58], ecx
add eax, 0x298
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
call fcn.004199a0
mov eax, dword [esp + 0x48]
mov dword [esp + 4], ebp
mov dword [esp], eax
call fcn.0041aba0
mov edx, dword [esp + 0x58]
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.0041abd0
mov ecx, dword [esp + 0x50]
mov dword [esp], ebp
mov dword [esp + 4], ecx
call fcn.0041ac00
test al, al
jne 0x40b038
mov edx, dword [esp + 0x54]
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.0041ac20
test al, al
jne 0x40b023
mov eax, dword [esp + 0x28]
add dword [eax + 0x3d0], 1
mov eax, dword [esp + 0x3c]
mov esi, dword [eax + 0x208]
mov dword [esp], ebp
lea eax, [esi + 0xec]
mov dword [esp + 4], eax
lea edi, [esi + 0xf4]
call fcn.0041abd0
mov dword [esp + 4], edi
mov dword [esp], ebp
call fcn.0041ac00
test al, al
jne 0x40b012
lea edi, [esi + 0xfc]
mov dword [esp + 4], edi
mov dword [esp], ebp
call fcn.0041ac20
test al, al
jne 0x40b001
mov edx, dword [esp + 0x5c]
add dword [esi + 0xe8], 1
mov dword [esp], edx
call fcn.004199a0
mov dword [esp + 4], 0
mov dword [esp], 1
call fcn.00465080
mov dword [esp], ebx
call fcn.00404740
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x68]
add eax, dword [ecx + 0x160]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp], ebx
call dword [ecx + 0x40]
mov byte [ebx + 0x35], 1
mov esi, eax
mov eax, dword [esp + 0x60]
mov edi, edx
mov dword [esp], eax
call fcn.004199a0
mov eax, dword [ebx + 0x1c]
mov dword [eax + 0xc0], 0
mov edx, dword [ebx + 0x1c]
mov dword [esp], 0
mov dword [esp + 0x24], edx
call fcn.0047a328
mov edx, dword [esp + 0x24]
mov dword [edx + 0x39c], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00465080
call fcn.00464f30
mov dword [esp], ebp
call fcn.004199a0
mov eax, esi
and eax, edi
cmp eax, 0xffffffff
je 0x40b261
mov eax, dword [esp + 0x28]
add dword [esp + 0x30], esi
adc dword [esp + 0x34], edi
cmp edi, dword [eax + 0x104]
jl 0x40adf4
jg 0x40ade4
cmp esi, dword [eax + 0x100]
jbe 0x40adf4
mov edx, dword [esp + 0x28]
mov dword [edx + 0x100], esi
mov dword [edx + 0x104], edi
mov ecx, dword [esp + 0x8c]
mov edi, dword [esp + 0x88]
mov eax, ecx
sub eax, dword [esp + 0x94]
mov edx, edi
sub edx, dword [esp + 0x90]
test eax, eax
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], eax
js 0x40b050
add dword [esp + 0x2c], eax
add dword [esp + 0x38], edx
cmp dword [esp + 0x2c], 0xf4240
jle 0x40ae49
add dword [esp + 0x38], 1
sub dword [esp + 0x2c], 0xf4240
mov eax, ecx
mov esi, edi
sub eax, dword [esp + 0x9c]
sub esi, dword [esp + 0x98]
cmp eax, 0x80000000
mov eax, dword [esp + 0x38]
adc esi, 0xffffffff
cmp dword [esp + 0x64], eax
jg 0x40b13f
jl 0x40b1b0
cmp dword [esp + 0x2c], 0x186a0
jg 0x40b1c8
sub ecx, dword [esp + 0xa4]
sub edi, dword [esp + 0xa0]
test ecx, ecx
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], ecx
js 0x40b070
mov edx, dword [esp + 0x34]
or edx, dword [esp + 0x30]
je 0x40afc1
test edi, edi
jle 0x40afb0
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], edx
lea edx, [esp + 0xa8]
call fcn.004091c0
lea edx, [esp + 0xa0]
mov dword [esp + 4], ebp
mov dword [esp], edx
call fcn.0041ac40
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
cmp byte [ebx + 0x40], 0
jne 0x40b1fb
cmp byte [ebx + 0x34], 0
jne 0x40b11b
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x98]
test eax, eax
jne 0x40b11b
mov dword [esp + 0x38], 0
mov dword [esp + 0x2c], 0
mov edx, dword [esp + 0x28]
cmp esi, dword [0x47e030]
mov eax, dword [edx + 0x100]
mov edx, dword [edx + 0x104]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
jg 0x40af76
mov eax, dword [esp + 0x3c]
xor edi, edi
xor edx, edx
mov esi, dword [eax + 0x160]
mov eax, 0xfffffffe
sub eax, dword [esp + 0x40]
sbb edx, dword [esp + 0x44]
cmp edi, edx
jbe 0x40afd2
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.00403150
mov edx, dword [esp + 0x28]
cmp byte [edx + 0x3f8], 0
je 0x40aa72
mov ecx, dword [esp + 0x28]
mov dword [ecx + 0x98], 1
add esp, 0x1bc
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [esp + 0xac], 0x30d40
jg 0x40aebf
cmp dword [0x47e038], edi
jg 0x40af01
jmp 0x40aebf
jb 0x40afd8
cmp esi, eax
jae 0x40af76
cmp dword [esp + 0x44], 0
lea esi, [esi]
ja 0x40af76
cmp dword [esp + 0x40], 0xfffffffd
ja 0x40af76
mov eax, dword [esp + 0x3c]
xor edx, edx
call fcn.00409e70
test al, al
jne 0x40af76
jmp 0x40ac4c
mov dword [esp + 4], ebp
mov dword [esp], edi
call fcn.0041ac40
jmp 0x40ad03
mov dword [esp + 4], ebp
mov dword [esp], edi
call fcn.0041ac40
jmp 0x40ace9
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ebp
mov dword [esp], ecx
call fcn.0041ac40
jmp 0x40aca8
mov eax, dword [esp + 0x50]
mov dword [esp + 4], ebp
mov dword [esp], eax
call fcn.0041ac40
jmp 0x40ac90
sub edx, 1
add eax, 0xf4240
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], eax
jmp 0x40ae2a
sub edi, 1
add ecx, 0xf4240
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], ecx
jmp 0x40aea9
mov edx, dword [esp + 0x4c]
fld qword [edx + 0x68]
jmp 0x40b0a0
fxch st(2)
nop
lea esi, [esi]
fucompi st(2)
jbe 0x40abe0
fstp st(0)
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x3c]
fstp qword [ecx + 0x68]
fld qword [eax + 0x100]
jmp 0x40abe2
cmp byte [0x4a2d14], 0
jne 0x40b0df
cmp byte [0x4a0b60], 0
jne 0x40b0df
mov eax, dword [0x47f720]
test eax, eax
js 0x40af93
mov eax, dword [esp + 0x6c]
lea ebx, [esp + 0xb0]
mov dword [esp + 8], str.work_prepare_failed__exiting_mining_thread__d
mov dword [esp + 4], 0x100
mov dword [esp], ebx
mov dword [esp + 0xc], eax
call fcn.00471bd0
mov dword [esp + 4], ebx
mov dword [esp], 0
call fcn.0042ace0
jmp 0x40af93
mov ecx, dword [esp + 0x7c]
mov eax, ebx
mov edx, dword [esp + 0x6c]
call fcn.004027d0
mov dword [esp + 0x38], 0
mov dword [esp + 0x2c], 0
jmp 0x40af37
cmp dword [esp + 0x68], 0xffffffff
je 0x40af37
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
add edx, 0x7ff
add eax, 0x400
cmovs eax, edx
sar eax, 0xa
mov dword [esp + 0x20], eax
mov eax, 0xf4240
mov edx, eax
sar edx, 0x1f
idiv dword [esp + 0x20]
xor edx, edx
add eax, 0x10
imul eax, dword [esp + 0x64]
mov dword [esp + 0x40], eax
mov eax, 0xfffffc00
div dword [esp + 0x40]
cmp dword [esp + 0x68], eax
ja 0x40b302
mov eax, dword [esp + 0x40]
imul eax, dword [esp + 0x68]
shr eax, 0xa
mov dword [esp + 0x68], eax
jmp 0x40ae85
mov eax, dword [esp + 0x68]
xor edx, edx
imul eax, dword [esp + 0x64]
div dword [esp + 0x38]
mov dword [esp + 0x68], eax
jmp 0x40ae85
mov eax, dword [esp + 0x68]
shl eax, 0xa
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x70]
add eax, dword [esp + 0x2c]
mov edx, eax
sar edx, 0x1f
idiv dword [esp + 0x74]
xor edx, edx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x40]
div dword [esp + 0x68]
mov dword [esp + 0x68], eax
jmp 0x40ae85
cmp byte [esp + 0x7b], 0
jne 0x40af76
imul esi, dword [ebx + 4], 0xee6b280
lea ecx, [esp + 0xb0]
mov dword [esp], ecx
call fcn.004199a0
mov edx, 0x431bde83
add esi, 0xf423f
mov eax, esi
imul edx
sar esi, 0x1f
mov dword [esp + 4], 1
sar edx, 0x12
sub edx, esi
mov dword [esp], edx
call fcn.0047a5b4
sub esp, 8
cmp eax, 0xc0
jne 0x40af76
call fcn.0047a378
mov dword [eax], 4
jmp 0x40af76
cmp byte [0x4a2d14], 0
jne 0x40b273
cmp byte [0x4a0b60], 0
je 0x40b2f1
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x4c]
mov eax, dword [edx + 8]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 8]
mov dword [esp + 8], str._s__d_failure__disabling_
mov dword [esp + 4], 0x100
mov dword [esp + 0xc], eax
lea eax, [esp + 0xb0]
mov dword [esp], eax
call fcn.00471bd0
lea edx, [esp + 0xb0]
mov dword [esp + 4], edx
mov dword [esp], 0
call fcn.0042ace0
mov ecx, dword [esp + 0x28]
mov dword [ecx + 0x98], 1
mov dword [esp], ecx
mov dword [esp + 4], 1
call fcn.0041de80
mov ecx, dword [esp + 0x7c]
mov eax, ebx
mov edx, dword [esp + 0x6c]
call fcn.004027d0
jmp 0x40adc6
mov eax, dword [0x47f720]
test eax, eax
jns 0x40b273
nop
jmp 0x40b2bf
mov dword [esp + 0x68], 0xffffffff
jmp 0x40ae85