Function at 0x47ab10
Capabilities:
Check http status code
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, 0x198
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x158], ebx
call fcn.0047169c
mov dword [esp], 3
call fcn.00459610
test eax, eax
jne 0x47c85c
mov ecx, dword [ebp - 0x150]
mov eax, dword [ecx]
lea eax, [eax*4 + 4]
mov dword [esp], eax
call fcn.0047a2e8
mov ecx, dword [ebp - 0x150]
mov esi, eax
mov dword [0x49f180], eax
mov eax, dword [ecx]
test eax, eax
jle 0x47ab9e
mov edi, dword [ebp - 0x158]
xor ebx, ebx
mov eax, dword [edi + ebx*4]
mov dword [esp], eax
call fcn.00471b68
mov ecx, dword [ebp - 0x150]
mov dword [esi + ebx*4], eax
mov eax, dword [ecx]
add ebx, 1
cmp eax, ebx
jg 0x47ab81
mov dword [esi + eax*4], 0
mov dword [esp], 0
call fcn.00466698
sub esp, 4
test eax, eax
je 0x47ac0d
mov ebx, dword [0x4a876c]
mov esi, str.libusb_init___failed
mov dword [esp + 8], eax
mov dword [esp + 4], str.libusb_init___failed_err__d
add ebx, 0x40
mov dword [esp], ebx
call fcn.004017b0
mov dword [esp], ebx
call fcn.0047a2f0
lea eax, [ebp - 0x118]
mov ecx, 0x15
mov edi, eax
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.0042ace0
mov dword [esp], 1
call fcn.00404a60
mov eax, 0x4a2d98
call fcn.00404f50
mov eax, 0x4a2d78
call fcn.00404f50
mov eax, 0x4a2dc8
call fcn.00404f50
mov eax, 0x4a2dcc
call fcn.00404f20
mov eax, 0x4a2cbc
call fcn.00404f50
mov eax, 0x4a2c50
call fcn.00404f50
mov eax, 0x4a2c48
call fcn.00404f50
mov eax, 0x4a2c4c
call fcn.00404f20
mov eax, 0x4a2cd4
call fcn.00404f50
mov eax, 0x4a01fc
call fcn.00404f50
mov eax, 0x4a2c34
call fcn.00404f50
mov eax, 0x4a2c38
call fcn.00404f20
mov eax, 0x4a01f0
call fcn.00404f50
mov eax, 0x4a034c
call fcn.00404f20
mov eax, 0x4a2ca0
call fcn.00404f20
mov eax, 0x4a2d80
call fcn.00404f20
mov eax, 0x4a2c2c
call fcn.00404f20
mov eax, 0x49f190
call fcn.00404f50
mov dword [esp + 4], 0
mov dword [esp], 0x49f194
call fcn.00462fa0
test eax, eax
jne 0x47c843
mov eax, 0x4a2d8c
call fcn.00404f50
mov dword [esp + 4], 0
mov dword [esp], 0x4a2c98
call fcn.00462fa0
test eax, eax
jne 0x47c82e
mov dword [esp + 4], 0
mov dword [esp], 0x4a2dd4
call fcn.00462fa0
test eax, eax
jne 0x47c819
mov dword [esp + 0xc], 0x482bf5
lea ebx, [ebp - 0x124]
mov dword [esp + 8], str.cgminer
mov dword [esp + 4], str._s__s
mov dword [esp], 0x49f080
call fcn.004017e0
lea eax, [ebp - 0x120]
mov dword [esp], eax
mov dword [ebp - 0x124], 0x415280
mov dword [ebp - 0x11c], 0
call fcn.00466a90
mov dword [esp + 8], 0x4a2da0
mov dword [esp + 4], ebx
mov dword [esp], 0xf
call fcn.00466870
mov dword [esp + 8], 0x4a2ca4
mov dword [esp + 4], ebx
mov dword [esp], 2
call fcn.00466870
mov edx, 0x120
mov ecx, 0xf
mov eax, edx
call fcn.004719c0
mov esi, str._usr_local_bin
sub esp, eax
lea eax, [esp + 0x33]
and eax, 0xfffffff0
mov dword [0x4a2c90], eax
mov edi, eax
mov eax, edx
rep movsb byte es:[edi], byte [esi]
call fcn.004719c0
mov esi, 0x24
mov ebx, dword [ebp - 0x158]
sub esp, eax
lea eax, [esp + 0x33]
and eax, 0xfffffff0
mov dword [0x4a2cb4], eax
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.00471b68
mov dword [esp], eax
mov ebx, eax
call fcn.00471d6c
mov dword [esp + 4], eax
mov eax, dword [0x4a2cb4]
mov dword [esp], eax
call fcn.0047a360
mov dword [esp], ebx
call fcn.0047a350
mov edx, dword [0x4a2cb4]
xor eax, eax
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
mov word [edx + ecx - 1], 0x2f
mov dword [esp + 4], 1
mov dword [esp], 0x4c
mov dword [0x4a03e8], 8
mov dword [0x4a03c8], 9
mov dword [0x4a03cc], 0xa
call fcn.0047a380
test eax, eax
mov dword [ebp - 0x14c], eax
mov edi, dword [ebp - 0x14c]
je 0x47c7ef
nop
mov ebx, edi
mov ecx, edi
mov edx, dword [ecx]
add ecx, 4
lea eax, [edx - 0x1010101]
not edx
and eax, edx
and eax, 0x80808080
je 0x47ae74
mov edx, eax
shr edx, 0x10
test eax, 0x8080
cmove eax, edx
lea edx, [ecx + 2]
cmove ecx, edx
add al, al
sbb ecx, 3
sub esi, 1
mov word [ecx], 0x30
jne 0x47ae70
mov edi, dword [ebp - 0x14c]
xor eax, eax
or ecx, 0xffffffff
mov edx, dword [0x4a0350]
mov dword [edi + 0x30], 0
mov dword [edi + 0x3c], edi
repne scasb al, byte es:[edi]
mov edi, dword [ebp - 0x14c]
mov dword [ebp - 0x148], edx
not ecx
sub ecx, 1
test edx, edx
mov dword [edi + 0x40], ecx
je 0x47bc3a
mov esi, dword [ebp - 0x148]
mov edi, dword [ebp - 0x14c]
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0x10]
mov dword [eax + 8], edi
mov edx, dword [esi + 0x28]
mov eax, dword [edx + 0x10]
sub eax, dword [edx + 0x14]
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0x28]
add edi, 0x28
mov dword [ebp - 0x154], edi
mov dword [eax + 0x10], edi
mov edx, dword [ebp - 0x148]
or ecx, 0xffffffff
mov edi, dword [ebp - 0x14c]
mov eax, dword [edx + 0x28]
add dword [eax + 0xc], 1
mov eax, dword [edx + 0x28]
mov dword [edi + 0x44], 0xfeedbeef
mov dword [edi + 0x28], eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub ecx, 1
cmp ecx, 0xb
mov dword [ebp - 0x144], ecx
jbe 0x47bda5
mov edx, 0x9e3779b9
mov esi, 0x9e3779b9
mov ecx, 0xfeedbeef
mov eax, esi
mov edi, edx
movsx esi, byte [ebx + 5]
movsx edx, byte [ebx + 6]
shl esi, 8
shl edx, 0x10
add edx, esi
movsx esi, byte [ebx + 4]
add esi, edx
movsx edx, byte [ebx + 7]
shl edx, 0x18
add edx, esi
movsx esi, byte [ebx + 9]
add edi, edx
movsx edx, byte [ebx + 0xa]
shl esi, 8
shl edx, 0x10
add edx, esi
movsx esi, byte [ebx + 8]
add esi, edx
movsx edx, byte [ebx + 0xb]
shl edx, 0x18
add edx, esi
movsx esi, byte [ebx + 1]
add ecx, edx
movsx edx, byte [ebx + 2]
shl esi, 8
shl edx, 0x10
add edx, esi
movsx esi, byte [ebx]
add esi, edx
movsx edx, byte [ebx + 3]
shl edx, 0x18
add edx, esi
sub edx, ecx
sub edx, edi
sub edi, ecx
add eax, edx
mov edx, ecx
shr edx, 0xd
xor eax, edx
mov edx, eax
sub edi, eax
shl edx, 8
sub ecx, eax
xor edx, edi
mov edi, edx
sub ecx, edx
shr edi, 0xd
xor edi, ecx
sub eax, edx
mov ecx, edi
sub eax, edi
shr ecx, 0xc
add ebx, 0xc
xor ecx, eax
mov eax, edx
sub eax, edi
mov edx, ecx
sub eax, ecx
sub edi, ecx
shl edx, 0x10
xor edx, eax
mov esi, edx
sub edi, edx
shr esi, 5
sub ecx, edx
xor esi, edi
mov eax, esi
sub ecx, esi
shr eax, 3
sub edx, esi
xor eax, ecx
mov edi, eax
sub edx, eax
shl edi, 0xa
sub esi, eax
xor edi, edx
mov edx, dword [ebp - 0x14c]
mov ecx, edi
sub esi, edi
shr ecx, 0xf
sub dword [ebp - 0x144], 0xc
xor ecx, esi
cmp dword [ebp - 0x144], 0xb
mov dword [edx + 0x44], ecx
ja 0x47af63
mov esi, eax
mov edx, edi
mov edi, dword [ebp - 0x14c]
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edi, dword [ebp - 0x14c]
mov eax, dword [edi + 0x44]
not ecx
lea ecx, [ecx + eax - 1]
mov eax, dword [ebp - 0x144]
mov dword [edi + 0x44], ecx
sub eax, 1
cmp eax, 0xa
ja case.default.0x47b07b
jmp dword [eax*4 + 0x4833f0]
movsx eax, byte [ebx + 0xa]
mov edi, dword [ebp - 0x14c]
shl eax, 0x18
add eax, ecx
mov dword [edi + 0x44], eax
movsx eax, byte [ebx + 9]
mov edi, dword [ebp - 0x14c]
shl eax, 0x10
add dword [edi + 0x44], eax
movsx eax, byte [ebx + 8]
mov edi, dword [ebp - 0x14c]
shl eax, 8
add dword [edi + 0x44], eax
movsx eax, byte [ebx + 7]
shl eax, 0x18
add edx, eax
movsx eax, byte [ebx + 6]
shl eax, 0x10
add edx, eax
movsx eax, byte [ebx + 5]
shl eax, 8
add edx, eax
movsx eax, byte [ebx + 4]
add edx, eax
movsx eax, byte [ebx + 3]
shl eax, 0x18
add esi, eax
movsx eax, byte [ebx + 2]
shl eax, 0x10
add esi, eax
movsx eax, byte [ebx + 1]
shl eax, 8
add esi, eax
movsx eax, byte [ebx]
add esi, eax
mov edi, dword [ebp - 0x14c]
mov ecx, esi
sub ecx, edx
mov eax, dword [edi + 0x44]
mov ebx, eax
sub ecx, eax
shr ebx, 0xd
sub edx, eax
xor ecx, ebx
mov ebx, ecx
sub edx, ecx
shl ebx, 8
sub eax, ecx
xor ebx, edx
mov edx, ebx
sub eax, ebx
shr edx, 0xd
sub ecx, ebx
xor edx, eax
mov esi, edx
sub ecx, edx
shr esi, 0xc
sub ebx, edx
xor esi, ecx
mov ecx, esi
sub ebx, esi
shl ecx, 0x10
sub edx, esi
xor ecx, ebx
mov eax, ecx
sub edx, ecx
shr eax, 5
sub esi, ecx
xor eax, edx
mov edx, eax
sub esi, eax
shr edx, 3
sub ecx, eax
xor edx, esi
mov ebx, edx
sub ecx, edx
shl ebx, 0xa
xor ebx, ecx
mov ecx, ebx
shr ecx, 0xf
sub eax, edx
sub eax, ebx
mov ebx, dword [ebp - 0x148]
xor ecx, eax
mov dword [edi + 0x44], ecx
mov edx, dword [ebx + 0x28]
mov eax, dword [edx + 4]
mov edx, dword [edx]
sub eax, 1
and eax, ecx
imul eax, eax, 0xc
add edx, eax
add dword [edx + 4], 1
mov edx, dword [ebx + 0x28]
mov edx, dword [edx]
mov edx, dword [edx + eax]
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], edx
mov edx, dword [ebx + 0x28]
mov ecx, dword [edx]
mov ecx, dword [ecx + eax]
test ecx, ecx
je 0x47b1ac
mov esi, dword [ebp - 0x154]
mov dword [ecx + 0xc], esi
mov edx, dword [ebx + 0x28]
mov edx, dword [edx]
mov ebx, dword [ebp - 0x154]
mov esi, dword [ebp - 0x148]
mov dword [edx + eax], ebx
mov edx, dword [esi + 0x28]
add eax, dword [edx]
mov edx, dword [eax + 8]
add edx, 1
imul edx, edx, 0xa
cmp dword [eax + 4], edx
jb 0x47b35c
mov edi, dword [ebp - 0x14c]
mov ebx, dword [edi + 0x28]
cmp dword [ebx + 0x24], 1
je 0x47b35c
imul edi, dword [ebx + 4], 0x18
mov dword [esp], edi
call fcn.0047a2e8
test eax, eax
mov esi, eax
je 0x47bdb4
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.0047a388
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
mov edi, dword [ebp - 0x14c]
lea eax, [eax + eax - 1]
test eax, edx
setne al
add ecx, 1
shr edx, cl
movzx eax, al
add eax, edx
mov dword [ebx + 0x18], eax
mov eax, dword [edi + 0x28]
mov dword [eax + 0x1c], 0
mov ecx, dword [edi + 0x28]
mov edx, dword [ecx + 4]
mov eax, ecx
test edx, edx
je 0x47b30c
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x148], esi
mov esi, dword [ebp - 0x154]
lea ebx, [esi + esi*2]
mov esi, dword [ecx]
lea ebx, [esi + ebx*4]
mov ebx, dword [ebx]
test ebx, ebx
je 0x47b2ee
mov dword [ebp - 0x14c], edi
jmp 0x47b288
mov eax, dword [edi + 0x28]
mov ebx, esi
mov edx, dword [eax + 4]
lea edx, [edx + edx - 1]
mov edi, dword [ebp - 0x148]
and edx, dword [ebx + 0x1c]
mov esi, dword [ebx + 0x10]
lea ecx, [edx + edx*2]
lea ecx, [edi + ecx*4]
mov edx, dword [ecx + 4]
add edx, 1
mov dword [ecx + 4], edx
cmp edx, dword [eax + 0x18]
jbe 0x47b2ca
mov edi, dword [ebp - 0x14c]
xor edx, edx
add dword [eax + 0x1c], 1
mov eax, dword [ecx + 4]
mov edi, dword [edi + 0x28]
div dword [edi + 0x18]
mov dword [ebp - 0x178], edi
mov dword [ecx + 8], eax
mov dword [ebx + 0xc], 0
mov eax, dword [ecx]
mov dword [ebx + 0x10], eax
mov eax, dword [ecx]
test eax, eax
je 0x47b2df
mov dword [eax + 0xc], ebx
test esi, esi
mov edi, dword [ebp - 0x14c]
mov dword [ecx], ebx
jne 0x47b280
mov ecx, dword [edi + 0x28]
add dword [ebp - 0x154], 1
mov eax, ecx
mov edx, dword [ecx + 4]
cmp edx, dword [ebp - 0x154]
ja 0x47b260
mov esi, dword [ebp - 0x148]
mov eax, dword [ecx]
mov dword [esp], eax
call fcn.0047a350
mov edi, dword [ebp - 0x14c]
xor ecx, ecx
mov eax, dword [edi + 0x28]
shl dword [eax + 4], 1
mov eax, dword [edi + 0x28]
add dword [eax + 8], 1
mov eax, dword [edi + 0x28]
mov dword [eax], esi
mov eax, dword [edi + 0x28]
mov edx, dword [eax + 0xc]
shr edx, 1
cmp dword [eax + 0x1c], edx
jbe 0x47b343
mov ecx, dword [eax + 0x20]
add ecx, 1
mov edi, dword [ebp - 0x14c]
mov dword [eax + 0x20], ecx
mov eax, dword [edi + 0x28]
cmp dword [eax + 0x20], 1
jbe 0x47b35c
mov dword [eax + 0x24], 1
mov edi, dword [ebp - 0x14c]
mov dword [esp], 0x4a0360
mov dword [esp + 4], edi
call fcn.0047a360
mov dword [esp + 8], 0x4080
mov dword [esp + 4], 0
mov dword [esp], 0x4a2de0
mov dword [0x4a2d0c], 0x4a2d0c
mov dword [0x4a2d10], 0x4a2d0c
call fcn.0047a388
mov eax, 0x4a2efc
mov byte [eax], 1
add eax, 0x408
cmp eax, 0x4a6f7c
jne 0x47b3a7
mov dword [esp + 4], str.Options_for_both_config_file_and_command_line
mov dword [esp], str.__api_allow
call fcn.00467330
mov dword [esp + 4], str.Options_for_command_line_only
mov dword [esp], str.__config_c
call fcn.00467330
mov ecx, dword [ebp - 0x150]
mov ebx, dword [ebp - 0x158]
mov dword [esp + 8], 0x402000
mov dword [esp], ecx
mov dword [esp + 4], ebx
call fcn.00467400
mov ecx, dword [ebp - 0x150]
cmp dword [ecx], 1
je 0x47b41e
lea eax, [ebp - 0x118]
mov esi, str.Unexpected_extra_commandline_arguments
mov ecx, 0x27
jmp 0x47abed
cmp byte [0x4a03ec], 0
je 0x47b7dd
cmp byte [0x4a01c1], 0
jne 0x47b77d
cmp byte [0x4a2db0], 0
je 0x47b759
mov byte [0x47e020], 0
cmp byte [0x4a2d14], 0
jne 0x47b467
cmp byte [0x4a0b60], 0
jne 0x47b467
cmp dword [0x47f720], 0
jle 0x47b49d
lea ebx, [ebp - 0x118]
mov dword [esp + 0xc], 0x49f080
mov dword [esp + 8], str.Started__s
mov dword [esp + 4], 0x100
mov dword [esp], ebx
call fcn.00471bd0
mov dword [esp + 4], ebx
mov dword [esp], 1
call fcn.0042ace0
mov eax, dword [0x49f020]
test eax, eax
je 0x47b574
cmp byte [0x4a2d14], 0
jne 0x47b4c5
cmp byte [0x4a0b60], 0
jne 0x47b4c5
cmp dword [0x47f720], 1
jle 0x47b4f7
lea ebx, [ebp - 0x118]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.Loaded_configuration_file__s
mov dword [esp + 4], 0x100
mov dword [esp], ebx
call fcn.00471bd0
mov dword [esp + 4], ebx
mov dword [esp], 2
call fcn.0042ace0
mov eax, dword [0x4a03f0]
cmp eax, 0xffffffff
je 0x47b927
test eax, eax
jne 0x47b55d
cmp byte [0x4a2d14], 0
jne 0x47b82f
cmp byte [0x4a0b60], 0
jne 0x47b82f
cmp dword [0x47f720], 0
jg 0x47b82f
cmp dword [0x47f720], 0
lea ebx, [ebp - 0x118]
jle 0x47b55d
mov esi, str.Configuration_file_could_not_be_used.
mov ecx, 0x26
mov edi, ebx
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 4], ebx
mov dword [esp], 1
call fcn.0042ace0
mov eax, dword [0x49f020]
mov dword [esp], eax
call fcn.0047a350
mov dword [0x49f020], 0
mov edx, dword [0x4a2c90]
xor eax, eax
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
mov word [edx + ecx - 1], 0x2f
cmp byte [0x4a2c94], 0
je 0x47b59c
mov byte [0x4a0b60], 1
cmp dword [0x47e030], 0
js 0x47b9a7
mov dword [esp + 4], 0x48
mov dword [esp], 9
mov dword [0x4a03f4], 9
call fcn.0047a380
test eax, eax
mov dword [0x4a2c44], eax
je 0x47bdc0
mov dword [0x4a03f8], 0
call fcn.004453a0
cmp byte [0x4a2cb9], 0
je 0x47b9c0
cmp byte [0x4a01c2], 0
je 0x47bd92
cmp byte [0x4a2cb9], 0
mov dword [0x4a2cc0], 0
je 0x47bd3b
cmp byte [0x4a01dc], 0
je 0x47b8aa
cmp byte [0x4a2d14], 0
jne 0x47b637
cmp byte [0x4a0b60], 0
je 0x47bcdd
lea ebx, [ebp - 0x118]
mov esi, str.Devices_detected:
mov ecx, 0x12
mov edi, ebx
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 4], ebx
mov dword [esp], 0
call fcn.0042ace0
mov ecx, dword [0x4a2d84]
test ecx, ecx
jle 0x47b872
xor esi, esi
jmp 0x47b6e4
cmp byte [0x4a2d14], 0
jne 0x47b68b
cmp byte [0x4a0b60], 0
jne 0x47b68b
cmp dword [0x47f720], 0
js 0x47b6d9
mov ecx, dword [eax + 4]
mov edi, dword [ecx + 4]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edi
mov eax, dword [eax + 8]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0xc], esi
mov dword [esp + 8], str.__2d.__s__d:__s__driver:__s_
mov dword [esp + 4], 0x100
mov dword [esp + 0x10], eax
mov dword [esp], ebx
call fcn.00471bd0
mov dword [esp + 4], ebx
mov dword [esp], 0
call fcn.0042ace0
mov ecx, dword [0x4a2d84]
add esi, 1
cmp ecx, esi
jle 0x47b872
mov eax, dword [0x4a2d6c]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0xc]
test edx, edx
jne 0x47b670
cmp byte [0x4a2d14], 0
jne 0x47b70d
cmp byte [0x4a0b60], 0
je 0x47ba18
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
mov dword [esp + 0x18], ecx
mov eax, dword [eax + 8]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 8]
mov dword [esp + 0xc], esi
mov dword [esp + 8], str.__2d.__s__d__driver:__s_
mov dword [esp + 4], 0x100
mov dword [esp + 0x10], eax
mov dword [esp], ebx
call fcn.00471bd0
mov dword [esp + 4], ebx
mov dword [esp], 0
call fcn.0042ace0
mov ecx, dword [0x4a2d84]
jmp 0x47b6d9
cmp byte [0x4a01dc], 0
jne 0x47b445
cmp byte [0x47e020], 0
je 0x47b44c
call fcn.004173a0
jmp 0x47b44c
lea esi, [esi]
call fcn.004152c0
mov esi, str.Benchmark
mov dword [esp], 0xff
mov ebx, eax
call fcn.0047a2e8
mov ecx, 0xa
mov dword [ebx + 0x84], eax
mov edi, eax
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x84]
cmp dword [ebx + 0x44], 1
mov dword [ebx + 0x8c], eax
mov dword [ebx + 0x90], eax
je 0x47b7cd
add dword [0x4a2c80], 1
mov dword [ebx + 0x44], 1
mov byte [ebx + 0x41], 0
mov byte [0x4a0720], 1
jmp 0x47b438
mov dword [esp], 0x104
call fcn.0047a2e8
mov dword [esp], eax
mov dword [0x49f020], eax
call fcn.004046f0
mov eax, dword [0x49f020]
mov dword [esp + 4], 4
mov dword [esp], eax
call fcn.00471b80
test eax, eax
je 0x47bd0c
mov eax, dword [0x49f020]
mov dword [esp], eax
call fcn.0047a350
mov dword [0x49f020], 0
jmp 0x47b42b
lea ebx, [ebp - 0x118]
mov esi, str.Fatal_JSON_error_in_configuration_file.
mov ecx, 0xa
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 4], ebx
mov dword [esp], 1
call fcn.0042ace0
cmp byte [0x4a2d14], 0
jne 0x47b53f
cmp byte [0x4a0b60], 0
jne 0x47b53f
jmp 0x47b530
mov dword [esp + 0xc], ecx
mov dword [esp + 8], str._d_devices_listed
mov dword [esp + 4], 0x100
mov dword [esp], ebx
call fcn.00471bd0
mov dword [esp + 4], ebx
mov dword [esp], 0
call fcn.0042ace0
mov dword [esp], 0
call fcn.00404a60
cmp dword [0x49f1a0], 0
mov dword [0x4a2d94], 0
je 0x47ba2a
xor esi, esi
xor ebx, ebx
jmp 0x47b8f5
cmp dword [0x4a2d84], ebx
jle 0x47beac
mov eax, dword [0x4a2d6c]
mov eax, dword [eax + esi]
mov dword [esp], eax
call fcn.004176c0
add ebx, 1
add esi, 4
cmp ebx, 0x1000
je 0x47bfaa
cmp byte [ebx + 0x49f1c0], 0
jne 0x47b8c7
cmp dword [0x4a2d84], ebx
jle 0x47b8e3
cmp byte [0x4a01c0], 0
je 0x47bd26
mov eax, dword [0x4a2d6c]
mov eax, dword [eax + esi]
mov dword [eax + 0x98], 1
jmp 0x47b8e3
cmp byte [0x4a2d14], 0
jne 0x47b942
cmp byte [0x4a0b60], 0
jne 0x47b942
cmp dword [0x47f720], 0
jle 0x47b966
lea ebx, [ebp - 0x118]
mov esi, str.Error_in_configuration_file__partially_loaded.
mov ecx, 0x2f
mov edi, ebx
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 4], ebx
mov dword [esp], 1
call fcn.0042ace0
cmp byte [0x47e020], 0
je 0x47b55d
cmp byte [0x4a2d14], 0
jne 0x47b992
cmp byte [0x4a0b60], 0
jne 0x47b992
cmp dword [0x47f720], 0
jle 0x47b55d
lea ebx, [ebp - 0x118]
mov esi, str.Start_cgminer_with__T_to_see_what_failed_to_load.
mov ecx, 0x32
jmp 0x47b549
cmp byte [0x4a2cb9], 1
sbb eax, eax
and eax, 0x1e
add eax, 0x1e
mov dword [0x47e030], eax
jmp 0x47b5a9
mov dword [esp], 0x4a2dac
call fcn.0041e1a0
mov ebx, dword [0x4a2c44]
mov dword [esp + 8], 0x445b20
mov dword [esp + 4], 0
mov dword [0x49f06c], 1
add ebx, 0x48
mov dword [esp + 0xc], ebx
mov dword [esp], ebx
call fcn.0041e240
test eax, eax
je 0x47bcf5
lea eax, [ebp - 0x118]
mov esi, str.usb_resource_thread_create_failed
mov ecx, 0x22
jmp 0x47abed
cmp dword [0x47f720], 0
jns 0x47b70d
jmp 0x47b6d9
xor ebx, ebx
jmp 0x47ba41
mov eax, dword [0x4a2d6c]
mov eax, dword [eax + ebx*4]
add ebx, 1
mov dword [esp], eax
call fcn.004176c0
cmp ebx, dword [0x4a2d84]
jl 0x47ba2e
cmp dword [0x4a2d84], 0
jne 0x47bac9
cmp byte [0x4a2d14], 0
jne 0x47ba71
cmp byte [0x4a0b60], 0
jne 0x47ba71
cmp dword [0x47f720], 0
jle 0x47bff7
lea ebx, [ebp - 0x118]
mov esi, str.No_devices_detected_
mov ecx, 0x15
mov edi, ebx
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 4], ebx
mov dword [esp], 1
call fcn.0042ace0
cmp byte [0x4a2d14], 0
jne 0x47baab
cmp byte [0x4a0b60], 0
je 0x47bff7
mov esi, str.Waiting_for_USB_hotplug_devices_or_press_q_to_quit
mov ecx, 0x33
mov edi, ebx
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 4], ebx
mov dword [esp], 1
call fcn.0042ace0
mov eax, dword [0x4a2d84]
add eax, 1
mov dword [0x4a03fc], eax
mov eax, dword [0x49f050]
test eax, eax
je 0x47c00f
mov dword [esp + 4], 0x480344
mov dword [esp], eax
call fcn.0047a340
test eax, eax
je 0x47c05d
xor ebx, ebx
cmp dword [0x4a2d84], 0
jg 0x47bb1c
jmp 0x47c804
cmp dword [0x4a2d84], ebx
jle 0x47c804
mov dword [esp], eax
call fcn.0047a338
cmp eax, 0xc8
mov esi, eax
ja 0x47c749
mov dword [esp], 0x4a2c2c
call fcn.00463af0
test eax, eax
jne 0x47c744
mov eax, dword [0x4a2d6c]
mov eax, dword [eax + ebx*4]
mov dword [eax + 0x160], esi
mov dword [esp], 0x4a2c2c
call fcn.00462840
test eax, eax
jne 0x47c73f
call fcn.0045fb60
add ebx, 1
mov dword [esp + 4], 0x480344
mov dword [esp], 0
call fcn.0047a340
test eax, eax
jne 0x47bb10
cmp ebx, 1
je 0x47c061
mov ecx, dword [0x4a2d84]
xor eax, eax
mov ebx, dword [0x4a2d6c]
jmp 0x47bbb0
mov edx, dword [ebx + eax*4]
add eax, 1
mov dword [edx + 0x3e4], 0x5f5e0ff
cmp eax, ecx
jl 0x47bba0
cmp byte [0x4a2c59], 0
je 0x47bf88
cmp dword [0x4a2db4], 0
jne 0x47bdd5
cmp byte [0x4a2d14], 0
jne 0x47bbe9
cmp byte [0x4a0b60], 0
jne 0x47bbe9
cmp dword [0x47f720], 0
jle 0x47bc0d
lea ebx, [ebp - 0x118]
mov esi, str.Need_to_specify_at_least_one_pool_server.
mov ecx, 0x2a
mov edi, ebx
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 4], ebx
mov dword [esp], 1
call fcn.0042ace0
cmp byte [0x47e020], 0
je 0x47bc25
xor eax, eax
call fcn.00416470
test al, al
jne 0x47bdd5
lea eax, [ebp - 0x118]
mov esi, str.Pool_setup_failed
mov ecx, 0x12
jmp 0x47abed
mov dword [edi + 0x2c], 0
mov dword [esp], 0x2c
mov dword [0x4a0350], edi
call fcn.0047a2e8
test eax, eax
mov edx, eax
mov dword [edi + 0x28], eax
je 0x47bdb4
mov edi, eax
mov ecx, 0xb
mov eax, esi
rep stosd dword es:[edi], eax
mov dword [edx + 4], 0x20
mov dword [edx + 8], 5
mov ecx, dword [ebp - 0x14c]
mov dword [edx + 0x14], 0x28
add ecx, 0x28
mov dword [edx + 0x10], ecx
mov dword [esp], 0x180
mov dword [ebp - 0x174], edx
mov dword [ebp - 0x154], ecx
call fcn.0047a2e8
mov edx, dword [ebp - 0x174]
test eax, eax
mov dword [ebp - 0x144], eax
mov dword [edx], eax
je 0x47bdb4
mov edi, eax
mov ecx, 0x60
mov eax, esi
rep stosd dword es:[edi], eax
mov dword [edx + 0x28], 0xa0111fe1
mov edx, dword [0x4a0350]
mov dword [ebp - 0x148], edx
jmp 0x47af15
cmp dword [0x47f720], 0
lea ebx, [ebp - 0x118]
jns 0x47b637
jmp 0x47b65b
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x10]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004618d0
jmp 0x47b5f0
mov eax, dword [0x49f020]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00404ba0
jmp 0x47b42b
mov eax, dword [0x4a2d6c]
mov eax, dword [eax + esi]
mov dword [esp], eax
call fcn.004176c0
jmp 0x47b913
call dword [0x47fb8c]
cmp byte [0x4a2cb9], 0
jne 0x47b614
call dword [0x47fa8c]
cmp byte [0x4a2cb9], 0
jne 0x47b614
call dword [0x47fb0c]
cmp byte [0x4a2cb9], 0
jne 0x47b614
call dword [0x47fc0c]
cmp byte [0x4a2cb9], 0
jne 0x47b614
call dword [0x47fc8c]
jmp 0x47b614
call dword [0x47f74c]
nop
lea esi, [esi]
jmp 0x47b5fd
mov edx, 0x9e3779b9
mov esi, 0x9e3779b9
jmp 0x47b04e
mov dword [esp], 0xffffffff
call fcn.0047a2f8
lea eax, [ebp - 0x118]
mov esi, str.Failed_to_calloc_control_thr
mov ecx, 0x1d
jmp 0x47abed
xor esi, esi
mov eax, dword [0x4a2c5c]
cmp dword [0x4a2db4], 0
jg 0x47bdff
jmp 0x47bec1
add esi, 1
cmp dword [0x4a2db4], esi
jle 0x47bec1
mov ebx, dword [eax + esi*4]
mov ecx, dword [ebx + 0x88]
mov dword [ebx + 0xfc], 0x5f5e0ff
mov dword [ebx + 0x120], 0x5f5e0ff
test ecx, ecx
jne 0x47bdf0
mov edi, dword [ebx + 0x8c]
test edi, edi
mov dword [ebp - 0x144], edi
je 0x47c095
mov edi, dword [ebx + 0x90]
test edi, edi
mov dword [ebp - 0x14c], edi
je 0x47c095
mov edi, dword [ebp - 0x144]
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edi, dword [ebp - 0x14c]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not edx
not ecx
add ecx, edx
mov dword [esp], ecx
call fcn.0047a2e8
test eax, eax
mov dword [ebx + 0x88], eax
je 0x47c0c6
mov edi, dword [ebp - 0x14c]
mov dword [esp + 4], 0x482735
mov dword [esp], eax
mov dword [esp + 0xc], edi
mov edi, dword [ebp - 0x144]
mov dword [esp + 8], edi
call fcn.004017e0
mov eax, dword [0x4a2c5c]
jmp 0x47bdf0
lea eax, [ebp - 0x118]
mov esi, str.Command_line_options_set_a_device_that_doesnt_exist
mov ecx, 0x35
jmp 0x47abed
mov eax, dword [eax]
mov dword [esp + 4], 4
mov dword [0x49f04c], eax
mov eax, dword [0x4a2d94]
mov dword [esp], eax
call fcn.0047a380
test eax, eax
mov dword [0x4a2c64], eax
je 0x47c6b0
xor ebx, ebx
jmp 0x47bf1e
mov eax, dword [0x4a2c64]
mov dword [esp + 4], 0x48
mov dword [esp], 1
lea esi, [eax + ebx*4]
call fcn.0047a380
mov dword [esi], eax
mov eax, dword [0x4a2c64]
cmp dword [eax + ebx*4], 0
je 0x47bfb9
add ebx, 1
cmp ebx, dword [0x4a2d94]
jl 0x47beee
mov esi, dword [0x4a2c44]
mov dword [0x49f064], 2
call fcn.00419610
lea ebx, [esi + 0x90]
test eax, eax
mov dword [esi + 0xa8], eax
je 0x47c6c9
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x40d620
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.0041e240
test eax, eax
je 0x47c0db
lea eax, [ebp - 0x118]
mov esi, str.stage_thread_create_failed
mov ecx, 0x1b
jmp 0x47abed
mov eax, dword [0x4a03c8]
add eax, dword [0x4a03fc]
mov dword [0x4a03c8], eax
add eax, 1
mov dword [0x4a03cc], eax
call fcn.00406d50
jmp 0x47bbc1
mov eax, dword [0x4a03d4]
mov dword [0x4a2d84], eax
jmp 0x47ba49
mov dword [esp + 0xc], ebx
mov dword [esp + 8], str.Failed_to_calloc_mining_thr__d_
lea ebx, [ebp - 0x118]
mov dword [esp + 4], 0x100
mov dword [esp], ebx
call fcn.00471bd0
mov dword [esp + 4], ebx
mov dword [esp], 0
call fcn.0042ace0
mov dword [esp], 1
call fcn.00404a60
cmp dword [0x47f720], 0
lea ebx, [ebp - 0x118]
jg 0x47baab
jmp 0x47bac9
mov dword [esp], 0x4a2c2c
call fcn.00463af0
test eax, eax
jne 0x47c744
mov ebx, dword [0x4a2d84]
mov ecx, dword [0x4a2d6c]
jmp 0x47c04a
mov edx, dword [ecx + eax*4]
cmp dword [edx + 0x160], 0
jne 0x47c047
mov dword [edx + 0x160], 0x5f
add eax, 1
cmp eax, ebx
jl 0x47c031
mov eax, 0x4a2c2c
call fcn.00404f80
jmp 0x47bb90
xor esi, esi
xor ebx, ebx
mov dword [esp], 0x4a2c2c
call fcn.00463af0
test eax, eax
jne 0x47c744
mov edx, dword [0x4a2d84]
mov ecx, dword [0x4a2d6c]
jmp 0x47c08f
mov eax, dword [ecx + ebx*4]
add ebx, 1
mov dword [eax + 0x160], esi
cmp ebx, edx
jl 0x47c083
jmp 0x47c04e
mov eax, dword [ebx + 0x84]
lea ebx, [ebp - 0x118]
mov dword [esp + 0xc], esi
mov dword [esp + 8], str.No_login_credentials_supplied_for_pool__u__s
mov dword [esp + 4], 0x100
mov dword [esp + 0x10], eax
mov dword [esp], ebx
call fcn.00471bd0
jmp 0x47bfdb
lea eax, [ebp - 0x118]
mov esi, str.Failed_to_malloc_userpass
mov ecx, 0x1a
jmp 0x47abed
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004618d0
call fcn.00419610
test eax, eax
mov dword [0x4a2c28], eax
je 0x47c762
add eax, 0xc
cmp byte [0x4a01c1], 0
mov dword [0x49f198], eax
jne 0x47c270
mov ebx, dword [0x4a2db4]
xor eax, eax
mov ecx, dword [0x4a2c5c]
jmp 0x47c142
mov edx, dword [ecx + eax*4]
cmp dword [edx + 0x44], 1
je 0x47c13b
add dword [0x4a2c80], 1
mov dword [edx + 0x44], 1
mov byte [edx + 0x41], 1
add eax, 1
cmp eax, ebx
jl 0x47c124
cmp byte [0x4a2d14], 0
jne 0x47c161
cmp byte [0x4a0b60], 0
jne 0x47c161
cmp dword [0x47f720], 1
jle 0x47c185
lea ebx, [ebp - 0x118]
mov esi, str.Probing_for_an_alive_pool
mov ecx, 0x1a
mov edi, ebx
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 4], ebx
mov dword [esp], 2
call fcn.0042ace0
xor esi, esi
lea ebx, [ebp - 0x118]
jmp 0x47c1c2
mov eax, dword [0x4a2c5c]
mov eax, dword [eax + esi*4]
add esi, 1
mov byte [eax + 0xc0], 1
mov dword [esp + 0xc], eax
add eax, 0xb8
mov dword [esp + 8], 0x40f3c0
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00463ff0
cmp esi, dword [0x4a2db4]
jl 0x47c18f
mov esi, 0x3c
jmp 0x47c1e7
cmp byte [0x4a0348], 0
jne 0x47c270
sub esi, 1
je 0x47c508
lea eax, [ebp - 0x12c]
mov dword [esp], eax
call fcn.004199a0
mov dword [esp + 4], 1
mov dword [esp], 0x3e8
call fcn.0047a5b4
cmp eax, 0xc0
push edx
push edx
jne 0x47c1d1
mov eax, dword [ebp - 0x128]
mov edi, dword [ebp - 0x12c]
cmp eax, 0xf4240
jg 0x47c25b
add edi, 1
mov dword [esp], ebx
mov dword [ebp - 0x174], eax
call fcn.004199a0
mov eax, dword [ebp - 0x174]
cmp dword [ebp - 0x118], edi
je 0x47c265
setg al
test al, al
jne 0x47c1d1
call fcn.0047a378
mov dword [eax], 4
jmp 0x47c1d1
sub eax, 0xf4240
add edi, 2
jmp 0x47c228
cmp dword [ebp - 0x114], eax
setg al
jmp 0x47c247
fldz
mov ebx, dword [0x4a2d84]
xor eax, eax
fst qword [0x4a6e60]
mov ecx, dword [0x4a2d6c]
jmp 0x47c29a
mov edx, dword [ecx + eax*4]
add eax, 1
fst qword [edx + 0xb0]
fst qword [edx + 0xa8]
cmp eax, ebx
jl 0x47c288
fstp st(0)
mov dword [esp], 0x4a01e4
xor esi, esi
call fcn.004199a0
mov dword [esp], 0x49f184
call fcn.004199a0
mov dword [esp + 4], 0x4a01e4
mov dword [esp], 0x4a0320
call fcn.00402c70
mov dword [ebp - 0x144], 0
mov edx, dword [ebp - 0x144]
cmp edx, dword [0x4a2d84]
jge 0x47c434
mov eax, dword [0x4a2d6c]
mov edx, dword [ebp - 0x144]
mov edi, dword [eax + edx*4]
mov ebx, dword [edi + 0xf4]
lea eax, [ebx*4 + 4]
mov dword [esp], eax
call fcn.0047a2e8
mov dword [edi + 0xf8], eax
mov dword [eax + ebx*4], 0
cmp dword [edi + 0xf4], 0
mov dword [edi + 0xc0], 4
jle 0x47c428
xor ebx, ebx
jmp 0x47c347
add ebx, 1
add esi, 1
cmp dword [edi + 0xf4], ebx
jle 0x47c428
mov dword [esp], esi
call fcn.00405ff0
mov edx, eax
mov dword [eax], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 4], ebx
mov eax, dword [edi + 4]
mov dword [esp], edx
mov dword [ebp - 0x174], edx
call dword [eax + 0x2c]
mov edx, dword [ebp - 0x174]
test al, al
je 0x47c335
mov dword [esp + 0xc], edx
mov dword [esp], edx
mov dword [esp + 8], 0x402050
mov dword [esp + 4], 0
call fcn.0041e240
mov edx, dword [ebp - 0x174]
test eax, eax
jne 0x47c8a1
mov eax, dword [edi + 0xf8]
mov dword [eax + ebx*4], edx
cmp dword [edi + 0x98], 1
je 0x47c335
cmp byte [0x4a0b61], 0
je 0x47c418
cmp byte [0x4a2d14], 0
jne 0x47c3d2
cmp byte [0x4a0b60], 0
jne 0x47c3d2
cmp dword [0x47f720], 3
jle 0x47c418
mov eax, dword [edx]
lea ecx, [ebp - 0x118]
mov dword [esp], ecx
mov dword [esp + 8], 0x481c53
mov dword [esp + 4], 0x100
mov dword [esp + 0xc], eax
mov dword [ebp - 0x174], edx
call fcn.00471bd0
lea eax, [ebp - 0x118]
mov dword [esp + 4], eax
mov dword [esp], 4
call fcn.0042ace0
mov edx, dword [ebp - 0x174]
add edx, 0x14
mov dword [esp], edx
call fcn.0041e2a0
jmp 0x47c335
add dword [ebp - 0x144], 1
jmp 0x47c2d8
cmp byte [0x4a2d14], 0
jne 0x47c44f
cmp byte [0x4a0b60], 0
jne 0x47c44f
cmp dword [0x47f720], 2
jle 0x47c486
mov eax, dword [0x4a2cc0]
lea ebx, [ebp - 0x118]
mov dword [esp + 8], str._d_gpu_miner_threads_started
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], 3
call fcn.0042ace0
xor ebx, ebx
jmp 0x47c495
mov dword [esp], ebx
add ebx, 1
call fcn.0042e8c0
cmp ebx, dword [0x4a2d18]
jl 0x47c48a
mov dword [esp], 0x4a01e4
call fcn.004199a0
mov dword [esp], 0x49f184
call fcn.004199a0
mov ebx, dword [0x4a2c44]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x40f510
mov dword [esp + 4], 0
add ebx, 0xd8
mov dword [esp], ebx
mov dword [0x49f05c], 3
call fcn.0041e240
test eax, eax
je 0x47c6de
lea eax, [ebp - 0x118]
mov esi, str.watchpool_thread_create_failed
mov ecx, 0x1f
jmp 0x47abed
cmp byte [0x4a2d14], 0
jne 0x47c523
cmp byte [0x4a0b60], 0
jne 0x47c523
cmp dword [0x47f720], 0
js 0x47c553
mov esi, str.No_servers_were_found_that_could_be_used_to_get_work_from.
mov ecx, 0x3b
mov edi, ebx
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 4], ebx
mov dword [esp], 0
call fcn.0042ace0
cmp byte [0x4a2d14], 0
jne 0x47c55c
cmp byte [0x4a0b60], 0
jne 0x47c55c
cmp dword [0x47f720], 0
js 0x47c58c
mov esi, str.Please_check_the_details_from_the_list_below_of_the_servers_you_have_input
mov ecx, 0x4b
mov edi, ebx
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 4], ebx
mov dword [esp], 0
call fcn.0042ace0
cmp byte [0x4a2d14], 0
jne 0x47c595
cmp byte [0x4a0b60], 0
jne 0x47c595
cmp dword [0x47f720], 0
js 0x47c5b3
mov esi, str.Most_likely_you_have_input_the_wrong_URL__forgotten_to_add_a_port__or_have_not_set_up_workers
mov ecx, 0x5e
mov edi, ebx
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 4], ebx
mov dword [esp], 0
call fcn.0042ace0
xor esi, esi
jmp 0x47c627
mov eax, dword [0x4a2c5c]
cmp byte [0x4a2d14], 0
mov eax, dword [eax + esi*4]
jne 0x47c5da
cmp byte [0x4a0b60], 0
jne 0x47c5da
cmp dword [0x47f720], 0
jle 0x47c624
mov edx, dword [eax + 0x90]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 0x8c]
mov dword [esp + 0x14], edx
mov eax, dword [eax + 0x84]
mov dword [esp + 0xc], esi
mov dword [esp + 8], str.Pool:__d__URL:__s__User:__s__Password:__s
mov dword [esp + 4], 0x100
mov dword [esp + 0x10], eax
mov dword [esp], ebx
call fcn.00471bd0
mov dword [esp + 4], ebx
mov dword [esp], 1
call fcn.0042ace0
add esi, 1
cmp esi, dword [0x4a2db4]
jl 0x47c5b7
cmp byte [0x47e020], 0
je 0x47c871
mov dword [esp], 0x96
call fcn.00468fa0
cmp byte [0x4a2d14], 0
jne 0x47c663
cmp byte [0x4a0b60], 0
jne 0x47c663
cmp dword [0x47f720], 0
js 0x47c681
mov ecx, 0x39
mov edi, ebx
mov esi, str.Press_any_key_to_exit__or_cgminer_will_try_again_in_15s.
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 4], ebx
mov dword [esp], 0
call fcn.0042ace0
mov eax, dword [0x4a0eec]
mov dword [esp], eax
call fcn.0046c1c0
add eax, 1
jne 0x47c871
call fcn.00468f50
cmp byte [0x4a0348], 0
jne 0x47c270
xor esi, esi
jmp 0x47c1c2
lea eax, [ebp - 0x118]
mov esi, str.Failed_to_calloc_mining_thr
mov ecx, 7
mov edi, eax
rep movsd dword es:[edi], dword [esi]
jmp 0x47abf1
lea eax, [ebp - 0x118]
mov esi, str.Failed_to_tq_new
mov ecx, 0x11
jmp 0x47abed
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004618d0
mov ebx, dword [0x4a2c44]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x4115b0
mov dword [esp + 4], 0
add ebx, 0x120
mov dword [esp], ebx
mov dword [0x49f060], 4
call fcn.0041e240
test eax, eax
je 0x47c777
lea eax, [ebp - 0x118]
mov esi, str.watchdog_thread_create_failed
mov ecx, 0x1e
jmp 0x47abed
call fcn.0047aa32
call fcn.0047a9fc
lea eax, [ebp - 0x118]
mov esi, str.Invalid_value_passed_to_set_temp_cutoff
mov ecx, 0xa
mov edi, eax
rep movsd dword es:[edi], dword [esi]
jmp 0x47abf1
lea eax, [ebp - 0x118]
mov esi, str.Failed_to_create_getq
mov ecx, 0x16
jmp 0x47abed
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004618d0
mov esi, dword [0x4a2c44]
mov dword [0x4a2d30], 5
call fcn.00419610
lea ebx, [esi + 0x168]
test eax, eax
mov dword [esi + 0x180], eax
je 0x47c940
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x42f6f0
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.0041e240
test eax, eax
je 0x47c8b4
lea eax, [ebp - 0x118]
mov esi, str.reinit_gpu_thread_create_failed
mov ecx, 8
mov edi, eax
rep movsd dword es:[edi], dword [esi]
jmp 0x47abf1
lea eax, [ebp - 0x118]
mov esi, str.main_OOM
mov ecx, 9
jmp 0x47abed
lea eax, [ebp - 0x118]
mov esi, str.Too_many_values_passed_to_set_temp_cutoff
mov ecx, 0x2a
jmp 0x47abed
lea eax, [ebp - 0x118]
mov esi, str.Failed_to_pthread_cond_init_gws_cond
mov ecx, 0x25
jmp 0x47abed
lea eax, [ebp - 0x118]
mov esi, str.Failed_to_pthread_cond_init_restart_cond
mov ecx, 0x29
jmp 0x47abed
lea eax, [ebp - 0x118]
mov esi, str.Failed_to_pthread_cond_init_lp_cond
mov ecx, 9
mov edi, eax
rep movsd dword es:[edi], dword [esi]
jmp 0x47abf1
lea eax, [ebp - 0x118]
mov esi, str.Failed_to_curl_global_init
mov ecx, 0x1b
jmp 0x47abed
lea eax, [ebp - 0x118]
mov esi, str.No_servers_could_be_used__Exiting.
mov edi, eax
mov ecx, 0x23
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.0042ace0
mov dword [esp], 0
call fcn.00404a60
mov eax, dword [edx]
mov dword [esp + 8], 0x48313b
mov dword [esp + 0xc], eax
jmp 0x47bfc5
mov eax, dword [0x4a2c44]
mov dword [esp + 8], 0x401e30
mov dword [esp + 4], 0
mov dword [0x49f068], 6
add eax, 0x1b0
mov dword [esp + 0xc], eax
mov dword [esp], eax
call fcn.0041e240
test eax, eax
jne 0x47c9b2
cmp byte [0x4a2cb9], 0
jne 0x47c967
mov ebx, dword [0x4a2c44]
mov dword [esp + 8], 0x417b70
mov dword [esp + 4], 0
mov dword [0x49f058], 7
add ebx, 0x1f8
mov dword [esp + 0xc], ebx
mov dword [esp], ebx
call fcn.0041e240
test eax, eax
je 0x47c955
lea eax, [ebp - 0x118]
mov esi, str.hotplug_thread_create_failed
mov ecx, 0x1d
jmp 0x47abed
lea eax, [ebp - 0x118]
mov esi, str.tq_new_failed_for_gpur_thr_id
mov ecx, 0x1e
jmp 0x47abed
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x10]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004618d0
mov ebx, dword [0x4a2c44]
mov dword [esp + 8], 0x417250
mov dword [esp + 4], 0
mov dword [0x4a0400], 8
add ebx, 0x240
mov dword [esp + 0xc], ebx
mov dword [esp], ebx
call fcn.0041e240
test eax, eax
je 0x47c9c7
lea eax, [ebp - 0x118]
mov esi, str.input_thread_create_failed
mov ecx, 0x1b
jmp 0x47abed
lea eax, [ebp - 0x118]
mov esi, str.API_thread_create_failed
mov ecx, 0x19
jmp 0x47abed
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x10]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004618d0
mov eax, dword [0x4a03f4]
cmp eax, 9
je 0x47c9f4
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.incorrect_total_control_threads___d__should_be_9
jmp 0x47bfc5
lea edi, [ebp - 0x118]
mov dword [ebp - 0x140], edi
mov ebx, dword [0x47e034]
mov dword [ebp - 0x150], ebx
call fcn.00409d40
mov ebx, eax
movzx eax, byte [eax + 0x1d4]
cmp byte [ebx + 0x234], 0
jne 0x47ca47
test al, al
jne 0x47ca47
mov eax, dword [ebp - 0x150]
add eax, dword [0x4a2d94]
cmp dword [0x4a0200], 0
cmovne eax, dword [ebp - 0x150]
mov dword [ebp - 0x150], eax
mov eax, dword [0x49f198]
mov dword [esp], eax
call fcn.00460dd0
test eax, eax
jne 0x47d3ee
mov eax, dword [0x49f024]
test eax, eax
je 0x47ce10
mov eax, dword [eax + 0x250]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x148], eax
xor esi, esi
movzx eax, byte [ebx + 0x1d4]
cmp byte [ebx + 0x234], 0
jne 0x47caa1
test al, al
jne 0x47caa1
cmp dword [ebp - 0x148], 0
jne 0x47caa1
movzx esi, byte [0x4a2dd0]
xor esi, 1
mov edi, dword [ebp - 0x148]
cmp dword [ebp - 0x150], edi
jl 0x47cc41
mov eax, dword [0x49f198]
mov dword [esp], eax
call fcn.004603e0
test eax, eax
jne 0x47d3f3
call fcn.0045fb60
mov eax, dword [ebp - 0x150]
cmp dword [ebp - 0x148], eax
jg 0x47ca00
call fcn.0040e4d0
mov edx, esi
test dl, dl
mov dword [ebp - 0x144], eax
jne 0x47ce1f
mov edx, esi
movzx eax, dl
call fcn.0040be00
mov ecx, dword [ebp - 0x144]
mov ebx, dword [ebp - 0x144]
add ecx, 0x280
add ebx, 0x218
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x16c], ebx
mov eax, dword [ebp - 0x14c]
cmp byte [eax + 0x1d4], 0
je 0x47cb73
mov esi, eax
cmp byte [esi + 0x1d5], 0
je 0x47cb4f
cmp byte [esi + 0x1d7], 0
jne 0x47cc77
mov eax, 1
call fcn.0040be00
mov dword [esp], 0x1388
mov ebx, eax
call fcn.0041aa70
cmp ebx, esi
je 0x47cb39
mov dword [ebp - 0x14c], ebx
jmp 0x47cb28
mov eax, dword [ebp - 0x14c]
cmp byte [eax + 0x234], 0
jne 0x47cc0c
mov eax, dword [0x49f198]
mov dword [esp], eax
call fcn.00460dd0
test eax, eax
jne 0x47d3ee
cmp dword [0x4a0200], 0
je 0x47cce4
mov ebx, dword [0x49f024]
test ebx, ebx
je 0x47d3e7
mov edi, dword [ebx + 0x258]
jmp 0x47cbc8
mov eax, dword [edi + 0x258]
mov ebx, edi
mov edi, eax
test ebx, ebx
je 0x47cce4
cmp byte [ebx + 0x221], 0
jne 0x47cc04
cmp dword [ebx + 0x208], 0
je 0x47cc04
cmp dword [ebx + 0x218], 0
je 0x47cc04
cmp byte [ebx + 0x215], 0
jne 0x47cc04
cmp dword [ebx + 0x110], 0x1b57
jle 0x47ce96
test edi, edi
jne 0x47cbbe
xor eax, eax
jmp 0x47cbc4
mov eax, dword [ebp - 0x14c]
cmp byte [eax + 0x41], 0
je 0x47cdbe
mov eax, 1
call fcn.0040be00
mov dword [esp], 0x1388
mov ebx, eax
call fcn.0041aa70
cmp ebx, dword [ebp - 0x14c]
je 0x47cc0c
jmp 0x47cb6b
mov eax, dword [0x49f198]
mov dword [esp], 0x4a2dd4
mov dword [esp + 4], eax
call fcn.00465920
mov eax, dword [0x49f024]
test eax, eax
je 0x47d3d8
mov eax, dword [eax + 0x250]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x148], eax
jmp 0x47cab3
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x14c]
call fcn.0040f6c0
cmp byte [0x4a0b61], 0
je 0x47ccd4
cmp byte [0x4a2d14], 0
jne 0x47ccac
cmp byte [0x4a0b60], 0
jne 0x47ccac
cmp dword [0x47f720], 3
jle 0x47ccd4
mov edi, dword [ebp - 0x140]
mov ecx, 0x17
mov esi, str.Generated_stratum_work
rep movsb byte es:[edi], byte [esi]
lea edx, [ebp - 0x118]
mov dword [esp + 4], edx
mov dword [esp], 4
call fcn.0042ace0
mov eax, dword [ebp - 0x144]
call fcn.0040d580
jmp 0x47ca00
xor ebx, ebx
xor esi, esi
mov eax, dword [0x49f198]
mov dword [esp], eax
call fcn.004603e0
test eax, eax
jne 0x47d3f3
call fcn.0045fb60
test bl, bl
je 0x47cf37
cmp byte [0x4a0b61], 0
mov ebx, esi
je 0x47cd58
cmp byte [0x4a2d14], 0
jne 0x47cd30
cmp byte [0x4a0b60], 0
jne 0x47cd30
cmp dword [0x47f720], 3
jle 0x47cd58
mov edi, dword [ebp - 0x140]
mov esi, str.Pushing_cloned_available_work_to_stage_thread
mov ecx, 0x2e
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x118]
mov dword [esp + 4], edi
mov dword [esp], 4
call fcn.0042ace0
mov eax, ebx
call fcn.0040d580
cmp byte [0x4a0b61], 0
je 0x47cdab
cmp byte [0x4a2d14], 0
jne 0x47cd83
cmp byte [0x4a0b60], 0
jne 0x47cd83
cmp dword [0x47f720], 3
jle 0x47cdab
mov edi, dword [ebp - 0x140]
mov esi, str.Cloned_getwork_work
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x118]
mov dword [esp + 4], eax
mov dword [esp], 4
call fcn.0042ace0
mov eax, dword [ebp - 0x144]
mov dword [esp], eax
call fcn.00403150
jmp 0x47ca00
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x14c]
call fcn.0040fec0
cmp byte [0x4a0b61], 0
je 0x47ccd4
cmp byte [0x4a2d14], 0
jne 0x47cdfb
cmp byte [0x4a0b60], 0
jne 0x47cdfb
cmp dword [0x47f720], 3
jle 0x47ccd4
mov esi, str.Generated_GBT_work
mov ecx, 0x13
mov edi, dword [ebp - 0x140]
jmp 0x47ccbc
mov dword [ebp - 0x148], 0
jmp 0x47ca78
lea edx, [ebx + 0x42]
mov eax, ebx
call fcn.00408360
test al, al
jne 0x47caf4
cmp byte [0x4a2d14], 0
jne 0x47ce4c
cmp byte [0x4a0b60], 0
jne 0x47ce4c
cmp dword [0x47f720], 0
jle 0x47ce86
mov eax, dword [ebx]
lea ecx, [ebp - 0x118]
mov dword [esp + 8], str.Pool__d_not_providing_work_fast_enough
lea edi, [ebp - 0x118]
mov dword [esp + 4], 0x100
mov dword [esp], ecx
mov dword [esp + 0xc], eax
call fcn.00471bd0
mov dword [esp + 4], edi
mov dword [esp], 1
call fcn.0042ace0
add dword [ebx + 0x60], 1
add dword [0x4a2dbc], 1
jmp 0x47caf4
xor edx, edx
mov eax, ebx
call fcn.00409e70
test al, al
jne 0x47cc04
mov esi, dword [ebx + 0x208]
call fcn.00409d40
cmp esi, eax
je 0x47cec9
mov eax, dword [0x49f038]
cmp eax, 3
je 0x47cec9
cmp eax, 4
jne 0x47cc04
mov eax, dword [ebx + 0x218]
lea ecx, [ebp - 0x118]
mov esi, 3
mov edx, dword [0x47e030]
mov dword [esp], ecx
cmp edx, eax
cmovge eax, edx
add eax, eax
mov dword [ebp - 0x154], eax
call fcn.004199a0
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x118]
sub ecx, dword [ebx + 0x20c]
mov edx, eax
sar edx, 0x1f
idiv esi
cmp eax, ecx
jl 0x47cc04
mov eax, ebx
call fcn.00401b80
mov eax, ebx
call fcn.0040e600
mov esi, eax
mov eax, ebx
call fcn.00401b80
mov ebx, 1
jmp 0x47cce8
cmp byte [0x4a01c1], 0
jne 0x47d2be
mov edx, dword [ebp - 0x14c]
mov eax, dword [ebp - 0x144]
mov dword [eax + 0x208], edx
mov eax, edx
call fcn.00411440
cmp byte [0x4a0b61], 0
mov dword [ebp - 0x15c], eax
mov esi, dword [eax]
mov eax, dword [ebp - 0x144]
mov ebx, dword [eax + 0x208]
je 0x47cfdd
cmp byte [0x4a2d14], 0
jne 0x47cf95
cmp byte [0x4a0b60], 0
jne 0x47cf95
cmp dword [0x47f720], 3
jle 0x47cfdd
mov eax, dword [ebx + 0x80]
lea edx, [ebp - 0x118]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x84]
mov dword [esp + 8], str.DBG:_sending__s_get_RPC_call:__s
mov dword [esp + 4], 0x100
mov dword [esp], edx
mov dword [esp + 0xc], eax
call fcn.00471bd0
lea ecx, [ebp - 0x118]
mov dword [esp + 4], ecx
mov dword [esp], 4
call fcn.0042ace0
mov eax, dword [ebp - 0x168]
mov edi, dword [ebx + 0x84]
mov dword [esp], eax
call fcn.004199a0
mov edx, dword [ebp - 0x16c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], 0
mov eax, dword [ebx + 0x80]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x88]
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 8], eax
call fcn.004199e0
add dword [ebx + 0x10c], 1
test eax, eax
setne byte [ebp - 0x15d]
movzx ecx, byte [ebp - 0x15d]
mov dword [ebp - 0x154], eax
test ecx, ecx
mov dword [ebp - 0x164], ecx
je 0x47d4dc
mov edx, dword [ebp - 0x144]
mov ecx, eax
mov eax, ebx
call fcn.00408050
test al, al
mov byte [ebp - 0x158], al
je 0x47d542
mov eax, dword [ebp - 0x144]
add eax, 0x288
mov dword [esp], eax
call fcn.004199a0
mov edx, dword [ebp - 0x144]
mov eax, dword [edx + 0x288]
mov ecx, edx
sub eax, dword [edx + 0x280]
mov edx, dword [edx + 0x28c]
sub edx, dword [ecx + 0x284]
js 0x47d534
mov dword [ebp - 0x13c], eax
fild dword [ebp - 0x13c]
mov dword [ebp - 0x13c], edx
mov ecx, dword [ebx + 0x114]
fild dword [ebp - 0x13c]
fdiv dword [0x484bf0]
mov esi, dword [ebx + 0x110]
add ecx, edx
mov dword [ebx + 0x114], ecx
add esi, eax
cmp ecx, 0xf423f
mov dword [ebx + 0x110], esi
faddp st(1)
fmul qword [0x484c10]
fadd qword [ebx + 0x128]
fdiv qword [0x484c30]
fstp qword [ebx + 0x128]
jle 0x47d129
add esi, 1
sub ecx, 0xf4240
mov dword [ebx + 0x110], esi
mov dword [ebx + 0x114], ecx
cmp eax, dword [ebx + 0x118]
je 0x47d2b0
setg cl
test cl, cl
je 0x47d148
mov dword [ebx + 0x118], eax
mov dword [ebx + 0x11c], edx
cmp eax, dword [ebx + 0x120]
je 0x47d2a2
setl cl
test cl, cl
je 0x47d167
mov dword [ebx + 0x120], eax
mov dword [ebx + 0x124], edx
mov eax, dword [ebp - 0x144]
xor edx, edx
add dword [ebx + 0x108], 1
mov dword [eax + 0x208], ebx
mov byte [eax + 0x21c], 0
mov byte [eax + 0x2a8], 0x50
call fcn.00402970
add dword [0x4a2c3c], 1
add dword [ebx + 0x54], 1
cmp dword [ebp - 0x164], 0
je 0x47d1cc
cmp byte [ebp - 0x15d], 0
je 0x47d1cc
mov edx, dword [ebp - 0x154]
mov eax, dword [edx + 4]
cmp eax, 0xffffffff
je 0x47d1cc
sub eax, 1
test eax, eax
mov dword [edx + 4], eax
jne 0x47d1cc
mov dword [esp], edx
call fcn.0045a6d0
cmp byte [ebp - 0x158], 0
jne 0x47d41c
cmp byte [0x4a0b61], 0
je 0x47d237
cmp byte [0x4a2d14], 0
jne 0x47d1fd
cmp byte [0x4a0b60], 0
jne 0x47d1fd
cmp dword [0x47f720], 3
jle 0x47d237
mov ecx, dword [ebp - 0x14c]
lea ebx, [ebp - 0x118]
mov eax, dword [ecx]
mov dword [esp + 8], str.Pool__d_json_rpc_call_failed_on_get_work__retrying_in_5s
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], 4
call fcn.0042ace0
mov eax, dword [ebp - 0x14c]
mov eax, dword [eax + 0x14]
mov edx, eax
mov eax, dword [ebp - 0x14c]
add edx, 1
mov dword [eax + 0x14], edx
mov eax, dword [0x4a2d94]
add eax, dword [0x47e034]
cmp edx, eax
jle 0x47d268
mov eax, dword [ebp - 0x14c]
call fcn.0040c070
mov dword [esp], 0x1388
call fcn.0041aa70
mov edx, dword [ebp - 0x14c]
mov eax, dword [ebp - 0x15c]
call fcn.004072c0
movzx eax, byte [0x4a2dd0]
xor eax, 1
movzx eax, al
call fcn.0040be00
mov dword [ebp - 0x14c], eax
jmp 0x47cb28
cmp edx, dword [ebx + 0x124]
setl cl
jmp 0x47d157
cmp edx, dword [ebx + 0x11c]
setg cl
jmp 0x47d138
mov edi, dword [ebp - 0x144]
xor eax, eax
mov edx, 0x2b0
test edi, 1
jne 0x47d414
test edi, 2
jne 0x47d40a
mov ecx, edx
shr ecx, 2
test dl, 2
rep stosd dword es:[edi], eax
je 0x47d2f1
stosw word es:[edi], ax
and dl, 1
je 0x47d2f7
stosb byte es:[edi], al
mov edi, dword [ebp - 0x144]
mov esi, 0x47ea40
mov eax, 0x1f8
test edi, 1
jne 0x47d402
test edi, 2
jne 0x47d3f8
mov ecx, eax
xor edx, edx
shr ecx, 2
test al, 2
rep movsd dword es:[edi], dword [esi]
je 0x47d337
movzx edx, word [esi]
mov word [edi], dx
mov edx, 2
test al, 1
je 0x47d342
movzx eax, byte [esi + edx]
mov byte [edi + edx], al
mov eax, dword [ebp - 0x144]
mov edx, dword [ebp - 0x144]
mov byte [eax + 0x21e], 1
mov eax, dword [0x4a2c5c]
mov ebx, edx
add ebx, 0x280
mov eax, dword [eax]
mov dword [edx + 0x208], eax
mov dword [esp], ebx
call fcn.004199a0
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], ebx
add eax, 0x288
mov dword [esp], eax
call fcn.0041ac40
mov eax, dword [ebp - 0x144]
xor edx, edx
mov byte [eax + 0x2a8], 0x42
call fcn.00402970
cmp byte [0x4a0b61], 0
je 0x47ccd4
cmp byte [0x4a2d14], 0
jne 0x47d3c9
cmp byte [0x4a0b60], 0
jne 0x47d3c9
cmp dword [0x47f720], 3
jle 0x47ccd4
mov esi, str.Generated_benchmark_work
mov ecx, 0x19
jmp 0x47ce05
mov dword [ebp - 0x148], 0
jmp 0x47cab3
xor edi, edi
jmp 0x47cbc8
call fcn.0047aad4
call fcn.0047aa68
movsw word es:[edi], word [esi]
sub eax, 2
jmp 0x47d31f
movsb byte es:[edi], byte [esi]
mov al, 0xf7
jmp 0x47d313
stosw word es:[edi], ax
sub edx, 2
jmp 0x47d2e3
stosb byte es:[edi], al
mov dl, 0xaf
jmp 0x47d2d7
mov ebx, dword [ebp - 0x150]
cmp dword [ebp - 0x148], ebx
jl 0x47d445
mov eax, dword [ebp - 0x14c]
add eax, 0x42
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14c]
mov dword [esp], eax
call fcn.00407260
mov eax, dword [ebp - 0x14c]
add eax, 0x41
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14c]
mov dword [esp], eax
call fcn.00407260
test al, al
je 0x47d46f
mov eax, dword [ebp - 0x14c]
call fcn.00409b90
cmp byte [0x4a0b61], 0
je 0x47d4bb
cmp byte [0x4a2d14], 0
jne 0x47d493
cmp byte [0x4a0b60], 0
jne 0x47d493
cmp dword [0x47f720], 3
jle 0x47d4bb
mov edi, dword [ebp - 0x140]
mov esi, str.Generated_getwork_work
mov ecx, 0x17
rep movsb byte es:[edi], byte [esi]
lea edx, [ebp - 0x118]
mov dword [esp + 4], edx
mov dword [esp], 4
call fcn.0042ace0
mov eax, dword [ebp - 0x144]
call fcn.0040d580
mov edx, dword [ebp - 0x14c]
mov eax, dword [ebp - 0x15c]
call fcn.004072c0
jmp 0x47ca00
cmp byte [0x4a0b61], 0
je 0x47d528
cmp byte [0x4a2d14], 0
jne 0x47d500
cmp byte [0x4a0b60], 0
jne 0x47d500
cmp dword [0x47f720], 3
jle 0x47d528
mov edi, dword [ebp - 0x140]
mov esi, str.Failed_json_rpc_call_in_get_upstream_work
mov ecx, 0x2a
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x118]
mov dword [esp + 4], edi
mov dword [esp], 4
call fcn.0042ace0
mov byte [ebp - 0x158], 0
jmp 0x47d07f
sub eax, 1
add edx, 0xf4240
jmp 0x47d0b8
cmp byte [0x4a0b61], 0
je 0x47d528
cmp byte [0x4a2d14], 0
jne 0x47d566
cmp byte [0x4a0b60], 0
jne 0x47d566
cmp dword [0x47f720], 3
jle 0x47d528
mov edi, dword [ebp - 0x140]
mov esi, str.Failed_to_decode_work_in_get_upstream_work
mov ecx, 0x2b
rep movsb byte es:[edi], byte [esi]
lea esi, [ebp - 0x118]
mov dword [esp + 4], esi
mov dword [esp], 4
call fcn.0042ace0
jmp 0x47d07f