Function at 0x5b6890
Capabilities:
Encode data using xor

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0xa98
mov eax, dword [ecx + 4]
mov dword [ebp - 0xa40], ecx
mov dword [ebp - 0xa58], eax
call dbg.__main
mov dword [esp], 3
mov dword [ebp - 0xa28], 0
call sym._curl_global_init
test eax, eax
jne 0x5b756f
mov edi, dword [ebp - 0xa40]
mov dword [esp + 0xc], 0x2b09
mov dword [esp + 8], str.main
mov dword [esp + 4], str.cgminer.c
mov eax, dword [edi]
lea eax, [eax*4 + 4]
mov dword [esp], eax
call sym.__cgmalloc
mov esi, eax
mov dword [0x73114c], eax
mov eax, dword [edi]
test eax, eax
jle 0x5b693d
mov edi, dword [ebp - 0xa58]
xor ebx, ebx
lea esi, [esi]
mov eax, dword [edi + ebx*4]
mov dword [esp], eax
call sym._strdup
mov dword [esi + ebx*4], eax
mov eax, dword [ebp - 0xa40]
add ebx, 1
mov eax, dword [eax]
cmp eax, ebx
jg 0x5b6920
mov dword [esi + eax*4], 0
mov ecx, 0x2b0e
mov edx, str.main
mov eax, 0x744f0c
call sym.__mutex_init.constprop.68
mov ecx, 0x2b0f
mov edx, str.main
mov eax, 0x745a2c
call sym.__mutex_init.constprop.68
mov ecx, 0x2b10
mov edx, str.main
mov eax, 0x74602c
call sym.__cglock_init.constprop.67
mov ecx, 0x2b11
mov edx, str.main
mov eax, 0x745508
call sym.__mutex_init.constprop.68
mov ecx, 0x2b12
mov edx, str.main
mov eax, 0x7326e8
call sym.__mutex_init.constprop.68
mov ecx, 0x2b13
mov edx, str.main
mov eax, 0x745ec8
call sym.__cglock_init.constprop.67
mov ecx, 0x2b14
mov edx, str.main
mov eax, 0x7329f4
call sym.__mutex_init.constprop.68
mov ecx, 0x2b15
mov edx, str.main
mov eax, 0x7329f8
call sym.__rwlock_init.constprop.69
mov ecx, 0x2b16
mov edx, str.main
mov eax, 0x745470
call sym.__rwlock_init.constprop.69
mov ecx, 0x2b17
mov edx, str.main
mov eax, 0x745cd0
call sym.__rwlock_init.constprop.69
mov ecx, 0x2b18
mov edx, str.main
mov eax, 0x74518c
call sym.__rwlock_init.constprop.69
mov ecx, 0x2b1a
mov edx, str.main
mov eax, 0x745eb4
call sym.__cglock_init.constprop.67
mov ecx, 0x2b1d
mov edx, str.main
mov eax, 0x7329f0
call sym.__mutex_init.constprop.68
mov dword [esp + 4], 0
mov dword [esp], 0x7329ec
call sym._pthread_cond_init
test eax, eax
jne 0x5b7b70
mov ecx, 0x2b21
mov edx, str.main
mov eax, 0x7455ac
call sym.__mutex_init.constprop.68
mov dword [esp + 4], 0
mov dword [esp], 0x745380
call sym._pthread_cond_init
test eax, eax
jne 0x5b7b7d
mov dword [esp + 4], 0
mov dword [esp], 0x7458f0
call sym._pthread_cond_init
test eax, eax
jne 0x5b7b8a
call sym._tq_new
test eax, eax
mov dword [0x745654], eax
je 0x5b7c01
add eax, 0xc
mov dword [esp], 0
mov dword [0x7329fc], eax
call sym._libusb_init_4
test eax, eax
push edx
mov ebx, eax
jne 0x5b6dd5
call sym._initialise_usblocks
mov dword [esp + 0xc], 0
mov dword [esp + 8], sym._libusb_poll_thread
lea ebx, [ebp - 0xa24]
mov dword [esp + 4], 0
mov dword [esp], 0x732a24
mov byte [0x732a22], 1
call dbg.pthread_create
mov dword [esp + 0x10], 0x5c4470
mov dword [esp + 0xc], str.cgminer
mov dword [esp + 8], 0x5c4487
mov dword [esp + 4], 0x100
mov dword [esp], 0x732a60
call sym._snprintf
lea eax, [ebp - 0xa20]
mov dword [ebp - 0xa24], sym._sighandler
mov dword [ebp - 0xa1c], 0
mov dword [esp], eax
call sym._sigemptyset
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x745ed4
mov dword [esp], 0xf
call sym._sigaction
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x745d6c
mov dword [esp], 2
call sym._sigaction
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x745658
mov dword [esp], 0x16
call sym._sigaction
mov dword [esp], 1
call dword [sym.imp.WINMM.DLL_timeBeginPeriod]
mov edx, 0x120
push eax
mov ecx, 0xf
mov eax, edx
call fcn.005ac030
mov esi, str._usr_local_bin
sub esp, eax
lea eax, [esp + 0x4f]
and eax, 0xfffffff0
mov edi, eax
mov dword [0x745ef0], eax
mov eax, edx
rep movsb byte es:[edi], byte [esi]
call fcn.005ac030
mov esi, 0x24
sub esp, eax
lea eax, [esp + 0x4f]
and eax, 0xfffffff0
mov dword [0x744dd0], eax
mov eax, dword [ebp - 0xa58]
mov eax, dword [eax]
mov dword [esp], eax
call sym._strdup
mov dword [esp], eax
mov ebx, eax
call dbg.dirname
mov dword [esp + 4], eax
mov eax, dword [0x744dd0]
mov dword [esp], eax
call sym._strcpy
mov dword [esp], ebx
call sym._free
mov edx, dword [0x744dd0]
xor eax, eax
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov dword [0x732580], 9
mov eax, ecx
not eax
mov word [edx + eax - 1], 0x2f
mov dword [esp + 0x10], 0x2b4a
mov dword [esp + 0xc], str.main
mov dword [esp + 8], str.cgminer.c
mov dword [esp + 4], 1
mov dword [esp], 0x68
call sym.__cgcalloc
mov ebx, eax
mov dword [esp], ebx
mov edi, 0x30
call sym._strlen
sub esi, 1
mov word [ebx + eax], di
jne 0x5b6c82
add eax, 1
mov edi, ebx
cmp eax, 0xb
mov dword [ebp - 0xa48], eax
jbe 0x5b7d10
mov dword [ebp - 0xa34], eax
mov edx, 0x9e3779b9
mov esi, 0x9e3779b9
mov ecx, 0xfeedbeef
mov dword [ebp - 0xa50], ebx
mov esi, esi
lea edi, [edi]
movzx ebx, byte [edi + 5]
movzx eax, byte [edi + 6]
shl ebx, 8
shl eax, 0x10
add eax, ebx
movzx ebx, byte [edi + 4]
add ebx, eax
movzx eax, byte [edi + 7]
shl eax, 0x18
add eax, ebx
movzx ebx, byte [edi + 9]
add eax, edx
movzx edx, byte [edi + 0xa]
shl ebx, 8
shl edx, 0x10
add edx, ebx
movzx ebx, byte [edi + 8]
add ebx, edx
movzx edx, byte [edi + 0xb]
shl edx, 0x18
add ebx, edx
movzx edx, byte [edi + 1]
add ebx, ecx
mov ecx, edx
movzx edx, byte [edi + 2]
shl ecx, 8
shl edx, 0x10
add edx, ecx
movzx ecx, byte [edi]
add edx, ecx
movzx ecx, byte [edi + 3]
shl ecx, 0x18
add edx, ecx
sub edx, eax
sub eax, ebx
sub edx, ebx
add esi, edx
mov edx, ebx
shr edx, 0xd
xor edx, esi
mov ecx, edx
sub eax, edx
sub ebx, edx
shl ecx, 8
xor eax, ecx
mov ecx, eax
sub ebx, eax
shr ecx, 0xd
xor ebx, ecx
sub edx, eax
sub dword [ebp - 0xa34], 0xc
mov ecx, ebx
sub edx, ebx
sub eax, ebx
shr ecx, 0xc
add edi, 0xc
xor edx, ecx
mov ecx, edx
sub eax, edx
sub ebx, edx
shl ecx, 0x10
xor eax, ecx
mov ecx, eax
sub ebx, eax
sub edx, eax
shr ecx, 5
xor ebx, ecx
mov esi, ebx
sub edx, ebx
sub eax, ebx
shr esi, 3
xor esi, edx
mov edx, esi
sub eax, esi
sub ebx, esi
shl edx, 0xa
xor edx, eax
mov eax, dword [ebp - 0xa34]
mov ecx, edx
sub ebx, edx
shr ecx, 0xf
xor ecx, ebx
cmp eax, 0xb
ja 0x5b6cd0
mov ebx, dword [ebp - 0xa50]
mov eax, dword [ebp - 0xa34]
add ecx, dword [ebp - 0xa48]
sub eax, 1
cmp eax, 0xa
ja case.default.0x5b6dce
jmp dword [eax*4 + 0x5c4ab4]
mov esi, dword [dbg.__acrt_iob_func]
mov dword [esp], 2
call esi
mov dword [esp + 8], ebx
mov dword [esp + 4], str.libusb_init___failed_err__d
mov dword [esp], eax
call sym._fprintf
mov dword [esp], 2
call esi
mov dword [esp], eax
call sym._fflush
mov dword [esp + 8], str.libusb_init___failed
lea ebx, [ebp - 0xa18]
mov dword [esp + 4], 0xa00
mov dword [esp], ebx
call sym._snprintf
mov dword [esp + 8], 1
mov dword [esp + 4], ebx
mov dword [esp], 0
call sym.__applog
mov dword [esp + 4], 1
mov dword [esp], 1
call sym.___quit
movzx eax, byte [edi + 0xa]
shl eax, 0x18
add ecx, eax
movzx eax, byte [edi + 9]
shl eax, 0x10
add ecx, eax
movzx eax, byte [edi + 8]
shl eax, 8
add ecx, eax
movzx eax, byte [edi + 7]
shl eax, 0x18
add edx, eax
movzx eax, byte [edi + 6]
shl eax, 0x10
add edx, eax
movzx eax, byte [edi + 5]
shl eax, 8
add edx, eax
movzx eax, byte [edi + 4]
add edx, eax
movzx eax, byte [edi + 3]
shl eax, 0x18
add esi, eax
movzx eax, byte [edi + 2]
shl eax, 0x10
add esi, eax
movzx eax, byte [edi + 1]
shl eax, 8
add esi, eax
movzx eax, byte [edi]
mov edi, esi
add edi, eax
mov esi, edi
sub esi, edx
sub edx, ecx
mov dword [ebx + 0x58], ebx
mov eax, esi
mov esi, ecx
sub eax, ecx
shr esi, 0xd
xor esi, eax
mov eax, esi
sub edx, esi
sub ecx, esi
shl eax, 8
xor edx, eax
mov eax, edx
sub ecx, edx
sub esi, edx
shr eax, 0xd
xor eax, ecx
mov ecx, eax
sub esi, eax
sub edx, eax
shr ecx, 0xc
xor ecx, esi
mov esi, ecx
sub edx, ecx
sub eax, ecx
shl esi, 0x10
xor edx, esi
mov esi, edx
sub eax, edx
sub ecx, edx
shr esi, 5
xor eax, esi
mov esi, eax
sub ecx, eax
sub edx, eax
shr esi, 3
xor ecx, esi
mov esi, ecx
sub edx, ecx
shl esi, 0xa
xor edx, esi
sub eax, ecx
mov esi, dword [0x732914]
sub eax, edx
shr edx, 0xf
xor edx, eax
mov eax, dword [ebp - 0xa48]
test esi, esi
mov dword [ebp - 0xa34], edx
mov dword [ebx + 0x60], edx
mov dword [ebx + 0x5c], eax
je 0x5b8011
mov eax, dword [esi + 0x44]
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x44], eax
mov edx, dword [esi + 0x44]
mov eax, dword [edx + 0x10]
sub eax, dword [edx + 0x14]
lea edx, [ebx + 0x44]
mov dword [ebx + 0x48], eax
mov eax, dword [esi + 0x44]
mov eax, dword [eax + 0x10]
mov dword [eax + 8], ebx
mov eax, dword [esi + 0x44]
mov dword [eax + 0x10], edx
mov eax, dword [esi + 0x44]
add dword [eax + 0xc], 1
mov ecx, dword [esi + 0x44]
mov eax, dword [ecx + 4]
sub eax, 1
and eax, dword [ebp - 0xa34]
imul eax, eax, 0xc
add eax, dword [ecx]
mov ecx, dword [eax]
add dword [eax + 4], 1
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x54], ecx
mov ecx, dword [eax]
test ecx, ecx
je 0x5b6f98
mov dword [ecx + 0xc], edx
mov edi, dword [eax + 8]
mov dword [eax], edx
lea edx, [edi + 1]
imul edx, edx, 0xa
cmp dword [eax + 4], edx
jb 0x5b6fbc
mov eax, dword [ebx + 0x44]
mov edi, dword [eax + 0x24]
test edi, edi
mov dword [ebp - 0xa60], edi
je 0x5b707b
mov dword [esp + 4], ebx
mov dword [esp], 0x745680
call sym._strcpy
mov dword [esp + 4], str.Options_for_both_config_file_and_command_line
mov dword [esp], str.__api_allow
mov dword [0x745ac8], 0x745ac8
mov dword [0x745acc], 0x745ac8
call sym._opt_register_table
mov dword [esp + 4], str.Options_for_command_line_only
mov dword [esp], str.__config_c
call sym._opt_register_table
mov edi, dword [ebp - 0xa40]
mov eax, dword [ebp - 0xa58]
mov dword [esp + 8], sym._applog_and_exit
mov dword [esp + 4], eax
mov dword [esp], edi
call sym._opt_parse
cmp dword [edi], 1
je 0x5b71e5
mov dword [esp + 8], str.Unexpected_extra_commandline_arguments
lea ebx, [ebp - 0xa18]
mov dword [esp + 4], 0xa00
mov dword [esp], ebx
call sym._snprintf
mov dword [esp + 8], 1
mov dword [esp + 4], ebx
mov dword [esp], 0
call sym.__applog
mov dword [esp + 4], 0
mov dword [esp], 1
call sym.___quit
mov dword [esp + 4], 1
imul eax, dword [eax + 4], 0x18
mov dword [esp], eax
call sym._calloc
test eax, eax
mov dword [ebp - 0xa48], eax
je 0x5b8512
mov eax, dword [ebx + 0x44]
mov edx, dword [eax + 4]
mov esi, dword [eax + 0xc]
mov edi, dword [eax + 8]
lea edx, [edx + edx - 1]
lea ecx, [edi + 1]
test edx, esi
setne dl
shr esi, cl
movzx edx, dl
add edx, esi
mov dword [eax + 0x18], edx
mov eax, dword [ebx + 0x44]
mov dword [eax + 0x1c], 0
mov edx, dword [ebx + 0x44]
mov eax, dword [edx + 4]
test eax, eax
je 0x5b7190
mov dword [ebp - 0xa50], 0
mov edi, dword [ebp - 0xa50]
mov esi, dword [edx]
lea ecx, [edi + edi*2]
lea ecx, [esi + ecx*4]
mov esi, dword [ecx]
test esi, esi
je 0x5b7178
mov dword [ebp - 0xa34], ebx
jmp 0x5b710f
mov eax, dword [ebp - 0xa34]
mov esi, edi
mov eax, dword [eax + 0x44]
mov eax, dword [eax + 4]
lea eax, [eax + eax - 1]
and eax, dword [esi + 0x1c]
mov ecx, dword [ebp - 0xa48]
mov edx, dword [ebp - 0xa34]
mov edi, dword [esi + 0x10]
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*4]
mov eax, dword [ecx + 4]
add eax, 1
mov dword [ecx + 4], eax
mov edx, dword [edx + 0x44]
cmp eax, dword [edx + 0x18]
jbe 0x5b7154
mov eax, dword [ebp - 0xa34]
add dword [edx + 0x1c], 1
xor edx, edx
mov ebx, dword [eax + 0x44]
mov eax, dword [ecx + 4]
div dword [ebx + 0x18]
mov dword [ecx + 8], eax
mov dword [esi + 0xc], 0
mov eax, dword [ecx]
mov dword [esi + 0x10], eax
mov eax, dword [ecx]
test eax, eax
je 0x5b7169
mov dword [eax + 0xc], esi
test edi, edi
mov dword [ecx], esi
jne 0x5b7101
mov ebx, dword [ebp - 0xa34]
mov edx, dword [ebx + 0x44]
add dword [ebp - 0xa50], 1
mov eax, dword [edx + 4]
mov edi, dword [ebp - 0xa50]
cmp eax, edi
ja 0x5b70e1
mov eax, dword [edx]
mov dword [esp], eax
call sym._free
mov eax, dword [ebx + 0x44]
mov edi, dword [ebp - 0xa48]
shl dword [eax + 4], 1
mov eax, dword [ebx + 0x44]
add dword [eax + 8], 1
mov eax, dword [ebx + 0x44]
mov dword [eax], edi
mov eax, dword [ebx + 0x44]
mov edx, dword [eax + 0xc]
shr edx, 1
cmp dword [eax + 0x1c], edx
ja 0x5b7c0e
mov edi, dword [ebp - 0xa60]
mov dword [eax + 0x20], edi
mov eax, dword [ebx + 0x44]
cmp dword [eax + 0x20], 1
jbe 0x5b6fbc
mov dword [eax + 0x24], 1
jmp 0x5b6fbc
cmp byte [0x732908], 0
je 0x5b7b97
cmp byte [0x732a38], 0
je 0x5b757c
fldz
mov edi, 0x20
lea esi, [ebp - 0x8d8]
mov byte [ebp - 0xa34], 0
mov ebx, edi
fst qword [ebp - 0xa40]
fld1
lea esi, [esi]
mov ecx, 0xff
lea eax, [ebp - 0x8f8]
sub ecx, ebx
sar ecx, 3
mov byte [eax], 0
add eax, 1
cmp esi, eax
jne 0x5b7230
mov byte [ebp + ecx - 0x8f8], 0xff
mov byte [ebp + ecx - 0x8f9], 0xff
mov eax, dword [ebp - 0x8dc]
fild qword [ebp - 0x8e0]
test eax, eax
js 0x5b7564
mov edi, dword [ebp - 0x8e4]
test edi, edi
fstp qword [ebp - 0xa30]
fld qword [ebp - 0xa30]
fld qword [0x5c8d18]
fmulp st(1)
fild qword [ebp - 0x8e8]
js 0x5b7552
mov ecx, dword [ebp - 0x8ec]
test ecx, ecx
fstp qword [ebp - 0xa30]
fld qword [ebp - 0xa30]
fmul qword [0x5c8d20]
faddp st(1)
fild qword [ebp - 0x8f0]
js 0x5b7547
mov edx, dword [ebp - 0x8f4]
test edx, edx
fstp qword [ebp - 0xa30]
fld qword [ebp - 0xa30]
fld dword [0x5c8d10]
fmul st(1), st(0)
fxch st(1)
faddp st(2)
fild qword [ebp - 0x8f8]
js 0x5b755d
fstp st(1)
fstp qword [ebp - 0xa30]
fld qword [ebp - 0xa30]
faddp st(1)
fdivr qword [0x5c8d08]
fld st(1)
fsub st(1)
fld st(0)
fdiv st(3)
fld qword [0x5c8d78]
fucompi st(1)
ja 0x5b74a1
fld qword [0x5c8d80]
fxch st(1)
movzx ecx, byte [ebp - 0xa34]
fucompi st(1)
fstp st(0)
fxch st(3)
seta al
mov edi, eax
mov eax, 1
cmova ecx, eax
mov byte [ebp - 0xa34], cl
fstp qword [ebp - 0xa68]
fxch st(1)
lea eax, [ebx - 0x20]
fstp qword [ebp - 0xa60]
fxch st(1)
mov dword [ebp - 0xa48], eax
fstp qword [ebp - 0xa58]
fstp qword [ebp - 0xa50]
fild dword [ebp - 0xa48]
fstp qword [esp + 8]
fld dword [0x5c8d88]
fstp qword [esp]
call dbg.pow
fld qword [ebp - 0xa60]
fld st(0)
fsub st(2)
fld st(0)
fdiv st(3)
fld qword [0x5c8d78]
fucompi st(1)
fld qword [ebp - 0xa50]
fld qword [ebp - 0xa58]
fld qword [ebp - 0xa68]
ja 0x5b7484
fld qword [0x5c8d80]
fxch st(4)
fucompi st(4)
fstp st(3)
ja 0x5b748c
fxch st(2)
fucomi st(4)
jbe 0x5b84e5
fxch st(1)
fxch st(2)
fxch st(1)
mov byte [ebp - 0xa34], 1
mov ecx, 0x5c1082
mov eax, edi
fld qword [ebp - 0xa40]
mov edx, 0x5c1082
test al, al
mov eax, str._DELTA_TOO_LARGE_
mov edi, str._FATAL_DROP_IN_TEST:
cmovne edx, eax
mov eax, 0x5c1082
mov dword [esp + 0x3c], ecx
fucompi st(3)
mov dword [esp + 0x28], edx
mov edx, 0x5c1082
mov dword [esp + 4], ebx
mov dword [esp], str._3d_s_s_real_.8E_calc_.8E_delta_.8E_s_pow_.8E_powdelta_.8E_s_n
cmovbe edi, eax
mov eax, str._FATAL_DROP_IN_DIFF:
fucompi st(4)
fxch st(2)
mov dword [esp + 0xc], edi
fstp qword [esp + 0x34]
fxch st(3)
cmovbe eax, edx
mov dword [esp + 8], eax
fstp qword [esp + 0x2c]
fstp qword [esp + 0x20]
fxch st(1)
fst qword [esp + 0x18]
fstp qword [ebp - 0xa48]
fst qword [esp + 0x10]
fstp qword [ebp - 0xa40]
call sym._printf
fld dword [0x5c8d8c]
fld qword [ebp - 0xa40]
fld st(0)
fmul st(2)
fld st(0)
fdiv st(2)
fucompi st(3)
fstp st(2)
fld qword [ebp - 0xa48]
jp 0x5b74b6
jne 0x5b74c0
add ebx, 8
cmp ebx, 0xf0
je 0x5b751a
jmp 0x5b7477
fxch st(1)
fstp qword [ebp - 0xa40]
fxch st(1)
jmp 0x5b7220
fstp st(3)
fxch st(1)
fxch st(2)
jmp 0x5b7490
fxch st(1)
fxch st(2)
mov byte [ebp - 0xa34], 1
mov ecx, str._POW_DELTA_TOO_LARGE_
jmp 0x5b73c7
fstp st(0)
fxch st(3)
mov byte [ebp - 0xa34], 1
mov edi, 1
jmp 0x5b732e
fxch st(2)
jmp 0x5b74c2
fxch st(2)
fstp qword [ebp - 0xa50]
fxch st(1)
mov dword [esp + 4], ebx
mov dword [esp], str.FATAL_for__d_double_size_doesnt_handle_above__.8E_n
add ebx, 8
fstp qword [ebp - 0xa48]
fst qword [esp + 8]
fstp qword [ebp - 0xa40]
call sym._printf
fld qword [ebp - 0xa50]
cmp ebx, 0xf0
mov byte [ebp - 0xa34], 1
fld qword [ebp - 0xa48]
fld qword [ebp - 0xa40]
jne 0x5b7475
fstp st(0)
fstp st(0)
fstp st(0)
jmp 0x5b7520
fstp st(0)
fstp st(0)
fstp st(0)
cmp byte [ebp - 0xa34], 0
jne 0x5b7cff
mov dword [esp], str._nTest_succeeded.
call sym._puts
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
fadd dword [0x5c8d10]
jmp 0x5b72ae
fadd dword [0x5c8d10]
jmp 0x5b7286
faddp st(1)
jmp 0x5b72dc
fadd dword [0x5c8d10]
jmp 0x5b725e
mov dword [esp + 8], str.Failed_to_curl_global_init
jmp 0x5b7039
cmp byte [0x732a39], 0
jne 0x5b7592
cmp dword [0x732a4c], 0
je 0x5b76ca
call sym._add_pool
mov dword [esp + 0xc], 0x2bc3
mov dword [esp + 8], str.main
mov ebx, eax
mov dword [esp + 4], str.cgminer.c
mov dword [esp], 0xff
call sym.__cgmalloc
cmp dword [0x732a4c], 0
mov dword [ebx + 0x18c], eax
je 0x5b80dd
mov esi, str.Benchfile
mov ecx, 0xa
mov edi, eax
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x18c]
mov dword [ebx + 0x194], eax
mov dword [ebx + 0x198], eax
mov dword [ebx + 0x190], eax
mov dword [ebx + 0x2c8], eax
lea eax, [ebx + 0x30]
mov dword [esp + 8], 7
mov dword [esp + 4], 0x5c45c6
mov dword [esp], eax
call sym._strncpy
cmp dword [ebx + 0x148], 1
mov byte [ebx + 0x37], 0
je 0x5b7635
add dword [0x7462b0], 1
mov dword [ebx + 0x148], 1
mov byte [ebx + 0x145], 0
mov byte [0x732b60], 1
mov edx, 0x731b80
mov ebx, str.000000029c6bf469abe4ad37605c097a860cff3cf5c1ef4377618f74000000000000000082b1514e7b6565941e5824f084292164ec5f97e7ea20c494bd96e524d478977b536dd2261900896c8b10020000000080000000000000000000000000000000000000000000000000000000000000000000000000000000008002000064e4e3becc01064d808269b330f40f4de82dc92e894d635025daa3e2e2c410b4
mov edi, 0x731180
mov esi, str.00000002c01f502cb3e9fdb053230ec12a4954c1021a6b35862b5e29000000000000000084d1b83ae44057025e8c5b5756b44f04df5fffe4a7a30e5c12d12a97a7a4c2ea536dce431900896cb6d60e00000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000d08f7e14c50dad77dc238b4db2901a0578e657b1954779ab9cd82a73829edf7f
mov esi, esi
lea edi, [edi]
mov dword [esp], edx
mov dword [esp + 4], ebx
add ebx, 0x144
mov dword [esp + 8], 0xa0
mov dword [ebp - 0xa34], edx
call sym._hex2bin
mov dword [esp + 4], esi
mov dword [esp], edi
add esi, 0x144
mov dword [esp + 8], 0xa0
add edi, 0xa0
call sym._hex2bin
mov edx, dword [ebp - 0xa34]
add edx, 0xa0
cmp ebx, 0x5c8d00
jne 0x5b7660
fld dword [0x5c8d90]
mov dword [esp], 0x731160
fstp qword [esp + 4]
call sym._set_target
cmp byte [0x745ef7], 0
jne 0x5b77fd
cmp byte [0x732fa0], 0
jne 0x5b77fd
cmp dword [0x5bc2e0], 0
jg 0x5b77fd
mov eax, dword [0x731020]
test eax, eax
je 0x5b7887
cmp dword [0x5bc2e0], 1
jle 0x5b80f0
lea edi, [ebp - 0xa18]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.Loaded_configuration_file__s
mov dword [esp + 4], 0xa00
mov dword [esp], edi
call sym._snprintf
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 2
call sym.__applog
mov eax, dword [0x7326cc]
cmp eax, 0xffffffff
je 0x5b7f7d
test eax, eax
jne 0x5b7870
cmp byte [0x745ef7], 0
jne 0x5b777a
cmp byte [0x732fa0], 0
jne 0x5b777a
cmp dword [0x5bc2e0], 0
jle 0x5b84cd
lea edi, [ebp - 0xa18]
mov dword [esp + 8], str.Fatal_JSON_error_in_configuration_file.
mov dword [esp + 4], 0xa00
mov dword [esp], edi
call sym._snprintf
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 1
call sym.__applog
cmp byte [0x745ef7], 0
jne 0x5b77c6
cmp byte [0x732fa0], 0
je 0x5b84cd
mov dword [esp + 8], str.Configuration_file_could_not_be_used.
mov dword [esp + 4], 0xa00
mov dword [esp], edi
call sym._snprintf
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 1
call sym.__applog
mov eax, dword [0x731020]
jmp 0x5b7875
lea edi, [ebp - 0xa18]
mov dword [esp + 0xc], 0x732a60
mov dword [esp + 8], str.Started__s
mov dword [esp + 4], 0xa00
mov dword [esp], edi
call sym._snprintf
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 1
call sym.__applog
mov eax, dword [0x731020]
test eax, eax
je 0x5b7887
cmp byte [0x745ef7], 0
jne 0x5b7711
cmp byte [0x732fa0], 0
jne 0x5b7711
jmp 0x5b76fe
cmp byte [0x745189], 0
jne 0x5b7ff1
mov eax, dword [0x731020]
mov dword [esp], eax
call sym._free
mov dword [0x731020], 0
mov edx, dword [0x745ef0]
xor eax, eax
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov eax, ecx
not eax
mov word [edx + eax - 1], 0x2f
cmp byte [0x745188], 0
je 0x5b78b1
mov byte [0x732fa0], 1
mov dword [esp + 0x10], 0x2c3d
mov dword [esp + 0xc], str.main
mov dword [esp + 8], str.cgminer.c
mov dword [esp + 4], 0x34
mov dword [esp], 8
mov dword [0x732a08], 8
call sym.__cgcalloc
mov dword [0x745cb0], eax
call sym._usb_initialise
mov dword [esp + 0xc], 0x2c4b
mov dword [esp + 8], str.main
mov dword [esp + 4], str.cgminer.c
mov dword [esp], 0x74536c
call sym.__cgsem_init
mov ebx, dword [0x745cb0]
mov dword [esp + 8], sym._usb_resource_thread
mov dword [esp + 4], 0
mov dword [0x732a10], 1
lea eax, [ebx + 0x34]
mov dword [esp + 0xc], eax
mov dword [esp], eax
call sym._thr_info_create
test eax, eax
jne 0x5b80d0
mov eax, dword [ebx + 0x40]
mov dword [esp], eax
call dbg.pthread_detach
mov dword [esp], 0x745c20
call sym._fill_device_drv
mov dword [esp], 0x745480
call sym._fill_device_drv
mov dword [esp], 0x7459a0
call sym._fill_device_drv
mov dword [esp], 0x7453a0
call sym._fill_device_drv
mov dword [esp], 0x745f00
call sym._fill_device_drv
mov dword [esp], 0x745b80
call sym._fill_device_drv
mov dword [esp], 0x7456e0
call sym._fill_device_drv
mov dword [esp], 0x745240
call sym._fill_device_drv
mov dword [esp], 0x745ae0
call sym._fill_device_drv
mov dword [esp], 0x744e80
call sym._fill_device_drv
mov dword [esp], 0x744de0
call sym._fill_device_drv
mov dword [esp], 0x745780
call sym._fill_device_drv
mov dword [esp], 0x745e20
call sym._fill_device_drv
mov dword [esp], 0x745a40
call sym._fill_device_drv
mov dword [esp], 0x745d80
call sym._fill_device_drv
mov dword [esp], 0x7455c0
call sym._fill_device_drv
mov dword [esp], 0x744fc0
call sym._fill_device_drv
mov dword [esp], 0x745520
call sym._fill_device_drv
mov dword [esp], 0x745ce0
call sym._fill_device_drv
mov dword [esp], 0x746220
call sym._fill_device_drv
mov dword [esp], 0x7452e0
call sym._fill_device_drv
mov dword [esp], 0x5bcb80
call sym._fill_device_drv
mov dword [esp], 0x745900
call sym._fill_device_drv
mov dword [esp], 0x745060
call sym._fill_device_drv
mov dword [esp], 0x745820
call sym._fill_device_drv
mov dword [esp], 0x746040
call sym._fill_device_drv
mov dword [esp], 0x7451a0
call sym._fill_device_drv
mov dword [esp], 0x745100
call sym._fill_device_drv
mov dword [esp], 0x745fa0
call sym._fill_device_drv
mov dword [esp], 0x744f20
call sym._fill_device_drv
mov dword [esp], 0x746180
call sym._fill_device_drv
mov dword [esp], 0x7462c0
call sym._fill_device_drv
mov dword [esp], 0x7460e0
call sym._fill_device_drv
cmp dword [0x7455b0], 0
jne 0x5b7c1f
cmp byte [0x745ef7], 0
jne 0x5b7b11
cmp byte [0x732fa0], 0
jne 0x5b7b11
cmp dword [0x5bc2e0], 0
lea edi, [ebp - 0xa18]
jle 0x5b7b47
lea edi, [ebp - 0xa18]
mov dword [esp + 8], str.Need_to_specify_at_least_one_pool_server.
mov dword [esp + 4], 0xa00
mov dword [esp], edi
call sym._snprintf
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 1
call sym.__applog
mov dword [esp + 8], str.Pool_setup_failed
mov dword [esp + 4], 0xa00
mov dword [esp], edi
call sym._snprintf
mov dword [esp + 8], 1
mov dword [esp + 4], edi
jmp 0x5b705b
mov dword [esp + 8], str.Failed_to_pthread_cond_init_lp_cond
jmp 0x5b7039
mov dword [esp + 8], str.Failed_to_pthread_cond_init_restart_cond
jmp 0x5b7039
mov dword [esp + 8], str.Failed_to_pthread_cond_init_gws_cond
jmp 0x5b7039
mov dword [esp + 0xc], 0xb99
mov dword [esp + 8], str.load_default_config
mov dword [esp + 4], str.cgminer.c
mov dword [esp], 0x104
call sym.__cgmalloc
mov dword [esp], eax
mov dword [0x731020], eax
call sym._default_save_file
mov eax, dword [0x731020]
mov dword [esp + 4], 4
mov dword [esp], eax
call sym._access
test eax, eax
je 0x5b7ce5
mov eax, dword [0x731020]
mov dword [esp], eax
call sym._free
mov dword [0x731020], 0
jmp 0x5b71f2
mov dword [esp + 8], str.Failed_to_create_getq
jmp 0x5b7039
mov edi, dword [eax + 0x20]
add edi, 1
mov dword [ebp - 0xa60], edi
jmp 0x5b71c3
xor esi, esi
mov eax, dword [0x744e78]
jmp 0x5b7c2b
add esi, 1
cmp esi, dword [0x7455b0]
jge 0x5b7d30
mov ebx, dword [eax + esi*4]
cmp dword [ebx + 0x190], 0
mov dword [ebx + 0x204], 0x5f5e0ff
mov dword [ebx + 0x228], 0x5f5e0ff
jne 0x5b7c28
cmp dword [ebx + 0x198], 0
je 0x5b8e37
mov edi, dword [ebx + 0x194]
test edi, edi
je 0x5b87f3
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edi, dword [ebx + 0x198]
mov edx, ecx
or ecx, 0xffffffff
not edx
repne scasb al, byte es:[edi]
mov dword [esp + 0xc], 0x2c6b
mov dword [esp + 8], str.main
not ecx
mov dword [esp + 4], str.cgminer.c
lea edi, [edx + ecx]
mov dword [esp], edi
call sym.__cgmalloc
mov edx, dword [ebx + 0x198]
mov dword [ebx + 0x190], eax
mov dword [esp + 0x10], edx
mov edx, dword [ebx + 0x194]
mov dword [esp + 8], 0x5c429d
mov dword [esp + 4], edi
mov dword [esp], eax
mov dword [esp + 0xc], edx
call sym._snprintf
mov eax, dword [0x744e78]
jmp 0x5b7c28
mov eax, dword [0x731020]
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._load_config
jmp 0x5b71f2
mov dword [esp], str._nTEST_FAILED__See_above.
call sym._puts
jmp 0x5b7539
mov eax, dword [ebp - 0xa48]
mov edx, 0x9e3779b9
mov esi, 0x9e3779b9
mov ecx, 0xfeedbeef
mov dword [ebp - 0xa34], eax
jmp 0x5b6db6
mov eax, dword [eax]
mov dword [esp + 0x10], 0x2c7c
xor ebx, ebx
mov dword [esp + 0xc], str.main
mov dword [esp + 8], str.cgminer.c
mov dword [esp + 4], 4
mov dword [0x7329c0], eax
mov eax, dword [0x7462a8]
mov dword [esp], eax
call sym.__cgcalloc
mov dword [0x745e0c], eax
jmp 0x5b7da6
mov eax, dword [0x745e0c]
mov dword [esp + 0x10], 0x2c7e
mov dword [esp + 0xc], str.main
mov dword [esp + 8], str.cgminer.c
mov dword [esp + 4], 0x34
mov dword [esp], 1
lea esi, [eax + ebx*4]
add ebx, 1
call sym.__cgcalloc
mov dword [esi], eax
cmp ebx, dword [0x7462a8]
jl 0x5b7d6d
xor edi, edi
mov dword [ebp - 0xa40], 0
mov eax, dword [ebp - 0xa40]
cmp eax, dword [0x746028]
jge 0x5b810c
mov eax, dword [0x745a28]
mov esi, dword [ebp - 0xa40]
mov esi, dword [eax + esi*4]
mov dword [esp + 0xc], 0x2c84
mov dword [esp + 8], str.main
mov dword [esp + 4], str.cgminer.c
mov eax, dword [esi + 0x17c]
lea eax, [eax*4 + 4]
mov dword [esp], eax
call sym.__cgmalloc
mov edx, dword [esi + 0x17c]
mov dword [esi + 0x180], eax
mov dword [eax + edx*4], 0
cmp dword [esi + 0x17c], 0
mov dword [esi + 0x148], 4
jle 0x5b7f48
xor ebx, ebx
jmp 0x5b7e47
add ebx, 1
add edi, 1
cmp dword [esi + 0x17c], ebx
jle 0x5b7f48
mov dword [esp], edi
call sym._get_thread
mov edx, eax
mov dword [eax], edi
mov dword [eax + 0x18], esi
mov dword [eax + 4], ebx
mov eax, dword [esi + 4]
mov dword [ebp - 0xa34], edx
mov dword [esp], edx
call dword [eax + 0x30]
test al, al
mov edx, dword [ebp - 0xa34]
je 0x5b7e35
mov dword [esp + 0xc], edx
mov dword [esp], edx
mov dword [esp + 8], sym._miner_thread
mov dword [esp + 4], 0
call sym._thr_info_create
test eax, eax
mov edx, dword [ebp - 0xa34]
jne 0x5b7f54
mov eax, dword [esi + 0x180]
mov dword [eax + ebx*4], edx
cmp dword [esi + 0x104], 1
je 0x5b7e35
cmp byte [0x732fa1], 0
je 0x5b7f20
cmp byte [0x745ef7], 0
jne 0x5b7ed2
cmp byte [0x732fa0], 0
jne 0x5b7ed2
cmp dword [0x5bc2e0], 3
jle 0x5b7f20
mov eax, dword [edx]
mov dword [esp + 8], str.Pushing_sem_post_to_thread__d
mov dword [esp + 4], 0xa00
mov dword [ebp - 0xa34], edx
mov dword [esp + 0xc], eax
lea eax, [ebp - 0xa18]
mov dword [esp], eax
call sym._snprintf
lea eax, [ebp - 0xa18]
mov dword [esp + 8], 0
mov dword [esp], 4
mov dword [esp + 4], eax
call sym.__applog
mov edx, dword [ebp - 0xa34]
add edx, 0x10
mov dword [esp + 0xc], 0x2c9a
mov dword [esp + 8], str.main
mov dword [esp + 4], str.cgminer.c
mov dword [esp], edx
call sym.__cgsem_post
jmp 0x5b7e35
add dword [ebp - 0xa40], 1
jmp 0x5b7dba
mov eax, dword [edx]
lea ebx, [ebp - 0xa18]
mov dword [esp + 8], str.thread__d_create_failed
mov dword [esp + 4], 0xa00
mov dword [esp], ebx
mov dword [esp + 0xc], eax
call sym._snprintf
jmp 0x5b704f
cmp byte [0x745ef7], 0
jne 0x5b7fa2
cmp byte [0x732fa0], 0
lea edi, [ebp - 0xa18]
jne 0x5b7fa2
cmp dword [0x5bc2e0], 0
jle 0x5b7863
mov dword [esp + 8], str.Error_in_configuration_file__partially_loaded.
mov dword [esp + 4], 0xa00
mov dword [esp], edi
call sym._snprintf
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 1
call sym.__applog
cmp byte [0x745189], 0
je 0x5b7870
cmp byte [0x745ef7], 0
jne 0x5b8004
cmp byte [0x732fa0], 0
jne 0x5b8004
cmp dword [0x5bc2e0], 0
lea edi, [ebp - 0xa18]
jle 0x5b7870
mov dword [esp + 8], str.Start_cgminer_with__T_to_see_what_failed_to_load.
jmp 0x5b77ce
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x48], 0
mov dword [esp], 0x2c
call sym._malloc
test eax, eax
mov dword [ebx + 0x44], eax
je 0x5b8512
mov edi, eax
mov ecx, 0xb
mov eax, esi
rep stosd dword es:[edi], eax
lea edx, [ebx + 0x44]
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0xa48], edx
mov dword [eax + 0x10], edx
mov eax, dword [ebx + 0x44]
mov dword [eax + 4], 0x20
mov eax, dword [ebx + 0x44]
mov dword [eax + 8], 5
mov eax, dword [ebx + 0x44]
mov dword [eax + 0x14], 0x44
mov edi, dword [ebx + 0x44]
mov dword [esp], 0x180
call sym._malloc
mov dword [edi], eax
mov eax, dword [ebx + 0x44]
mov dword [eax + 0x28], 0xa0111fe1
mov eax, dword [ebx + 0x44]
mov eax, dword [eax]
test eax, eax
je 0x5b8512
lea edi, [eax + 4]
mov dword [eax], 0
mov dword [eax + 0x17c], 0
and edi, 0xfffffffc
sub eax, edi
mov ecx, eax
mov eax, esi
mov esi, ebx
add ecx, 0x180
shr ecx, 2
rep stosd dword es:[edi], eax
mov dword [0x732914], ebx
mov edx, dword [ebp - 0xa48]
jmp 0x5b6f64
mov dword [esp + 8], str.usb_resource_thread_create_failed
jmp 0x5b7039
mov esi, str.Benchmark
mov ecx, 0xa
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x5b75de
mov edx, dword [0x7326cc]
cmp edx, 0xffffffff
je 0x5b7f86
test edx, edx
je 0x5b775b
jmp 0x5b7875
cmp byte [0x732a39], 0
jne 0x5b8122
cmp dword [0x732a4c], 0
je 0x5b851e
mov dword [esp], 0
call dword [0x745c2c]
mov dword [esp], 0
call dword [0x74548c]
mov dword [esp], 0
call dword [0x7459ac]
mov dword [esp], 0
call dword [0x7453ac]
mov dword [esp], 0
call dword [0x745f0c]
mov dword [esp], 0
call dword [0x745b8c]
mov dword [esp], 0
call dword [0x7456ec]
mov dword [esp], 0
call dword [0x74524c]
mov dword [esp], 0
call dword [0x745aec]
mov dword [esp], 0
call dword [0x744e8c]
mov dword [esp], 0
call dword [0x744dec]
mov dword [esp], 0
call dword [0x74578c]
mov dword [esp], 0
call dword [0x745e2c]
mov dword [esp], 0
call dword [0x745a4c]
mov dword [esp], 0
call dword [0x745d8c]
mov dword [esp], 0
call dword [0x7455cc]
mov dword [esp], 0
call dword [0x744fcc]
mov dword [esp], 0
call dword [0x74552c]
mov dword [esp], 0
call dword [0x745cec]
mov dword [esp], 0
call dword [0x74622c]
mov dword [esp], 0
call dword [0x7452ec]
mov dword [esp], 0
call dword [0x5bcb8c]
mov dword [esp], 0
call dword [0x74590c]
mov dword [esp], 0
call dword [0x74506c]
mov dword [esp], 0
call dword [0x74582c]
mov dword [esp], 0
call dword [0x74604c]
mov dword [esp], 0
call dword [0x7451ac]
mov dword [esp], 0
call dword [0x74510c]
mov dword [esp], 0
call dword [0x745fac]
mov dword [esp], 0
call dword [0x744f2c]
mov dword [esp], 0
call dword [0x74618c]
mov dword [esp], 0
call dword [0x7462cc]
mov dword [esp], 0
call dword [0x7460ec]
mov dword [0x7462a8], 0
xor ebx, ebx
jmp 0x5b82f0
mov eax, dword [0x745a28]
mov eax, dword [eax + ebx*4]
add ebx, 1
mov dword [esp], eax
call sym._enable_device
cmp ebx, dword [0x746028]
jl 0x5b82dd
mov eax, dword [0x7462a8]
mov dword [esp + 0x10], 0x2ce0
xor ebx, ebx
mov dword [esp + 0xc], str.main
mov dword [esp + 8], str.cgminer.c
mov dword [esp + 4], 4
mov dword [esp], eax
call sym.__cgcalloc
mov dword [0x745e0c], eax
jmp 0x5b8367
mov eax, dword [0x745e0c]
mov dword [esp + 0x10], 0x2ce2
mov dword [esp + 0xc], str.main
mov dword [esp + 8], str.cgminer.c
mov dword [esp + 4], 0x34
mov dword [esp], 1
lea esi, [eax + ebx*4]
add ebx, 1
call sym.__cgcalloc
mov dword [esi], eax
cmp ebx, dword [0x7462a8]
jl 0x5b832e
cmp byte [0x745d78], 0
jne 0x5b8424
cmp dword [0x746028], 0
jne 0x5b8424
cmp byte [0x745ef7], 0
jne 0x5b83a8
cmp byte [0x732fa0], 0
jne 0x5b83a8
cmp dword [0x5bc2e0], 0
jle 0x5b87db
lea edi, [ebp - 0xa18]
mov dword [esp + 8], str.No_devices_detected_
mov dword [esp + 4], 0xa00
mov dword [esp], edi
call sym._snprintf
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 1
call sym.__applog
cmp byte [0x745ef7], 0
jne 0x5b83f4
cmp byte [0x732fa0], 0
je 0x5b87db
mov dword [esp + 8], str.Waiting_for_USB_hotplug_devices_or_press_q_to_quit
mov dword [esp + 4], 0xa00
mov dword [esp], edi
call sym._snprintf
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 1
call sym.__applog
mov eax, dword [0x746028]
mov dword [0x732a34], eax
mov eax, dword [0x7326d0]
test eax, eax
je 0x5b8a09
mov dword [esp + 4], 0x5c15a4
mov dword [esp], eax
xor ebx, ebx
xor esi, esi
call sym._strtok
test eax, eax
je 0x5b883e
cmp dword [0x746028], ebx
jle 0x5b8831
mov dword [esp], eax
call sym._atoi
cmp eax, 0xc8
mov esi, eax
ja 0x5b8824
mov dword [esp], 0x74518c
call dbg.pthread_rwlock_rdlock
test eax, eax
jne 0x5b8e28
mov eax, dword [0x745a28]
mov eax, dword [eax + ebx*4]
mov dword [eax + 0x1a0], esi
mov dword [esp], 0x74518c
call dbg.pthread_rwlock_unlock
test eax, eax
jne 0x5b8dd5
call dword [0x5bb9e0]
mov dword [esp + 4], 0x5c15a4
mov dword [esp], 0
add ebx, 1
call sym._strtok
jmp 0x5b844f
cmp dword [0x5bc2e0], 0
lea edi, [ebp - 0xa18]
jg 0x5b77c6
jmp 0x5b7870
fld qword [ebp - 0xa40]
movzx edx, byte [ebp - 0xa34]
mov eax, 1
mov ecx, 0x5c1082
fucompi st(2)
fxch st(1)
fxch st(2)
fxch st(1)
cmova edx, eax
mov byte [ebp - 0xa34], dl
jmp 0x5b73c7
mov dword [esp], 0xffffffff
call sym._exit
mov ebx, dword [0x7455b0]
mov ecx, dword [0x744e78]
xor eax, eax
jmp 0x5b8555
mov edx, dword [ecx + eax*4]
cmp dword [edx + 0x148], 1
je 0x5b854b
add dword [0x7462b0], 1
mov dword [edx + 0x148], 1
mov byte [edx + 0x145], 1
add eax, 1
cmp eax, ebx
jl 0x5b852e
cmp byte [0x745ef7], 0
jne 0x5b8574
cmp byte [0x732fa0], 0
jne 0x5b8574
cmp dword [0x5bc2e0], 1
jle 0x5b85aa
lea edi, [ebp - 0xa18]
mov dword [esp + 8], str.Probing_for_an_alive_pool
mov dword [esp + 4], 0xa00
mov dword [esp], edi
call sym._snprintf
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 2
call sym.__applog
xor ebx, ebx
jmp 0x5b85e1
mov eax, dword [0x744e78]
mov eax, dword [eax + ebx*4]
add ebx, 1
mov byte [eax + 0x1c0], 1
mov dword [esp + 0xc], eax
add eax, 0x1bc
mov dword [esp + 8], sym._test_pool_thread
mov dword [esp + 4], 0
mov dword [esp], eax
call dbg.pthread_create
cmp ebx, dword [0x7455b0]
jl 0x5b85ae
xor ebx, ebx
mov dword [esp], 1
add ebx, 1
call dbg.sleep
cmp ebx, 0x3c
setne al
cmp byte [0x731130], al
jb 0x5b85eb
lea ebx, [ebp - 0xa18]
xor eax, eax
cmp byte [0x731130], 0
jne 0x5b8122
test al, al
jne 0x5b8eb8
cmp byte [0x745ef7], 0
jne 0x5b8644
cmp byte [0x732fa0], 0
jne 0x5b8644
cmp dword [0x5bc2e0], 0
js 0x5b8e4e
mov dword [esp + 8], str.No_servers_were_found_that_could_be_used_to_get_work_from.
mov dword [esp + 4], 0xa00
mov dword [esp], ebx
call sym._snprintf
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], 0
call sym.__applog
cmp byte [0x745ef7], 0
jne 0x5b868a
cmp byte [0x732fa0], 0
je 0x5b8e4e
mov dword [esp + 8], str.Please_check_the_details_from_the_list_below_of_the_servers_you_have_input
mov dword [esp + 4], 0xa00
mov dword [esp], ebx
call sym._snprintf
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], 0
call sym.__applog
cmp byte [0x745ef7], 0
jne 0x5b86d0
cmp byte [0x732fa0], 0
je 0x5b8e5b
mov dword [esp + 8], str.Most_likely_you_have_input_the_wrong_URL__forgotten_to_add_a_port__or_have_not_set_up_workers
mov dword [esp + 4], 0xa00
mov dword [esp], ebx
call sym._snprintf
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], 0
call sym.__applog
xor esi, esi
jmp 0x5b877c
cmp byte [0x745ef7], 0
mov eax, dword [0x744e78]
mov eax, dword [eax + esi*4]
jne 0x5b8727
cmp byte [0x732fa0], 0
jne 0x5b8727
cmp dword [0x5bc2e0], 0
jle 0x5b8779
mov edx, dword [eax + 0x198]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 0x194]
mov dword [esp + 0x14], edx
mov eax, dword [eax + 0x18c]
mov dword [esp + 0xc], esi
mov dword [esp + 8], str.Pool:__d__URL:__s__User:__s__Password:__s
mov dword [esp + 4], 0xa00
mov dword [esp], ebx
mov dword [esp + 0x10], eax
call sym._snprintf
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], 1
call sym.__applog
add esi, 1
cmp esi, dword [0x7455b0]
jl 0x5b8704
cmp byte [0x745189], 0
jne 0x5b8e6d
lea ebx, [ebp - 0xa18]
mov dword [esp + 8], str.No_servers_could_be_used__Exiting.
mov dword [esp + 4], 0xa00
mov dword [esp], ebx
call sym._snprintf
mov dword [esp + 8], 1
mov dword [esp + 4], ebx
mov dword [esp], 0
call sym.__applog
mov dword [esp + 4], 0
mov dword [esp], 0
call sym.___quit
cmp dword [0x5bc2e0], 0
lea edi, [ebp - 0xa18]
jg 0x5b83f4
jmp 0x5b8424
mov eax, dword [ebx + 0x18c]
lea ebx, [ebp - 0xa18]
mov dword [esp + 0xc], esi
mov dword [esp + 8], str.No_login_credentials_supplied_for_pool__u__s
mov dword [esp + 4], 0xa00
mov dword [esp], ebx
mov dword [esp + 0x10], eax
call sym._snprintf
jmp 0x5b704f
mov dword [esp + 8], str.Invalid_value_passed_to_set_temp_cutoff
jmp 0x5b6e11
mov dword [esp + 8], str.Too_many_values_passed_to_set_temp_cutoff
jmp 0x5b6e11
cmp ebx, 1
jle 0x5b8af8
mov edx, dword [0x746028]
mov ecx, dword [0x745a28]
xor eax, eax
jmp 0x5b8867
mov ebx, dword [ecx + eax*4]
add eax, 1
mov dword [ebx + 0x220], 0x5f5e0ff
cmp eax, edx
jl 0x5b8857
cmp byte [0x745d68], 0
jne 0x5b887f
mov eax, dword [0x732a34]
add dword [0x732580], eax
lea edi, [ebp - 0xa18]
mov dword [ebp - 0xa48], 0
mov dword [ebp - 0xa40], 0
mov dword [ebp - 0xa34], edi
cmp dword [ebp - 0xa40], edx
jge 0x5b8ad0
mov eax, dword [ebp - 0xa40]
xor esi, esi
mov edi, dword [ecx + eax*4]
mov dword [esp + 0xc], 0x2d04
mov dword [esp + 8], str.main
mov dword [esp + 4], str.cgminer.c
mov eax, dword [edi + 0x17c]
lea eax, [eax*4 + 4]
mov dword [esp], eax
call sym.__cgmalloc
mov ecx, dword [edi + 0x17c]
mov dword [edi + 0x180], eax
mov dword [eax + ecx*4], 0
mov dword [edi + 0x148], 4
jmp 0x5b8905
add esi, 1
cmp esi, dword [edi + 0x17c]
mov eax, dword [ebp - 0xa48]
lea ecx, [eax + esi]
jge 0x5b8ab2
mov dword [esp], ecx
mov dword [ebp - 0xa50], ecx
call sym._get_thread
mov ecx, dword [ebp - 0xa50]
mov dword [eax + 0x18], edi
mov ebx, eax
mov dword [eax + 4], esi
mov dword [eax], ecx
mov eax, dword [edi + 4]
mov dword [esp], ebx
call dword [eax + 0x30]
test al, al
je 0x5b8902
mov dword [esp + 0xc], ebx
mov dword [esp + 8], sym._miner_thread
mov dword [esp + 4], 0
mov dword [esp], ebx
call sym._thr_info_create
test eax, eax
jne 0x5b8a7d
mov eax, dword [edi + 0x180]
mov dword [eax + esi*4], ebx
cmp dword [edi + 0x104], 1
je 0x5b8902
cmp byte [0x732fa1], 0
je 0x5b89e1
cmp byte [0x745ef7], 0
jne 0x5b899f
cmp byte [0x732fa0], 0
jne 0x5b899f
cmp dword [0x5bc2e0], 3
jle 0x5b89e1
mov eax, dword [ebx]
mov dword [esp + 8], str.Pushing_sem_post_to_thread__d
mov dword [esp + 4], 0xa00
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xa34]
mov dword [esp], eax
call sym._snprintf
mov eax, dword [ebp - 0xa34]
mov dword [esp + 8], 0
mov dword [esp], 4
mov dword [esp + 4], eax
call sym.__applog
add ebx, 0x10
mov dword [esp + 0xc], 0x2d1a
mov dword [esp + 8], str.main
mov dword [esp + 4], str.cgminer.c
mov dword [esp], ebx
call sym.__cgsem_post
jmp 0x5b8902
mov dword [esp], 0x74518c
call dbg.pthread_rwlock_rdlock
test eax, eax
jne 0x5b8a5f
mov ebx, dword [0x746028]
mov ecx, dword [0x745a28]
jmp 0x5b8a40
mov edx, dword [ecx + eax*4]
cmp dword [edx + 0x1a0], 0
jne 0x5b8a3d
mov dword [edx + 0x1a0], 0x5f
add eax, 1
cmp eax, ebx
jl 0x5b8a27
mov dword [esp], 0x74518c
call dbg.pthread_rwlock_unlock
test eax, eax
jne 0x5b8a6e
call dword [0x5bb9e0]
jmp 0x5b8847
mov edx, 0x572
mov eax, str.load_temp_cutoffs
call sym.__rd_lock.part.40.constprop.81
mov edx, 0x577
mov eax, str.load_temp_cutoffs
call sym.__rw_unlock.part.41.constprop.80
mov eax, dword [ebx]
mov edi, dword [ebp - 0xa34]
mov dword [esp + 8], str.thread__d_create_failed
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0xa00
mov dword [esp], edi
call sym._snprintf
mov dword [esp + 8], 1
mov dword [esp + 4], edi
jmp 0x5b705b
mov dword [ebp - 0xa48], ecx
add dword [ebp - 0xa40], 1
mov ecx, dword [0x745a28]
mov edx, dword [0x746028]
jmp 0x5b889f
fldz
mov edi, dword [ebp - 0xa34]
xor eax, eax
fst qword [0x745ec0]
cmp eax, edx
jge 0x5b8b2d
mov ebx, dword [ecx + eax*4]
add eax, 1
fst qword [ebx + 0x138]
fst qword [ebx + 0x118]
jmp 0x5b8ae0
mov dword [esp], 0x74518c
call dbg.pthread_rwlock_rdlock
test eax, eax
jne 0x5b8ccb
mov edx, dword [0x746028]
mov eax, dword [0x745a28]
cmp ebx, edx
jge 0x5b8ca8
mov ecx, dword [eax + ebx*4]
add ebx, 1
mov dword [ecx + 0x1a0], esi
jmp 0x5b8b17
fstp st(0)
mov dword [esp], 0x7329e4
call sym._cgtime_real
mov dword [esp + 8], 0x7329e4
mov dword [esp + 4], 0x28
mov dword [esp], 0x732940
call sym._get_datestamp
mov dword [esp], 0x7329e4
call sym._cgtime
mov dword [esp], 0x7329dc
call sym._cgtime
mov dword [esp], 0x731140
call sym._cgtime
mov ebx, dword [0x745cb0]
mov dword [esp + 0xc], 0
mov dword [esp + 8], sym._watchpool_thread
mov dword [esp + 4], 0
mov dword [0x732a1c], 2
lea eax, [ebx + 0x68]
mov dword [esp], eax
call sym._thr_info_create
test eax, eax
jne 0x5b8edc
mov eax, dword [ebx + 0x74]
mov dword [esp], eax
call dbg.pthread_detach
mov ebx, dword [0x745cb0]
mov dword [esp + 0xc], 0
mov dword [esp + 8], sym._watchdog_thread
mov dword [esp + 4], 0
mov dword [0x732a18], 3
lea eax, [ebx + 0x9c]
mov dword [esp], eax
call sym._thr_info_create
test eax, eax
jne 0x5b8ecf
mov eax, dword [ebx + 0xa8]
mov dword [esp], eax
call dbg.pthread_detach
mov eax, dword [0x745cb0]
mov dword [esp + 8], sym._api_thread
mov dword [esp + 4], 0
mov dword [0x732a14], 5
add eax, 0x104
mov dword [esp + 0xc], eax
mov dword [esp], eax
call sym._thr_info_create
test eax, eax
jne 0x5b8ee9
mov ebx, dword [0x745cb0]
mov dword [esp + 8], sym._hotplug_thread
mov dword [esp + 4], 0
mov dword [0x732a0c], 6
lea eax, [ebx + 0x138]
mov dword [esp + 0xc], eax
mov dword [esp], eax
call sym._thr_info_create
test eax, eax
jne 0x5b8dc8
mov eax, dword [ebx + 0x144]
mov dword [esp], eax
call dbg.pthread_detach
mov eax, dword [0x732a08]
cmp eax, 8
je 0x5b8cda
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.incorrect_total_control_threads___d__should_be_8
jmp 0x5b8a91
mov dword [esp], 0x74518c
call dbg.pthread_rwlock_unlock
test eax, eax
je 0x5b8a54
mov edx, 0x57f
mov eax, str.load_temp_cutoffs
call sym.__rw_unlock.part.41.constprop.80
mov edx, 0x57c
mov eax, str.load_temp_cutoffs
call sym.__rd_lock.part.40.constprop.81
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov dword [esp + 4], 0xfffffffe
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push eax
push eax
cmp byte [0x745e10], 0
jne 0x5b964b
mov eax, dword [0x7329fc]
mov byte [0x745e10], 0
mov dword [esp], eax
call dbg.pthread_mutex_lock
test eax, eax
jne 0x5b961d
mov eax, dword [0x731024]
test eax, eax
je 0x5b8ef6
mov eax, dword [eax + 0x1c0]
cmp dword [eax + 0xc], 1
jle 0x5b8ef6
mov eax, dword [0x7329fc]
mov dword [esp], 0x7458f0
mov dword [esp + 4], eax
call dbg.pthread_cond_wait
mov eax, dword [0x731024]
test eax, eax
je 0x5b8ef6
mov eax, dword [eax + 0x1c0]
mov ebx, dword [eax + 0xc]
mov eax, dword [0x7329fc]
mov dword [esp], eax
call dbg.pthread_mutex_unlock
test eax, eax
jne 0x5b95d0
call dword [0x5bb9e0]
sub ebx, 1
jle 0x5b8f11
xor eax, eax
call sym._hash_pop
test eax, eax
mov dword [ebp - 0xa28], eax
je 0x5b8cf3
lea eax, [ebp - 0xa28]
mov dword [esp + 0xc], 0x2d93
mov dword [esp + 8], str.main
mov dword [esp + 4], str.cgminer.c
mov dword [esp], eax
call sym.__discard_work
jmp 0x5b8cf3
mov dword [esp + 8], str.hotplug_thread_create_failed
jmp 0x5b7b4f
call dword [sym.imp.msvcrt.dll__errno]
mov dword [esp + 0x18], 0x56f
mov dword [esp + 0x14], str.load_temp_cutoffs
lea ebx, [ebp - 0xa18]
mov dword [esp + 0x10], str.cgminer.c
mov eax, dword [eax]
mov dword [esp + 8], 0x5c1afc
mov dword [esp + 4], 0xa00
mov dword [esp], ebx
mov dword [esp + 0xc], eax
call sym._snprintf
mov dword [esp + 8], 1
mov dword [esp + 4], ebx
jmp 0x5b6e33
mov edx, 0x56d
mov eax, str.load_temp_cutoffs
call sym.__rd_lock.part.40.constprop.81
mov dword [esp], 0x5c1082
call sym._strdup
mov dword [ebx + 0x198], eax
jmp 0x5b7c64
cmp dword [0x5bc2e0], 0
jns 0x5b868a
cmp dword [0x5bc2e0], 0
jns 0x5b86d0
jmp 0x5b8700
cmp byte [0x745ef7], 0
jne 0x5b8e88
cmp byte [0x732fa0], 0
jne 0x5b8e88
cmp dword [0x5bc2e0], 0
js 0x5b8ec5
mov dword [esp + 8], str.Press_any_key_to_exit__or_cgminer_will_wait_indefinitely_for_an_alive_pool.
mov dword [esp + 4], 0xa00
mov dword [esp], ebx
call sym._snprintf
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], 0
call sym.__applog
cmp byte [0x745189], 0
je 0x5b8791
mov eax, 1
jmp 0x5b8610
mov dword [esp + 8], str.watchdog_thread_create_failed
jmp 0x5b7b4f
mov dword [esp + 8], str.watchpool_thread_create_failed
jmp 0x5b7b4f
mov dword [esp + 8], str.API_thread_create_failed
jmp 0x5b7b4f
mov eax, dword [0x7329fc]
mov dword [esp], eax
call dbg.pthread_mutex_unlock
test eax, eax
jne 0x5b95d0
call dword [0x5bb9e0]
cmp dword [ebp - 0xa28], 0
je 0x5b8f40
lea eax, [ebp - 0xa28]
mov dword [esp + 0xc], 0x2d98
mov dword [esp + 8], str.main
mov dword [esp + 4], str.cgminer.c
mov dword [esp], eax
call sym.__discard_work
call sym._make_work
mov dword [ebp - 0xa40], edi
mov dword [ebp - 0xa28], eax
call sym._current_pool
mov ebx, eax
mov eax, dword [0x731038]
cmp eax, 4
je 0x5b94c6
cmp eax, 3
je 0x5b9497
cmp byte [0x732fa1], 0
je 0x5b8fcf
cmp byte [0x745ef7], 0
jne 0x5b8f93
cmp byte [0x732fa0], 0
jne 0x5b8f93
cmp dword [0x5bc2e0], 3
jle 0x5b8fcf
mov eax, dword [ebx]
mov edi, dword [ebp - 0xa40]
mov dword [esp + 8], str.Selecting_pool__d_for_work
mov dword [esp + 4], 0xa00
mov dword [esp + 0xc], eax
mov dword [esp], edi
call sym._snprintf
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 4
call sym.__applog
cmp byte [ebx + 0x145], 0
jne 0x5b8fe5
cmp dword [ebx + 0x148], 1
je 0x5b91da
mov dword [esp], 0
call sym._switch_pools
call sym._current_pool
mov ebx, eax
mov eax, dword [0x731038]
cmp eax, 4
je 0x5b91cc
cmp eax, 3
je 0x5b90a1
cmp byte [0x732fa1], 0
je 0x5b906f
cmp byte [0x745ef7], 0
jne 0x5b9033
cmp byte [0x732fa0], 0
jne 0x5b9033
cmp dword [0x5bc2e0], 3
jle 0x5b906f
mov eax, dword [ebx]
mov edi, dword [ebp - 0xa40]
mov dword [esp + 8], str.Selecting_pool__d_for_work
mov dword [esp + 4], 0xa00
mov dword [esp + 0xc], eax
mov dword [esp], edi
call sym._snprintf
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 4
call sym.__applog
cmp byte [ebx + 0x145], 0
jne 0x5b9090
cmp dword [ebx + 0x148], 1
jne 0x5b9090
mov eax, ebx
call sym._pool_unusable.part.4
test al, al
je 0x5b8f51
mov dword [esp], 5
call sym._cgsleep_ms
jmp 0x5b8f51
mov eax, dword [0x7455b0]
mov esi, dword [0x744e78]
mov dword [ebp - 0xa34], eax
xor eax, eax
cmp eax, dword [ebp - 0xa34]
jge 0x5b919a
mov edx, dword [esi + eax*4]
mov edi, dword [edx + 0x3c]
cmp dword [edx + 0x40], edi
jl 0x5b90eb
add eax, 1
jmp 0x5b90b4
mov eax, dword [0x731054]
mov edi, 0
add eax, 1
cmp dword [ebp - 0xa34], eax
cmovle eax, edi
mov dword [0x731054], eax
mov dword [ebp - 0xa48], 0
jmp 0x5b914c
mov edi, dword [0x731054]
mov eax, dword [esi + edi*4]
mov ecx, eax
mov dword [ebp - 0xa50], eax
mov eax, dword [eax + 0x40]
cmp eax, dword [ecx + 0x3c]
lea edx, [eax + 1]
mov dword [ecx + 0x40], edx
jge 0x5b912e
cmp byte [ecx + 0x145], 0
mov eax, ecx
jne 0x5b912e
cmp dword [ecx + 0x148], 1
je 0x5b91b7
add edi, 1
cmp dword [ebp - 0xa34], edi
mov eax, 0
cmovle edi, eax
add dword [ebp - 0xa48], 1
mov dword [0x731054], edi
mov edi, dword [ebp - 0xa34]
cmp dword [ebp - 0xa48], edi
jl 0x5b90f7
xor esi, esi
cmp esi, dword [0x7455b0]
jge 0x5b900f
mov eax, esi
call sym._priority_pool
cmp byte [eax + 0x145], 0
mov edi, eax
jne 0x5b9183
cmp dword [eax + 0x148], 1
je 0x5b9188
add esi, 1
jmp 0x5b915c
call sym._pool_unusable.part.4
test al, al
jne 0x5b9183
mov ecx, edi
mov ebx, ecx
jmp 0x5b900f
xor eax, eax
cmp dword [ebp - 0xa34], eax
jle 0x5b90d0
mov edx, dword [esi + eax*4]
add eax, 1
mov dword [edx + 0x40], 0
jmp 0x5b919c
call sym._pool_unusable.part.4
test al, al
jne 0x5b912e
mov ecx, dword [ebp - 0xa50]
jmp 0x5b9193
mov eax, ebx
call sym._select_balanced
mov ebx, eax
jmp 0x5b900f
mov eax, ebx
call sym._pool_unusable.part.4
test al, al
jne 0x5b8fe5
cmp byte [ebx + 0x2f0], 0
mov edi, dword [ebp - 0xa40]
je 0x5b9284
cmp byte [0x744e7c], 0
je 0x5b8cf3
mov edx, dword [ebp - 0xa28]
mov eax, ebx
call sym._gen_stratum_work
cmp byte [0x732fa1], 0
je 0x5b926a
cmp byte [0x745ef7], 0
jne 0x5b923a
cmp byte [0x732fa0], 0
jne 0x5b923a
cmp dword [0x5bc2e0], 3
jle 0x5b926a
mov dword [esp + 8], str.Generated_stratum_work
mov dword [esp + 4], 0xa00
mov dword [esp], edi
call sym._snprintf
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 4
call sym.__applog
mov eax, dword [ebp - 0xa28]
call sym.__stage_work
mov dword [ebp - 0xa28], 0
jmp 0x5b8cf3
cmp byte [ebx + 0x398], 0
jne 0x5b9451
cmp byte [ebx + 0x324], 0
jne 0x5b940b
cmp dword [0x732a4c], 0
je 0x5b9338
mov ebx, dword [ebp - 0xa28]
mov eax, ebx
lea esi, [ebx + 0x1f8]
call sym._benchfile_get_work
mov eax, dword [0x744e78]
mov byte [ebx + 0x182], 1
mov eax, dword [eax]
mov dword [ebx + 0x16c], eax
mov dword [esp], esi
call sym._cgtime
lea eax, [ebx + 0x200]
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._copy_time
fldz
mov byte [ebx + 0x220], 0x42
mov eax, ebx
fstp qword [esp]
call sym._calc_diff
cmp byte [0x732fa1], 0
je 0x5b926a
cmp byte [0x745ef7], 0
jne 0x5b932b
cmp byte [0x732fa0], 0
jne 0x5b932b
cmp dword [0x5bc2e0], 3
jle 0x5b926a
mov dword [esp + 8], str.Generated_benchfile_work
jmp 0x5b9242
cmp byte [0x732a39], 0
je 0x5b8cf3
mov ebx, dword [ebp - 0xa28]
fld dword [0x5c8d90]
lea eax, [ebx + 0x100]
fstp qword [ebx + 0x1e0]
mov dword [esp + 0x14], 0x1331
mov dword [esp + 0x10], str.get_benchmark_work
mov dword [esp + 0xc], str.cgminer.c
lea esi, [ebx + 0x1f8]
mov dword [esp], eax
mov dword [esp + 8], 0x20
mov dword [esp + 4], 0x731160
call sym.__cg_memcpy
mov eax, dword [0x744e78]
mov dword [ebx + 0x15c], 0
mov byte [ebx + 0x182], 1
mov eax, dword [eax]
mov dword [ebx + 0x16c], eax
mov dword [esp], esi
call sym._cgtime
lea eax, [ebx + 0x200]
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._copy_time
cmp byte [0x732fa1], 0
mov byte [ebx + 0x220], 0x42
je 0x5b926a
cmp byte [0x745ef7], 0
jne 0x5b93fe
cmp byte [0x732fa0], 0
jne 0x5b93fe
cmp dword [0x5bc2e0], 3
jle 0x5b926a
mov dword [esp + 8], str.Generated_benchmark_work
jmp 0x5b9242
mov edx, dword [ebp - 0xa28]
mov eax, ebx
call sym._gen_gbt_work
cmp byte [0x732fa1], 0
je 0x5b926a
cmp byte [0x745ef7], 0
jne 0x5b9444
cmp byte [0x732fa0], 0
jne 0x5b9444
cmp dword [0x5bc2e0], 3
jle 0x5b926a
mov dword [esp + 8], str.Generated_GBT_work
jmp 0x5b9242
mov edx, dword [ebp - 0xa28]
mov eax, ebx
call sym._gen_solo_work
cmp byte [0x732fa1], 0
je 0x5b926a
cmp byte [0x745ef7], 0
jne 0x5b948a
cmp byte [0x732fa0], 0
jne 0x5b948a
cmp dword [0x5bc2e0], 3
jle 0x5b926a
mov dword [esp + 8], str.Generated_GBT_SOLO_work
jmp 0x5b9242
mov eax, dword [0x7455b0]
mov esi, dword [0x744e78]
mov dword [ebp - 0xa34], eax
xor eax, eax
cmp eax, dword [ebp - 0xa34]
jge 0x5b959e
mov edx, dword [esi + eax*4]
mov edi, dword [edx + 0x3c]
cmp dword [edx + 0x40], edi
jl 0x5b94ef
add eax, 1
jmp 0x5b94aa
mov eax, ebx
call sym._select_balanced
mov ebx, eax
jmp 0x5b8f6f
mov eax, dword [0x731054]
mov edi, 0
add eax, 1
cmp dword [ebp - 0xa34], eax
cmovle eax, edi
mov dword [0x731054], eax
mov dword [ebp - 0xa48], 0
jmp 0x5b9550
mov edi, dword [0x731054]
mov eax, dword [esi + edi*4]
mov ecx, eax
mov dword [ebp - 0xa50], eax
mov eax, dword [eax + 0x40]
cmp eax, dword [ecx + 0x3c]
lea edx, [eax + 1]
mov dword [ecx + 0x40], edx
jge 0x5b9532
cmp byte [ecx + 0x145], 0
mov eax, ecx
jne 0x5b9532
cmp dword [ecx + 0x148], 1
je 0x5b95bb
add edi, 1
cmp dword [ebp - 0xa34], edi
mov eax, 0
cmovle edi, eax
add dword [ebp - 0xa48], 1
mov dword [0x731054], edi
mov edi, dword [ebp - 0xa48]
cmp dword [ebp - 0xa34], edi
jg 0x5b94fb
xor esi, esi
cmp esi, dword [0x7455b0]
jge 0x5b8f6f
mov eax, esi
call sym._priority_pool
cmp byte [eax + 0x145], 0
mov edi, eax
jne 0x5b9587
cmp dword [eax + 0x148], 1
je 0x5b958c
add esi, 1
jmp 0x5b9560
call sym._pool_unusable.part.4
test al, al
jne 0x5b9587
mov ecx, edi
mov ebx, ecx
jmp 0x5b8f6f
xor eax, eax
cmp dword [ebp - 0xa34], eax
jle 0x5b94d4
mov edx, dword [esi + eax*4]
add eax, 1
mov dword [edx + 0x40], 0
jmp 0x5b95a0
call sym._pool_unusable.part.4
test al, al
jne 0x5b9532
mov ecx, dword [ebp - 0xa50]
jmp 0x5b9597
call dword [sym.imp.msvcrt.dll__errno]
mov dword [esp + 0x18], 0x2d8a
mov dword [esp + 0x14], str.main
mov dword [esp + 0x10], str.cgminer.c
mov eax, dword [eax]
mov dword [esp + 8], 0x5c1ac8
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0xa00
mov dword [esp], edi
call sym._snprintf
mov dword [esp + 8], 1
mov dword [esp + 4], edi
jmp 0x5b6e33
call dword [sym.imp.msvcrt.dll__errno]
mov dword [esp + 0x18], 0x2d82
mov dword [esp + 0x14], str.main
mov dword [esp + 0x10], str.cgminer.c
mov eax, dword [eax]
mov dword [esp + 8], 0x5c1a98
mov dword [esp + 0xc], eax
jmp 0x5b95fc
cmp byte [0x745ef7], 0
jne 0x5b9666
cmp byte [0x732fa0], 0
jne 0x5b9666
cmp dword [0x5bc2e0], 2
jle 0x5b9696
mov dword [esp + 8], str.Work_update_message_received
mov dword [esp + 4], 0xa00
mov dword [esp], edi
call sym._snprintf
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 3
call sym.__applog
mov dword [esp], 0x7329cc
call sym._cgtime
mov dword [esp], 0x745cd0
call dbg.pthread_rwlock_rdlock
test eax, eax
jne 0x5b96ce
mov ecx, dword [0x7462a8]
mov edx, dword [0x745e0c]
cmp eax, ecx
jge 0x5b96ff
mov ebx, dword [edx + eax*4]
add eax, 1
mov byte [ebx + 0x33], 1
jmp 0x5b96be
call dword [sym.imp.msvcrt.dll__errno]
mov dword [esp + 0x18], 0x174d
mov dword [esp + 0x14], str.signal_work_update
mov dword [esp + 0x10], str.cgminer.c
mov eax, dword [eax]
mov dword [esp + 8], 0x5c1b48
mov dword [esp + 0xc], eax
jmp 0x5b95fc
mov dword [esp], 0x745cd0
call dbg.pthread_rwlock_unlock
test eax, eax
jne 0x5b971a
call dword [0x5bb9e0]
jmp 0x5b8d00
call dword [sym.imp.msvcrt.dll__errno]
mov dword [esp + 0x18], 0x1750
mov dword [esp + 0x14], str.signal_work_update
mov dword [esp + 0x10], str.cgminer.c
mov eax, dword [eax]
mov dword [esp + 8], 0x5c1afc
mov dword [esp + 0xc], eax
jmp 0x5b95fc