Function at 0x4199e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ecx, 0x3f
push edi
push esi
push ebx
sub esp, 0x45c
movzx esi, byte [esp + 0x484]
movzx edx, byte [esp + 0x490]
mov ebx, dword [esp + 0x470]
mov ebp, dword [esp + 0x48c]
mov eax, esi
cmp al, 1
mov byte [esp + 0x50], dl
lea eax, [esp + 0x154]
sbb edx, edx
and edx, 0xfffff22c
mov dword [esp + 0x34], eax
mov edi, dword [esp + 0x34]
xor eax, eax
add edx, 0xe10
cmp byte [esp + 0x480], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
rep stosd dword es:[edi], eax
mov byte [esp + 0x47], 0
je 0x419a99
movzx eax, byte [ebp + 0x43]
mov byte [esp + 0x47], al
xor byte [esp + 0x47], 1
mov dword [esp + 8], edx
mov dword [esp + 4], 0xd
mov dword [esp], ebx
call fcn.00459608
mov dword [esp + 8], 0x418c70
mov dword [esp + 4], 0x4e7e
mov dword [esp], ebx
call fcn.00459608
mov dword [esp + 8], ebp
mov dword [esp + 4], 0x276f
mov dword [esp], ebx
call fcn.00459608
mov dword [esp + 8], 1
mov dword [esp + 4], 0x29
mov dword [esp], ebx
call fcn.00459608
mov dword [esp + 8], 1
mov dword [esp + 4], 0x63
mov dword [esp], ebx
call fcn.00459608
mov eax, dword [esp + 0x474]
mov dword [esp + 4], 0x2712
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.00459608
mov dword [esp + 8], 0x484d8d
mov dword [esp + 4], 0x2776
mov dword [esp], ebx
call fcn.00459608
mov dword [esp + 8], 1
mov dword [esp + 4], 0x2d
mov dword [esp], ebx
call fcn.00459608
cmp byte [0x4a2dc0], 0
je 0x41a0e0
cmp byte [esp + 0x50], 0
jne 0x41a0e0
mov dword [esp + 8], 0x418740
mov dword [esp + 4], 0x4e2b
mov dword [esp], ebx
call fcn.00459608
lea eax, [esp + 0x68]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x2711
mov dword [esp], ebx
call fcn.00459608
mov dword [esp + 8], 0x4186f0
mov dword [esp + 4], 0x4e2c
mov dword [esp], ebx
call fcn.00459608
lea eax, [esp + 0x70]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x2719
mov dword [esp], ebx
call fcn.00459608
lea edx, [esp + 0x250]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x271a
mov dword [esp], ebx
call fcn.00459608
mov dword [esp + 8], 1
mov dword [esp + 4], 0x34
mov dword [esp], ebx
call fcn.00459608
mov dword [esp + 8], 0x4187c0
mov dword [esp + 4], 0x4e6f
mov dword [esp], ebx
call fcn.00459608
lea eax, [esp + 0x80]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x272d
mov dword [esp], ebx
call fcn.00459608
mov dword [esp + 8], 1
mov dword [esp + 4], 0x77
mov dword [esp], ebx
call fcn.00459608
mov eax, dword [ebp + 0x98]
test eax, eax
je 0x41a1b0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x2714
mov dword [esp], ebx
call fcn.00459608
mov eax, dword [ebp + 0x94]
mov dword [esp + 4], 0x65
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.00459608
mov eax, dword [esp + 0x478]
test eax, eax
je 0x419cc4
mov edx, dword [esp + 0x478]
mov dword [esp + 4], 0x2715
mov dword [esp], ebx
mov dword [esp + 8], edx
call fcn.00459608
mov dword [esp + 8], 1
mov dword [esp + 4], 0x6b
mov dword [esp], ebx
call fcn.00459608
mov eax, esi
test al, al
jne 0x41a1f0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x2f
mov dword [esp], ebx
call fcn.00459608
cmp byte [0x4a2cb8], 0
je 0x419cfc
cmp byte [0x4a0b61], 0
jne 0x41a151
mov edx, dword [esp + 0x47c]
lea edi, [esp + 0x94]
lea esi, [esp + 0xd4]
mov dword [esp], edx
mov dword [esp + 0x70], edx
call fcn.0047a2e0
mov dword [esp + 4], str.Content_Length:__lu
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [esp + 0x74], eax
call fcn.004186c0
mov dword [esp + 8], str.cgminer_3.3.1
mov dword [esp + 4], str.User_Agent:__s
mov dword [esp], esi
call fcn.004186c0
mov dword [esp + 4], str.Content_type:_application_json
mov dword [esp], 0
call fcn.00459618
mov dword [esp + 4], str.X_Mining_Extensions:_longpoll_midstate_rollntime_submitold
mov dword [esp], eax
call fcn.00459618
mov ecx, dword [0x4a2c88]
mov edx, eax
mov eax, dword [0x4a2c8c]
mov dword [esp + 0x40], eax
or eax, ecx
je 0x419dc7
mov eax, dword [esp + 0x40]
mov dword [esp + 8], ecx
lea ecx, [esp + 0x350]
mov dword [esp], ecx
mov dword [esp + 4], str.X_Mining_Hashrate:__llu
mov dword [esp + 0xc], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ecx
call fcn.004186c0
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00459618
mov edx, eax
mov dword [esp], edx
mov dword [esp + 4], edi
call fcn.00459618
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00459618
mov dword [esp + 4], str.Expect:
mov dword [esp], eax
call fcn.00459618
mov dword [esp + 4], 0x2727
mov dword [esp], ebx
mov dword [esp + 8], eax
mov dword [esp + 0x40], eax
call fcn.00459608
cmp byte [0x4a2dc0], 0
je 0x419e54
cmp byte [esp + 0x50], 0
je 0x41a328
mov dword [esp], 0x4a2ca0
call fcn.00465930
test eax, eax
jne 0x41a70d
mov dword [esp], 0x4a6e6c
call fcn.004199a0
mov dword [esp], 0x4a2ca0
call fcn.00462840
test eax, eax
jne 0x41a6d7
call fcn.0045fb60
mov dword [esp], ebx
call fcn.00459620
test eax, eax
jne 0x41a608
mov eax, dword [esp + 0x68]
test eax, eax
je 0x41a717
add dword [ebp + 0x158], 1
adc dword [ebp + 0x15c], 0
lea esi, [esp + 0x60]
mov dword [esp + 8], esi
mov dword [esp + 4], 0x300007
mov dword [esp], ebx
call fcn.00459628
test eax, eax
jne 0x419eea
mov eax, dword [ebp + 0x164]
fild qword [ebp + 0x160]
test eax, eax
js 0x41a673
fstp qword [esp + 0x58]
fld qword [esp + 0x58]
fadd qword [esp + 0x60]
fld dword [0x4854fc]
fxch st(1)
fucomi st(1)
jae 0x41a2b1
fstp st(1)
fnstcw word [esp + 0x56]
movzx eax, word [esp + 0x56]
mov ah, 0xc
mov word [esp + 0x54], ax
fldcw word [esp + 0x54]
fistp qword [ebp + 0x160]
fldcw word [esp + 0x56]
add dword [ebp + 0x170], 1
adc dword [ebp + 0x174], 0
mov dword [esp + 8], esi
mov dword [esp + 4], 0x300008
mov dword [esp], ebx
call fcn.00459628
test eax, eax
jne 0x419f60
mov eax, dword [ebp + 0x17c]
fild qword [ebp + 0x178]
test eax, eax
js 0x41a680
fstp qword [esp + 0x58]
fld qword [esp + 0x58]
fadd qword [esp + 0x60]
fld dword [0x4854fc]
fxch st(1)
fucomi st(1)
jae 0x41a2e7
fstp st(1)
fnstcw word [esp + 0x56]
movzx eax, word [esp + 0x56]
mov ah, 0xc
mov word [esp + 0x54], ax
fldcw word [esp + 0x54]
fistp qword [ebp + 0x178]
fldcw word [esp + 0x56]
cmp byte [esp + 0x47], 0
jne 0x41a100
mov eax, dword [esp + 0x80]
test eax, eax
je 0x419f89
mov dword [esp], eax
call fcn.0047a350
mov dword [esp + 0x80], 0
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x419fa7
mov dword [esp], eax
call fcn.0047a350
mov dword [esp + 0x8c], 0
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x488]
mov dword [edx], eax
mov dword [ebp + 0x134], eax
movzx eax, byte [esp + 0x90]
mov byte [ebp + 0x130], al
movzx eax, byte [esp + 0x91]
mov byte [ebp + 0x131], al
movzx eax, byte [esp + 0x92]
mov byte [ebp + 0x132], al
lea eax, [esp + 0x154]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.0045c630
test eax, eax
mov esi, eax
je 0x41a7d2
cmp byte [0x4a2cb8], 0
jne 0x41a240
mov dword [esp + 4], str.result
mov dword [esp], esi
call fcn.0045a090
mov dword [esp + 4], str.error
mov dword [esp], esi
mov edi, eax
call fcn.0045a090
test edi, edi
je 0x41a8b0
test eax, eax
je 0x41a056
cmp dword [eax], 7
nop
jne 0x41a483
mov eax, dword [esp + 0x88]
test eax, eax
je 0x41a097
mov dword [esp], eax
call fcn.0045a450
mov dword [esp + 4], str.reject_reason
mov dword [esp], esi
mov dword [esp + 8], eax
call fcn.0045a9a0
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call fcn.0047a350
mov dword [esp + 0x88], 0
mov eax, dword [esp + 0x68]
mov byte [0x4a0720], 1
mov dword [esp], eax
call fcn.0047a350
mov eax, dword [esp + 0x40]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp], eax
call fcn.00459630
mov dword [esp], ebx
call fcn.00459638
add esp, 0x45c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 1
mov dword [esp + 4], 0x79
mov dword [esp], ebx
call fcn.00459608
jmp 0x419b6c
mov eax, dword [esp + 0x80]
mov byte [ebp + 0x43], 1
test eax, eax
je 0x41a690
mov edx, dword [ebp + 0x4c]
test edx, edx
je 0x41a129
mov dword [esp], edx
call fcn.0047a350
mov eax, dword [esp + 0x80]
mov dword [ebp + 0x4c], eax
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x419fa7
mov dword [ebp + 0x188], eax
mov dword [esp + 0x8c], 0
jmp 0x419fa7
cmp byte [0x4a2d14], 0
jne 0x41a170
cmp byte [0x4a0b60], 0
jne 0x41a170
cmp dword [0x47f720], 3
jle 0x419cfc
mov edx, dword [esp + 0x47c]
lea esi, [esp + 0x350]
mov dword [esp + 8], str.JSON_protocol_request:_n_s
mov dword [esp + 4], 0x100
mov dword [esp], esi
mov dword [esp + 0xc], edx
call fcn.00471bd0
mov dword [esp + 4], esi
mov dword [esp], 4
call fcn.0042ace0
jmp 0x419cfc
mov eax, dword [0x49f028]
test eax, eax
je 0x419c86
mov dword [esp + 8], eax
mov dword [esp + 4], 0x2714
mov dword [esp], ebx
call fcn.00459608
mov dword [esp + 8], 4
mov dword [esp + 4], 0x65
mov dword [esp], ebx
call fcn.00459608
jmp 0x419c86
mov dword [esp + 8], 1
mov dword [esp + 4], 0xd5
mov dword [esp], ebx
call fcn.00459608
mov dword [esp + 8], 0x2d
mov dword [esp + 4], 0xd6
mov dword [esp], ebx
call fcn.00459608
mov dword [esp + 8], 0x1e
mov dword [esp + 4], 0xd7
mov dword [esp], ebx
call fcn.00459608
jmp 0x419cce
mov dword [esp + 4], 3
mov dword [esp], eax
call fcn.0045d3a0
cmp byte [0x4a0b61], 0
mov edi, eax
je 0x41a2a4
cmp byte [0x4a2d14], 0
jne 0x41a271
cmp byte [0x4a0b60], 0
je 0x41a6a0
lea ebp, [esp + 0x350]
mov dword [esp + 0xc], edi
mov dword [esp + 8], str.JSON_protocol_response:_n_s
mov dword [esp + 4], 0x100
mov dword [esp], ebp
call fcn.00471bd0
mov dword [esp + 4], ebp
mov dword [esp], 4
call fcn.0042ace0
mov dword [esp], edi
call fcn.0047a350
jmp 0x41a01d
fnstcw word [esp + 0x56]
fsubrp st(1)
movzx eax, word [esp + 0x56]
mov ah, 0xc
mov word [esp + 0x54], ax
fldcw word [esp + 0x54]
fistp qword [ebp + 0x160]
fldcw word [esp + 0x56]
mov eax, dword [ebp + 0x164]
add eax, 0x80000000
mov dword [ebp + 0x164], eax
jmp 0x419eea
fnstcw word [esp + 0x56]
fsubrp st(1)
movzx eax, word [esp + 0x56]
mov ah, 0xc
mov word [esp + 0x54], ax
fldcw word [esp + 0x54]
fistp qword [ebp + 0x178]
fldcw word [esp + 0x56]
mov eax, dword [ebp + 0x17c]
add eax, 0x80000000
cmp byte [esp + 0x47], 0
mov dword [ebp + 0x17c], eax
je 0x419f6b
jmp 0x41a100
lea eax, [esp + 0x78]
mov dword [esp], eax
call fcn.004199a0
mov dword [esp], 0x4a2ca0
call fcn.00463af0
test eax, eax
jne 0x41a901
mov edx, dword [0x4a6e6c]
mov eax, dword [0x4a6e70]
mov dword [esp], 0x4a2ca0
mov dword [esp + 0x38], edx
mov dword [esp + 0x50], eax
call fcn.00462840
test eax, eax
jne 0x41a8cb
call fcn.0045fb60
mov edi, dword [esp + 0x7c]
mov eax, 0x3e8
imul dword [esp + 0x78]
mov ecx, 0x10624dd3
mov dword [esp + 0x48], eax
mov eax, edi
mov dword [esp + 0x4c], edx
imul ecx
mov eax, 0x3e8
sar edi, 0x1f
sar edx, 6
sub edx, edi
mov edi, edx
mov esi, edx
sar edi, 0x1f
add esi, dword [esp + 0x48]
adc edi, dword [esp + 0x4c]
imul dword [esp + 0x38]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x3c], edx
imul ecx
mov eax, dword [esp + 0x50]
sar edx, 6
sar eax, 0x1f
sub edx, eax
mov eax, edx
sar eax, 0x1f
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x3c]
add dword [esp + 0x48], eax
adc dword [esp + 0x4c], edx
cmp edi, dword [esp + 0x4c]
jl 0x419e1b
jle 0x41a6b2
mov eax, esi
mov edx, edi
sub eax, dword [esp + 0x48]
sbb edx, dword [esp + 0x4c]
mov dword [esp + 0x38], eax
cmp edx, 0
mov dword [esp + 0x3c], edx
jg 0x419e1b
jl 0x41a423
cmp eax, 0xf9
ja 0x419e1b
lea ecx, [esp + 0x350]
mov dword [esp], ecx
call fcn.004199a0
mov eax, dword [esp + 0x48]
mov edx, 0x431bde83
mov dword [esp + 4], 1
sub eax, esi
imul eax, eax, 0xf4240
lea ecx, [eax + 0xef5f4bf]
mov eax, ecx
imul edx
sar ecx, 0x1f
sar edx, 0x12
sub edx, ecx
mov dword [esp], edx
call fcn.0047a5b4
sub esp, 8
cmp eax, 0xc0
jne 0x419e1b
call fcn.0047a378
mov dword [eax], 4
jmp 0x419e1b
mov dword [esp + 4], 3
mov dword [esp], eax
call fcn.0045d3a0
mov esi, eax
cmp byte [0x4a2d14], 0
jne 0x41a5d0
cmp byte [0x4a0b60], 0
jne 0x41a5d0
cmp dword [0x47f720], 2
jg 0x41a5d0
lea esi, [esi]
mov dword [esp], esi
call fcn.0047a350
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.0047a350
mov eax, dword [esp + 0x40]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp], eax
call fcn.00459630
mov dword [esp], ebx
call fcn.00459638
cmp byte [0x4a0720], 0
jne 0x41a5a9
cmp byte [0x4a0b61], 0
je 0x41a5a9
cmp byte [0x4a2d14], 0
jne 0x41a528
cmp byte [0x4a0b60], 0
je 0x41a6c5
lea eax, [esp + 0x350]
mov dword [esp + 4], eax
mov dword [esp], 4
mov dword [esp + 0x350], 0x6c696146
mov dword [esp + 0x354], 0x74206465
mov dword [esp + 0x358], 0x6f63206f
mov dword [esp + 0x35c], 0x63656e6e
mov dword [esp + 0x360], 0x6e692074
mov dword [esp + 0x364], 0x6f736a20
mov dword [esp + 0x368], 0x70725f6e
mov dword [esp + 0x36c], 0x61635f63
mov word [esp + 0x370], 0x6c6c
mov byte [esp + 0x372], 0
call fcn.0042ace0
mov dword [esp], ebx
xor esi, esi
mov dword [esp + 8], 1
mov dword [esp + 4], 0x4a
call fcn.00459608
add esp, 0x45c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [esp + 0x350]
mov dword [esp + 0xc], esi
mov dword [esp + 8], str.JSON_RPC_call_failed:__s
mov dword [esp + 4], 0x100
mov dword [esp], edi
call fcn.00471bd0
mov dword [esp + 4], edi
mov dword [esp], 3
call fcn.0042ace0
jmp 0x41a4c0
cmp byte [0x4a2d14], 0
jne 0x41a630
cmp byte [0x4a0b60], 0
jne 0x41a630
cmp dword [0x47f720], 2
jg 0x41a630
mov eax, dword [esp + 0x68]
jmp 0x41a4cc
lea edx, [esp + 0x250]
lea esi, [esp + 0x350]
mov dword [esp + 0xc], edx
mov dword [esp + 8], str.HTTP_request_failed:__s
mov dword [esp + 4], 0x100
mov dword [esp], esi
call fcn.00471bd0
mov dword [esp + 4], esi
mov dword [esp], 3
call fcn.0042ace0
mov eax, dword [esp + 0x68]
jmp 0x41a4cc
fadd dword [0x4854f8]
jmp 0x419eae
fadd dword [0x4854f8]
jmp 0x419f24
mov dword [ebp + 0x4c], 0
jmp 0x41a12c
cmp dword [0x47f720], 3
jle 0x41a2a4
jmp 0x41a271
cmp esi, dword [esp + 0x48]
jbe 0x419e1b
lea esi, [esi]
jmp 0x41a3f9
cmp dword [0x47f720], 3
jle 0x41a5a9
jmp 0x41a528
lea eax, [esp + 0x350]
mov esi, 0x484e71
mov edi, eax
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.0042ace0
mov dword [esp], 1
call fcn.00404a60
jmp 0x419e4f
call fcn.0047d5df
jmp 0x419e2f
xor eax, eax
cmp byte [0x4a0b61], 0
je 0x41a4cc
cmp byte [0x4a2d14], 0
jne 0x41a745
cmp byte [0x4a0b60], 0
jne 0x41a745
cmp dword [0x47f720], 3
jle 0x41a4cc
lea eax, [esp + 0x350]
mov dword [esp + 4], eax
mov dword [esp], 4
mov dword [esp + 0x350], 0x74706d45
mov dword [esp + 0x354], 0x61642079
mov dword [esp + 0x358], 0x72206174
mov dword [esp + 0x35c], 0x69656365
mov dword [esp + 0x360], 0x20646576
mov dword [esp + 0x364], 0x6a206e69
mov dword [esp + 0x368], 0x5f6e6f73
mov dword [esp + 0x36c], 0x5f637072
mov dword [esp + 0x370], 0x6c6c6163
mov word [esp + 0x374], 0x2e
call fcn.0042ace0
mov eax, dword [esp + 0x68]
jmp 0x41a4cc
cmp byte [0x4a2d14], 0
jne 0x41a7ed
cmp byte [0x4a0b60], 0
jne 0x41a7ed
cmp dword [0x47f720], 2
jle 0x41a832
lea eax, [esp + 0x1b0]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x154]
lea esi, [esp + 0x350]
mov dword [esp + 8], str.JSON_decode_failed__d_:__s
mov dword [esp + 4], 0x100
mov dword [esp], esi
mov dword [esp + 0xc], eax
call fcn.00471bd0
mov dword [esp + 4], esi
mov dword [esp], 3
call fcn.0042ace0
cmp byte [0x4a2cb8], 0
je 0x41a623
cmp byte [0x4a0b61], 0
je 0x41a623
cmp byte [0x4a2d14], 0
jne 0x41a86b
cmp byte [0x4a0b60], 0
jne 0x41a86b
cmp dword [0x47f720], 3
jle 0x41a623
mov eax, dword [esp + 0x68]
lea esi, [esp + 0x350]
mov dword [esp + 8], str.JSON_protocol_response:_n_s
mov dword [esp + 4], 0x100
mov dword [esp], esi
mov dword [esp + 0xc], eax
call fcn.00471bd0
mov dword [esp + 4], esi
mov dword [esp], 4
call fcn.0042ace0
mov eax, dword [esp + 0x68]
jmp 0x41a4cc
test eax, eax
jne 0x41a483
mov dword [esp], str._unknown_reason_
call fcn.00471b68
mov esi, eax
jmp 0x41a495
lea eax, [esp + 0x350]
mov esi, 0x484e71
mov edi, eax
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.0042ace0
mov dword [esp], 1
call fcn.00404a60
jmp 0x41a36f
lea eax, [esp + 0x350]
mov esi, 0x484e57
mov edi, eax
mov ecx, 0x1a
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
jmp 0x41a348