Function at 0x423b50
Capabilities:
Connect socket
Get socket status
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
push edi
mov eax, 0x4c5c
push esi
push ebx
call fcn.005ac030
sub esp, eax
mov ebp, dword [esp + 0x4c70]
mov dword [esp + 0x38], 0
lea edi, [esp + 0x2c50]
mov dword [esp + 0x3c], 0
mov byte [esp + 0x37], 0
mov byte [esp + 0x36], 0
lea eax, [ebp + 0x318]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call dbg.pthread_mutex_lock
test eax, eax
jne 0x423df0
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ebp + 0x2bc]
mov byte [ebp + 0x2f1], 0
test eax, eax
jne 0x4241b0
mov eax, dword [esp + 0x30]
mov dword [ebp + 0x2bc], 0
mov dword [esp], eax
call dbg.pthread_mutex_unlock
test eax, eax
jne 0x42480c
call dword [0x5bb9e0]
xor eax, eax
mov dword [esp + eax + 0x154], 0
add eax, 4
cmp eax, 0x20
jb 0x423beb
mov esi, dword [ebp + 0x1a0]
mov dword [esp + 0x15c], 1
test esi, esi
je 0x42472d
mov eax, dword [ebp + 0x2cc]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x2d0]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x44]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x154]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
sub esp, 0x10
test eax, eax
je 0x423e55
cmp byte [ebp + 0x146], 0
jne 0x4241c1
cmp byte [0x745ef7], 0
jne 0x423c87
cmp byte [0x732fa0], 0
jne 0x423c87
mov ecx, dword [0x5bc2e0]
test ecx, ecx
jle 0x423cc7
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], str.Failed_to_resolve___wrong_URL___s:_s
mov dword [esp + 4], 0xa00
mov dword [esp], edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], eax
call sym._snprintf_1
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 1
call sym.__applog
mov byte [ebp + 0x146], 1
xor ebx, ebx
movzx ecx, byte [esp + 0x36]
cmp byte [esp + 0x37], cl
jae 0x424482
lea ebx, [ebp + 0x1a8]
mov dword [esp], ebx
call dbg.pthread_mutex_lock
test eax, eax
jne 0x4249a0
lea esi, [ebp + 0x1ac]
mov dword [esp], esi
call dbg.pthread_rwlock_wrlock
test eax, eax
jne 0x42493b
mov eax, dword [ebp + 0x2ec]
mov dword [esp], eax
call sym._free
mov eax, dword [ebp + 0x2d4]
mov dword [esp], eax
call sym._free
mov dword [ebp + 0x2d4], 0
mov dword [ebp + 0x2ec], 0
mov dword [esp], esi
call dbg.pthread_rwlock_unlock
test eax, eax
jne 0x4248d6
mov dword [esp], ebx
call dbg.pthread_mutex_unlock
test eax, eax
jne 0x424871
call dword [0x5bb9e0]
cmp byte [0x732fa1], 0
je 0x423db5
cmp byte [0x745ef7], 0
jne 0x423d85
cmp byte [0x732fa0], 0
jne 0x423d85
cmp dword [0x5bc2e0], 3
jle 0x423db5
mov dword [esp + 8], str.Failed_to_resume_stratum__trying_afresh
mov dword [esp + 4], 0xa00
mov dword [esp], edi
call sym._snprintf_1
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 4
call sym.__applog
mov edx, dword [esp + 0x38]
test edx, edx
je 0x423dd7
mov eax, dword [edx + 4]
cmp eax, 0xffffffff
je 0x423dd7
sub eax, 1
test eax, eax
mov dword [edx + 4], eax
jne 0x423dd7
mov dword [esp], edx
call sym._json_delete
mov eax, dword [esp + 0x30]
mov byte [esp + 0x37], 1
mov dword [esp], eax
call dbg.pthread_mutex_lock
test eax, eax
je 0x423bb0
call dword [sym.imp.msvcrt.dll__errno]
mov dword [esp + 0x18], 0xc82
mov dword [esp + 0x14], str.setup_stratum_socket
mov dword [esp + 0x10], str.util.c
mov eax, dword [eax]
mov dword [esp + 8], 0x5c9098
mov dword [esp + 4], 0xa00
mov dword [esp], edi
mov dword [esp + 0xc], eax
call sym._snprintf_1
mov dword [esp + 8], 1
mov dword [esp + 4], edi
mov dword [esp], 0
call sym.__applog
mov dword [esp], 1
call sym.__quit
jmp 0x423bb0
mov ebx, dword [esp + 0x44]
test ebx, ebx
je 0x424137
mov dword [esp + 0x4c70], ebp
jmp 0x423ecf
cmp byte [0x732fa1], 0
je 0x423ec4
cmp byte [0x745ef7], 0
jne 0x423e94
cmp byte [0x732fa0], 0
jne 0x423e94
cmp dword [0x5bc2e0], 3
jle 0x423ec4
mov dword [esp + 8], str.Failed_socket
mov dword [esp + 4], 0xa00
mov dword [esp], edi
call sym._snprintf_1
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 4
call sym.__applog
mov ebx, dword [ebx + 0x1c]
test ebx, ebx
je 0x424130
mov eax, dword [ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_socket]
sub esp, 0xc
cmp eax, 0xffffffff
mov esi, eax
je 0x423e70
mov dword [esp + 0x2c50], 1
mov dword [esp + 8], edi
mov dword [esp + 4], 0x8004667e
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov eax, dword [ebx + 0x10]
sub esp, 0xc
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x18]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.WS2_32.dll_connect]
sub esp, 0xc
cmp eax, 0xffffffff
jne 0x424225
mov dword [esp + 0x50], 2
mov dword [esp + 0x54], 0
mov ebp, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call ebp
cmp eax, 0x2733
je 0x423fa1
mov dword [esp], esi
call dword [sym.imp.WS2_32.dll_closesocket]
sub esp, 4
cmp byte [0x732fa1], 0
je 0x423ec4
cmp byte [0x745ef7], 0
jne 0x423f94
cmp byte [0x732fa0], 0
jne 0x423f94
cmp dword [0x5bc2e0], 3
jle 0x423ec4
mov dword [esp + 8], str.Failed_sock_connect
jmp 0x423e9c
lea eax, [esi + 1]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x250]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x50]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x254], esi
mov dword [esp + 0x250], 1
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], 0
mov dword [esp], ecx
mov dword [esp + 8], eax
call dword [sym.imp.WS2_32.dll_select]
sub esp, 0x14
cmp eax, 0
jle 0x424060
mov eax, dword [esp + 0x20]
mov dword [esp], esi
mov dword [esp + 4], eax
call sym.___WSAFDIsSet_8
sub esp, 8
test eax, eax
jne 0x424080
mov dword [esp], esi
call dword [sym.imp.WS2_32.dll_closesocket]
sub esp, 4
cmp byte [0x732fa1], 0
je 0x423ec4
cmp byte [0x745ef7], 0
jne 0x424049
cmp byte [0x732fa0], 0
jne 0x424049
cmp dword [0x5bc2e0], 3
jle 0x423ec4
mov dword [esp + 8], str.Select_timeout_failed_connect
jmp 0x423e9c
je 0x424011
call ebp
cmp eax, 0x2714
je 0x423fb3
call dword [sym.imp.msvcrt.dll__errno]
cmp dword [eax], 4
jne 0x424011
jmp 0x423fb3
lea eax, [esp + 0x48]
mov dword [esp + 0x48], 4
mov dword [esp + 8], 0x1007
mov dword [esp + 4], 0xffff
mov dword [esp], esi
mov dword [esp + 0x10], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0xc], eax
call dword [sym.imp.WS2_32.dll_getsockopt]
sub esp, 0x14
test eax, eax
jne 0x424011
mov edx, dword [esp + 0x4c]
test edx, edx
jne 0x424011
cmp byte [0x732fa1], 0
mov ebp, dword [esp + 0x4c70]
je 0x424277
cmp byte [0x745ef7], 0
jne 0x4240fb
cmp byte [0x732fa0], 0
jne 0x4240fb
cmp dword [0x5bc2e0], 3
jle 0x424277
mov dword [esp + 8], str.Succeeded_delayed_connect
mov dword [esp + 4], 0xa00
mov dword [esp], edi
call sym._snprintf_1
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 4
call sym.__applog
jmp 0x424277
mov ebp, dword [esp + 0x4c70]
cmp byte [0x745ef7], 0
jne 0x424152
cmp byte [0x732fa0], 0
jne 0x424152
cmp dword [0x5bc2e0], 2
jle 0x424192
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], str.Failed_to_connect_to_stratum_on__s:_s
mov dword [esp + 4], 0xa00
mov dword [esp], edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], eax
call sym._snprintf_1
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 3
call sym.__applog
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
sub esp, 4
jmp 0x423cce
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_closesocket]
sub esp, 4
jmp 0x423bc5
cmp byte [0x745ef7], 0
jne 0x4241e0
cmp byte [0x732fa0], 0
jne 0x4241e0
cmp dword [0x5bc2e0], 2
jle 0x423cce
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], str.Failed_to_getaddrinfo_for__s:_s
mov dword [esp + 4], 0xa00
mov dword [esp], edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], eax
call sym._snprintf_1
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 3
call sym.__applog
jmp 0x423cce
cmp byte [0x745ef7], 0
mov ebp, dword [esp + 0x4c70]
jne 0x424247
cmp byte [0x732fa0], 0
jne 0x424247
mov eax, dword [0x5bc2e0]
test eax, eax
jle 0x424277
mov dword [esp + 8], str.Succeeded_immediate_connect
mov dword [esp + 4], 0xa00
mov dword [esp], edi
call sym._snprintf_1
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 1
call sym.__applog
mov dword [esp + 0x2c50], 0
mov dword [esp + 8], edi
mov dword [esp + 4], 0x8004667e
mov dword [esp], esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
sub esp, 0xc
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, dword [ebp + 0x1a0]
sub esp, 4
test eax, eax
je 0x424a05
cmp dword [ebp + 0x19c], 7
ja case.0x4242cb.2
mov eax, dword [ebp + 0x19c]
jmp dword [eax*4 + 0x5ca150]
mov ecx, 1
mov edx, esi
mov eax, ebp
call sym._socks4_negotiate
lea edx, [esp + 0x250]
test al, al
mov dword [esp + 0x20], edx
je 0x423cce
mov eax, dword [ebp + 0x2c0]
test eax, eax
je 0x42467d
mov dword [ebp + 0x2bc], esi
mov dword [esp + 0x250], 1
mov dword [esp + 0x2c50], 1
mov dword [esp + 8], edi
mov dword [esp + 4], 0x8004667e
mov dword [esp], esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
sub esp, 0xc
mov ebx, dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], 4
mov dword [esp + 8], 8
mov dword [esp + 4], 0xffff
mov dword [esp], esi
mov dword [esp + 0xc], eax
call ebx
sub esp, 0x14
cmp byte [0x745388], 0
jne 0x424394
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], 4
mov dword [esp + 8], 1
mov dword [esp + 4], 6
mov dword [esp], esi
mov dword [esp + 0xc], eax
call ebx
sub esp, 0x14
cmp byte [esp + 0x36], 0
jne 0x424800
mov eax, dword [0x745650]
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 8], str._id_:__d___method_:__mining.configure____params_:____version_rolling_____version_rolling.mask_:___x__
mov dword [esp + 4], 0x2000
mov dword [esp], edi
lea edx, [eax + 1]
mov dword [esp + 0xc], eax
mov dword [0x745650], edx
call sym._snprintf_1
mov ecx, edi
mov edx, dword [ecx]
add ecx, 4
lea eax, [edx - 0x1010101]
not edx
and eax, edx
and eax, 0x80808080
je 0x4243d3
mov edx, eax
shr edx, 0x10
test eax, 0x8080
cmove eax, edx
lea edx, [ecx + 2]
cmove ecx, edx
mov edx, eax
add dl, al
mov edx, edi
mov eax, ebp
sbb ecx, 3
sub ecx, edi
call sym.___stratum_send
test eax, eax
je 0x42478d
cmp byte [0x732fa1], 0
je 0x42446e
cmp byte [0x745ef7], 0
jne 0x42443a
cmp byte [0x732fa0], 0
jne 0x42443a
cmp dword [0x5bc2e0], 3
jle 0x42446e
mov esi, dword [esp + 0x20]
mov dword [esp + 8], str.Failed_to_send_mining.configure
mov dword [esp + 4], 0xa00
mov dword [esp], esi
call sym._snprintf_1
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], 4
call sym.__applog
movzx ecx, byte [esp + 0x36]
mov ebx, 1
cmp byte [esp + 0x37], cl
jb 0x423cdf
cmp byte [0x732fa1], 0
je 0x4244dd
cmp byte [0x745ef7], 0
jne 0x4244a6
cmp byte [0x732fa0], 0
jne 0x4244a6
cmp dword [0x5bc2e0], 3
jle 0x4244dd
lea esi, [esp + 0x2c50]
mov dword [esp + 8], str.Initiate_stratum_failed
mov dword [esp + 4], 0xa00
mov dword [esp], esi
call sym._snprintf_1
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], 4
call sym.__applog
test bl, bl
je 0x4244e9
mov dword [esp], ebp
call sym._suspend_stratum
mov ecx, dword [esp + 0x38]
xor ebx, ebx
test ecx, ecx
je 0x424511
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 4]
cmp eax, 0xffffffff
je 0x424511
sub eax, 1
test eax, eax
mov dword [edx + 4], eax
jne 0x424511
mov dword [esp], edx
call sym._json_delete
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call sym._free
add esp, 0x4c5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
cmp byte [0x732fa1], 0
mov byte [esp + 0x250], 5
mov byte [esp + 0x251], 1
mov byte [esp + 0x252], 0
je 0x4245a5
cmp byte [0x745ef7], 0
jne 0x424561
cmp byte [0x732fa0], 0
je 0x424e91
mov eax, dword [ebp + 0x2d0]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x2cc]
mov dword [esp + 8], str.Attempting_to_negotiate_with__s:_s_SOCKS5_proxy
mov dword [esp + 4], 0xa00
mov dword [esp], edi
mov dword [esp + 0xc], eax
call sym._snprintf_1
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 4
call sym.__applog
lea eax, [esp + 0x250]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp], esi
mov dword [esp + 0x20], eax
mov dword [esp + 4], eax
mov eax, dword [sym.imp.WS2_32.dll_send]
mov dword [esp + 0x24], eax
call eax
sub esp, 0x10
mov ebx, dword [sym.imp.WS2_32.dll_recv]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], edi
mov dword [esp], esi
call ebx
sub esp, 0x10
cmp eax, 0xffffffff
je 0x42460a
cmp byte [esp + 0x2c50], 5
je 0x424ea3
cmp byte [0x745ef7], 0
jne 0x424629
cmp byte [0x732fa0], 0
jne 0x424629
mov eax, dword [0x5bc2e0]
test eax, eax
jle 0x423cce
mov eax, dword [ebp + 0x2d0]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x2cc]
mov dword [esp + 8], str.Bad_response_from__s:_s_SOCKS5_server
mov dword [esp + 0xc], eax
jmp 0x424700
xor ecx, ecx
jmp 0x4242d7
xor ecx, ecx
mov edx, esi
mov eax, ebp
call sym._http_negotiate
lea edx, [esp + 0x250]
test al, al
mov dword [esp + 0x20], edx
je 0x423cce
mov eax, dword [ebp + 0x2c0]
test eax, eax
jne 0x424301
mov dword [esp + 0x10], 0xcfe
mov dword [esp + 0xc], str.setup_stratum_socket
mov dword [esp + 8], str.util.c
mov dword [esp + 4], 1
mov dword [esp], 0x2000
call sym.__cgcalloc
mov dword [ebp + 0x2c4], 0x2000
mov dword [ebp + 0x2c0], eax
jmp 0x424301
mov ecx, 1
jmp 0x424653
cmp byte [0x745ef7], 0
jne 0x4246e4
cmp byte [0x732fa0], 0
jne 0x4246e4
mov eax, dword [0x5bc2e0]
test eax, eax
jle 0x423cce
mov eax, dword [ebp + 0x2d0]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x2cc]
mov dword [esp + 8], str.Unsupported_proxy_type_for__s:_s
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0xa00
mov dword [esp], edi
call sym._snprintf_1
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 1
call sym.__applog
jmp 0x423cce
mov eax, dword [0x731028]
test eax, eax
je 0x424a15
lea edx, [ebp + 0x2d0]
mov dword [ebp + 0x1a0], eax
mov dword [esp], eax
mov dword [esp + 8], edx
lea edx, [ebp + 0x2cc]
mov dword [esp + 4], edx
call sym._extract_sockaddr
mov ebx, dword [ebp + 0x1a0]
mov eax, dword [ebp + 0x2c8]
mov dword [ebp + 0x19c], 5
test ebx, ebx
mov dword [esp + 0x28], eax
jne 0x423c17
mov eax, dword [ebp + 0x2b8]
mov dword [esp + 0x2c], eax
jmp 0x423c2b
mov eax, dword [ebp + 0x2bc]
mov edx, 0x3c
call sym._socket_full.isra.5
test al, al
jne 0x424a24
cmp byte [0x732fa1], 0
je 0x42446e
cmp byte [0x745ef7], 0
jne 0x4247d1
cmp byte [0x732fa0], 0
jne 0x4247d1
cmp dword [0x5bc2e0], 3
jle 0x42446e
mov esi, dword [esp + 0x20]
mov dword [esp + 0xc], str.configure_stratum_mining
mov dword [esp + 8], str.Timed_out_waiting_for_response_in__s
mov dword [esp + 4], 0xa00
mov dword [esp], esi
call sym._snprintf_1
jmp 0x424456
mov eax, ebp
call sym._clear_sock
jmp 0x42439f
call dword [sym.imp.msvcrt.dll__errno]
mov dword [esp + 0x18], 0xc87
mov dword [esp + 0x14], str.setup_stratum_socket
mov dword [esp + 0x10], str.util.c
mov eax, dword [eax]
mov dword [esp + 8], 0x5c9064
mov dword [esp + 4], 0xa00
mov dword [esp], edi
mov dword [esp + 0xc], eax
call sym._snprintf_1
mov dword [esp + 8], 1
mov dword [esp + 4], edi
mov dword [esp], 0
call sym.__applog
mov dword [esp], 1
call sym.__quit
jmp 0x423be3
call dword [sym.imp.msvcrt.dll__errno]
mov dword [esp + 0x18], 0xdd1
mov dword [esp + 0x14], str.initiate_stratum
mov dword [esp + 0x10], str.util.c
mov eax, dword [eax]
mov dword [esp + 8], 0x5c9064
mov dword [esp + 4], 0xa00
mov dword [esp], edi
mov dword [esp + 0xc], eax
call sym._snprintf_1
mov dword [esp + 8], 1
mov dword [esp + 4], edi
mov dword [esp], 0
call sym.__applog
mov dword [esp], 1
call sym.__quit
jmp 0x423d5b
call dword [sym.imp.msvcrt.dll__errno]
mov dword [esp + 0x18], 0xdd1
mov dword [esp + 0x14], str.initiate_stratum
mov dword [esp + 0x10], str.util.c
mov eax, dword [eax]
mov dword [esp + 8], 0x5c90c8
mov dword [esp + 4], 0xa00
mov dword [esp], edi
mov dword [esp + 0xc], eax
call sym._snprintf_1
mov dword [esp + 8], 1
mov dword [esp + 4], edi
mov dword [esp], 0
call sym.__applog
mov dword [esp], 1
call sym.__quit
jmp 0x423d4b
call dword [sym.imp.msvcrt.dll__errno]
mov dword [esp + 0x18], 0xdcd
mov dword [esp + 0x14], str.initiate_stratum
mov dword [esp + 0x10], str.util.c
mov eax, dword [eax]
mov dword [esp + 8], 0x5c9030
mov dword [esp + 4], 0xa00
mov dword [esp], edi
mov dword [esp + 0xc], eax
call sym._snprintf_1
mov dword [esp + 8], 1
mov dword [esp + 4], edi
mov dword [esp], 0
call sym.__applog
mov dword [esp], 1
call sym.__quit
jmp 0x423d0b
call dword [sym.imp.msvcrt.dll__errno]
mov dword [esp + 0x18], 0xdcd
mov dword [esp + 0x14], str.initiate_stratum
mov dword [esp + 0x10], str.util.c
mov eax, dword [eax]
mov dword [esp + 8], 0x5c9098
mov dword [esp + 4], 0xa00
mov dword [esp], edi
mov dword [esp + 0xc], eax
call sym._snprintf_1
mov dword [esp + 8], 1
mov dword [esp + 4], edi
mov dword [esp], 0
call sym.__applog
mov dword [esp], 1
call sym.__quit
jmp 0x423cf5
lea eax, [esp + 0x250]
mov dword [esp + 0x20], eax
jmp 0x4242f3
mov eax, dword [ebp + 0x2c8]
mov dword [esp + 0x28], eax
jmp 0x42477e
mov dword [esp], ebp
call sym._recv_line
test eax, eax
mov ebx, eax
je 0x42446e
lea eax, [esp + 0x154]
mov dword [esp], ebx
mov dword [esp + 4], 0
mov dword [esp + 8], eax
call sym._json_loads
mov dword [esp], ebx
mov esi, eax
mov dword [esp + 0x24], eax
mov ebx, esi
call sym._free
mov dword [esp], esi
mov dword [esp + 4], str.result
call sym._json_object_get
mov dword [esp + 4], 0x5c93a3
mov esi, eax
mov dword [esp], ebx
call sym._json_object_get
test esi, esi
je 0x4252a0
cmp dword [esi], 7
je 0x4252a0
test eax, eax
je 0x425175
cmp dword [eax], 7
je 0x425175
mov dword [esp + 4], 3
mov dword [esp], eax
call sym._json_dumps
mov ebx, eax
cmp byte [0x745ef7], 0
jne 0x424acd
cmp byte [0x732fa0], 0
je 0x424e7f
mov esi, dword [esp + 0x20]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], str.JSON_RPC_decode_failed:__s
mov dword [esp + 4], 0xa00
mov dword [esp], esi
call sym._snprintf_1
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], 3
call sym.__applog
mov dword [esp], ebx
call sym._free
mov eax, dword [esp + 0x24]
test eax, eax
je 0x42446e
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x42446e
mov ecx, dword [esp + 0x24]
sub eax, 1
test eax, eax
mov dword [ecx + 4], eax
jne 0x42446e
xor ebx, ebx
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._json_delete
test bl, bl
je 0x42446e
cmp byte [esp + 0x36], 0
jne 0x424d12
mov eax, dword [ebp + 0x2ec]
test eax, eax
je 0x424d7e
mov edx, dword [0x745650]
lea ebx, [esp + 0xc50]
mov dword [esp + 0xc], eax
mov dword [esp + 4], str._id_:__d___method_:__mining.subscribe____params_:___cgminer_4.12.1_nerdaxe_____s__
mov dword [esp], ebx
lea ecx, [edx + 1]
mov dword [esp + 8], edx
mov dword [0x745650], ecx
call sym._sprintf
mov ecx, ebx
mov edx, dword [ecx]
add ecx, 4
lea eax, [edx - 0x1010101]
not edx
and eax, edx
and eax, 0x80808080
je 0x424b9a
mov edx, eax
shr edx, 0x10
test eax, 0x8080
cmove eax, edx
lea edx, [ecx + 2]
cmove ecx, edx
mov edx, eax
add dl, al
mov edx, ebx
mov eax, ebp
sbb ecx, 3
sub ecx, ebx
call sym.___stratum_send
test eax, eax
je 0x424c3f
cmp byte [0x732fa1], 0
mov ebx, 1
je 0x423cd0
cmp byte [0x745ef7], 0
jne 0x424c0a
cmp byte [0x732fa0], 0
jne 0x424c0a
cmp dword [0x5bc2e0], 3
jle 0x423cd0
mov dword [esp + 8], str.Failed_to_send_s_in_initiate_stratum
mov dword [esp + 4], 0xa00
mov dword [esp], edi
call sym._snprintf_1
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 4
call sym.__applog
jmp 0x42446e
mov eax, dword [ebp + 0x2bc]
mov edx, 0x3c
call sym._socket_full.isra.5
test al, al
je 0x424d40
mov esi, ebp
mov ebp, dword [esp + 0x38]
jmp 0x424cf1
lea eax, [esp + 0x58]
mov dword [esp + 4], 0
mov dword [esp], ebx
mov dword [esp + 8], eax
call sym._json_loads
test eax, eax
mov ebp, eax
je 0x4252bb
mov dword [esp + 4], str.result
mov dword [esp], eax
call sym._json_object_get
mov dword [esp + 4], 0x5c93a3
mov dword [esp], ebp
mov dword [esp + 0x20], eax
call sym._json_object_get
mov edx, dword [esp + 0x20]
mov dword [esp + 0x24], eax
test edx, edx
jne 0x424dac
mov dword [esp + 4], str.method
mov dword [esp], ebp
call sym._json_object_get
test eax, eax
je 0x424e56
mov dword [esp + 4], ebx
mov dword [esp], esi
call sym._parse_method
test al, al
je 0x424e56
mov dword [esp], ebx
call sym._free
mov byte [esp + 0x36], 1
mov dword [esp], esi
call sym._recv_line
test eax, eax
mov ebx, eax
jne 0x424c62
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], eax
mov ebp, esi
jmp 0x42446e
mov eax, dword [0x745650]
lea ebx, [esp + 0xc50]
mov dword [esp + 4], str._id_:__d___method_:__mining.subscribe____params_:___
mov dword [esp], ebx
lea edx, [eax + 1]
mov dword [esp + 8], eax
mov dword [0x745650], edx
call sym._sprintf
jmp 0x424b98
cmp byte [0x732fa1], 0
mov ebx, 1
je 0x423cd0
cmp byte [0x745ef7], 0
jne 0x424d71
cmp byte [0x732fa0], 0
jne 0x424d71
cmp dword [0x5bc2e0], 3
jle 0x423cd0
mov dword [esp + 8], str.Timed_out_waiting_for_response_in_initiate_stratum
jmp 0x424c12
mov eax, dword [0x745650]
lea ebx, [esp + 0xc50]
mov dword [esp + 4], str._id_:__d___method_:__mining.subscribe____params_:___cgminer_4.12.1_nerdaxe__
mov dword [esp], ebx
lea edx, [eax + 1]
mov dword [esp + 8], eax
mov dword [0x745650], edx
call sym._sprintf
jmp 0x424b98
cmp dword [edx], 7
mov dword [esp + 0x3c], ebx
mov ebx, edx
mov dword [esp + 0x38], ebp
mov ebp, esi
mov esi, dword [esp + 0x24]
je 0x424e64
test esi, esi
je 0x425380
cmp dword [esi], 7
je 0x425380
mov dword [esp + 4], 3
mov dword [esp], esi
call sym._json_dumps
mov ebx, eax
cmp byte [0x745ef7], 0
jne 0x424e03
cmp byte [0x732fa0], 0
jne 0x424e03
cmp dword [0x5bc2e0], 2
jle 0x424e3f
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], ebx
mov dword [esp + 8], str.JSON_RPC_decode_of_message__s_failed:__s
mov dword [esp + 4], 0xa00
mov dword [esp], edi
mov dword [esp + 0xc], eax
call sym._snprintf_1
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 3
call sym.__applog
mov dword [esp], ebx
mov ebx, 1
call sym._free
mov byte [esp + 0x36], 1
jmp 0x423cd0
mov dword [esp + 0x38], ebp
mov ebp, esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x3c], ebx
test esi, esi
jne 0x424dd6
mov dword [esp], str._unknown_reason_
call sym._strdup
mov ebx, eax
jmp 0x424de8
cmp dword [0x5bc2e0], 2
jle 0x424b05
jmp 0x424acd
cmp dword [0x5bc2e0], 3
jle 0x4245a5
jmp 0x424561
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], edi
mov dword [esp], esi
call ebx
sub esp, 0x10
cmp eax, 0xffffffff
movsx edx, byte [esp + 0x2c50]
cmovne eax, edx
movsx edx, byte [esp + 0x252]
cmp edx, eax
jne 0x42460a
mov ecx, dword [ebp + 0x2c8]
mov byte [esp + 0x250], 5
mov byte [esp + 0x251], 1
mov byte [esp + 0x252], 0
mov byte [esp + 0x253], 3
mov dword [esp], ecx
mov dword [esp + 0x2c], ecx
call sym._strlen
mov ecx, dword [esp + 0x2c]
cmp eax, 0xff
mov edx, 0xff
cmovle edx, eax
lea eax, [esp + 0x255]
mov dword [esp + 0x14], 0xbee
mov dword [esp + 8], edx
mov dword [esp + 0x10], str.socks5_negotiate
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 0xc], str.util.c
mov byte [esp + 0x254], dl
mov dword [esp + 0x28], edx
call sym.__cg_memcpy
mov eax, dword [ebp + 0x2b8]
mov dword [esp], eax
call sym._atoi
mov edx, dword [esp + 0x28]
mov ecx, eax
shr cx, 8
mov byte [esp + edx + 0x256], al
mov eax, dword [esp + 0x20]
mov byte [esp + edx + 0x255], cl
add edx, 7
mov dword [esp + 0xc], 0
mov dword [esp + 8], edx
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [esp + 0x24]
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 0x24], ebx
call ebx
sub esp, 0x10
cmp eax, 0xffffffff
je 0x42460a
cmp byte [esp + 0x2c50], 5
jne 0x42460a
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], edi
mov dword [esp], esi
call ebx
sub esp, 0x10
cmp eax, 0xffffffff
je 0x42460a
cmp byte [esp + 0x2c50], 0
jne 0x42460a
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], edi
mov dword [esp], esi
call ebx
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], edi
mov dword [esp], esi
call ebx
sub esp, 0x10
cmp eax, 0xffffffff
je 0x42460a
movzx eax, byte [esp + 0x2c50]
cmp al, 1
je 0x4258d1
cmp al, 3
jne 0x42460a
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [esp + 0x24]
sub esp, 0x10
cmp eax, 0xffffffff
je 0x4250c8
movsx edx, byte [esp + 0x2c50]
test edx, edx
jle 0x4250c8
xor ecx, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], edi
mov dword [esp], esi
call ebx
sub esp, 0x10
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
add ecx, 1
cmp edx, ecx
jne 0x425095
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], edi
mov dword [esp], esi
call ebx
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], edi
mov dword [esp], esi
call ebx
sub esp, 0x10
cmp byte [0x732fa1], 0
je 0x4242f3
cmp byte [0x745ef7], 0
jne 0x42512c
cmp byte [0x732fa0], 0
jne 0x42512c
cmp dword [0x5bc2e0], 3
jle 0x4242f3
mov eax, dword [ebp + 0x2d0]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x2cc]
mov dword [esp + 8], str.Success_negotiating_with__s:_s_SOCKS5_proxy
mov dword [esp + 4], 0xa00
mov dword [esp], edi
mov dword [esp + 0xc], eax
call sym._snprintf_1
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 4
call sym.__applog
jmp 0x4242f3
mov dword [esp], esi
call sym._json_object_iter
mov dword [esp], eax
call sym._json_object_iter_key
test eax, eax
mov ebx, eax
mov byte [esp + 0x2c], 0
mov byte [esp + 0x28], 0
je 0x4258ae
mov dword [esp + 0x4c70], ebp
jmp 0x42521c
cmp byte [0x745ef7], 0
jne 0x4251be
cmp byte [0x732fa0], 0
jne 0x4251be
mov ebp, dword [0x5bc2e0]
test ebp, ebp
js 0x4251f6
mov ebp, dword [esp + 0x20]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], str.JSON_RPC_unexpected_mining.configure_value:__s
mov dword [esp + 4], 0xa00
mov dword [esp], ebp
call sym._snprintf_1
mov dword [esp + 8], 0
mov dword [esp + 4], ebp
mov dword [esp], 0
call sym.__applog
mov dword [esp], ebx
call sym._json_object_key_to_iter
mov dword [esp], esi
mov dword [esp + 4], eax
call sym._json_object_iter_next
mov dword [esp], eax
call sym._json_object_iter_key
test eax, eax
mov ebx, eax
je 0x425341
mov dword [esp], ebx
call sym._json_object_key_to_iter
mov dword [esp], eax
call sym._json_object_iter_value
test eax, eax
mov ebp, eax
je 0x425341
mov dword [esp + 4], str.version_rolling
mov dword [esp], ebx
call dword [sym.imp.msvcrt.dll__stricmp]
test eax, eax
jne 0x425258
mov dword [esp], ebx
call sym._strlen
cmp eax, 0xf
je 0x425292
mov dword [esp + 4], str.version_rolling.mask
mov dword [esp], ebx
call dword [sym.imp.msvcrt.dll__stricmp]
test eax, eax
jne 0x4251a2
mov eax, dword [esp + 0x4c70]
mov edx, ebp
call sym._set_vmask
mov edx, dword [esp + 0x4c70]
mov byte [esp + 0x2c], al
mov byte [edx + 0x60], al
jmp 0x4251f6
cmp dword [ebp], 5
sete byte [esp + 0x28]
jmp 0x4251f6
test eax, eax
jne 0x424aa5
mov dword [esp], str._unknown_reason_
call sym._strdup
mov ebx, eax
jmp 0x424ab7
cmp byte [0x745ef7], 0
mov dword [esp + 0x3c], ebx
mov ebp, esi
mov dword [esp + 0x38], eax
jne 0x4252ef
cmp byte [0x732fa0], 0
jne 0x4252ef
cmp dword [0x5bc2e0], 2
jg 0x4252ef
mov ebx, 1
mov byte [esp + 0x36], 1
jmp 0x423cd0
lea eax, [esp + 0xb4]
mov dword [esp + 8], str.JSON_decode_failed__d_:__s
mov dword [esp + 4], 0xa00
mov dword [esp], edi
mov ebx, 1
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc], eax
call sym._snprintf_1
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 3
call sym.__applog
mov byte [esp + 0x36], 1
jmp 0x423cd0
mov eax, dword [esp + 0x24]
movzx ebx, byte [esp + 0x28]
and bl, byte [esp + 0x2c]
mov ebp, dword [esp + 0x4c70]
test eax, eax
je 0x424b49
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x424b49
mov edx, dword [esp + 0x24]
sub eax, 1
test eax, eax
mov dword [edx + 4], eax
jne 0x424b49
jmp 0x424b3d
mov dword [esp + 4], 0
mov dword [esp], ebx
call sym._json_array_get
test eax, eax
mov dword [esp + 0x24], eax
je 0x4253d6
cmp dword [eax], 1
jne 0x4253d6
mov dword [esp], eax
call sym._json_array_size
test eax, eax
mov dword [esp + 0x28], eax
jle 0x4253d6
xor esi, esi
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x24]
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._json_array_get
test eax, eax
mov ebx, eax
je 0x4253d2
cmp dword [eax], 1
je 0x425510
mov ebx, dword [esp + 0x20]
cmp byte [0x732fa1], 0
je 0x42542c
cmp byte [0x745ef7], 0
jne 0x4253fc
cmp byte [0x732fa0], 0
jne 0x4253fc
xor esi, esi
cmp dword [0x5bc2e0], 3
jle 0x42542e
mov dword [esp + 8], str.Failed_to_get_sessionid_in_initiate_stratum
mov dword [esp + 4], 0xa00
mov dword [esp], edi
call sym._snprintf_1
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 4
call sym.__applog
xor esi, esi
mov edx, 1
mov eax, ebx
call sym._json_array_string
mov ecx, 0xd98
mov edx, str.initiate_stratum
mov dword [esp + 0x20], eax
call sym.__valid_hex.constprop.15
test al, al
jne 0x4254bf
cmp byte [0x745ef7], 0
jne 0x42546c
cmp byte [0x732fa0], 0
jne 0x42546c
cmp dword [0x5bc2e0], 2
jle 0x42549c
mov dword [esp + 8], str.Failed_to_get_valid_nonce1_in_initiate_stratum
mov dword [esp + 4], 0xa00
mov dword [esp], edi
call sym._snprintf_1
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 3
call sym.__applog
mov dword [esp], esi
mov ebx, 1
call sym._free
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sym._free
mov byte [esp + 0x36], 1
jmp 0x423cd0
mov dword [esp], ebx
mov dword [esp + 4], 2
call sym._json_array_get
mov dword [esp], eax
call sym._json_integer_value
mov ebx, eax
lea eax, [eax - 2]
cmp eax, 0xe
jbe 0x425570
cmp byte [0x745ef7], 0
jne 0x425500
cmp byte [0x732fa0], 0
jne 0x425500
cmp dword [0x5bc2e0], 2
jle 0x42549c
mov dword [esp + 8], str.Failed_to_get_valid_n2size_in_initiate_stratum
jmp 0x425474
xor edx, edx
call sym.___json_array_string
test eax, eax
je 0x425538
mov dword [esp + 8], 0xd
mov dword [esp + 4], str.mining.notify
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__strnicmp]
test eax, eax
je 0x42554a
add esi, 1
cmp dword [esp + 0x28], esi
jne 0x4253b3
jmp 0x4253d2
mov ecx, ebx
mov edx, 1
mov ebx, dword [esp + 0x20]
mov eax, ecx
call sym._json_array_string
test eax, eax
mov esi, eax
jne 0x42542e
jmp 0x4253d6
test esi, esi
je 0x4255e0
mov eax, dword [ebp + 0x2ec]
test eax, eax
je 0x4255e0
mov dword [esp + 4], eax
mov dword [esp], esi
call sym._strcmp
test eax, eax
jne 0x4255e0
cmp byte [0x745ef7], 0
jne 0x4255a9
cmp byte [0x732fa0], 0
jne 0x4255a9
cmp dword [0x5bc2e0], 1
jle 0x4255e0
mov eax, dword [ebp]
mov dword [esp + 8], str.Pool__d_successfully_negotiated_resume_with_the_same_session_ID
mov dword [esp + 4], 0xa00
mov dword [esp], edi
mov dword [esp + 0xc], eax
call sym._snprintf_1
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 2
call sym.__applog
lea eax, [ebp + 0x1a8]
mov dword [esp], eax
mov dword [esp + 0x24], eax
call dbg.pthread_mutex_lock
test eax, eax
jne 0x42589a
lea eax, [ebp + 0x1ac]
mov dword [esp], eax
mov dword [esp + 0x28], eax
call dbg.pthread_rwlock_wrlock
test eax, eax
jne 0x425886
mov eax, dword [ebp + 0x2ec]
mov dword [ebp + 0x2ec], esi
mov dword [esp], eax
call sym._free
mov eax, dword [ebp + 0x2d4]
mov edx, dword [esp + 0x20]
mov dword [ebp + 0x2d4], edx
mov dword [esp], eax
call sym._free
mov edx, dword [esp + 0x20]
mov dword [esp], edx
call sym._strlen
shr eax, 1
mov dword [ebp + 0x630], eax
mov eax, dword [ebp + 0x2d8]
mov dword [esp], eax
call sym._free
mov dword [esp + 0x10], 0xdb4
mov dword [esp + 0xc], str.initiate_stratum
mov dword [esp + 8], str.util.c
mov dword [esp + 4], 1
mov eax, dword [ebp + 0x630]
mov dword [esp], eax
call sym.__cgcalloc
mov edx, dword [ebp + 0x630]
mov dword [ebp + 0x2d8], eax
mov dword [esp + 8], edx
mov edx, dword [ebp + 0x2d4]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._hex2bin
mov eax, dword [esp + 0x28]
mov dword [ebp + 0x2e8], ebx
mov dword [esp], eax
call dbg.pthread_rwlock_unlock
test eax, eax
jne 0x425872
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call dbg.pthread_mutex_unlock
test eax, eax
jne 0x42580d
call dword [0x5bb9e0]
test esi, esi
je 0x42574f
cmp byte [0x732fa1], 0
je 0x42574f
cmp byte [0x745ef7], 0
jne 0x42570e
cmp byte [0x732fa0], 0
jne 0x42570e
cmp dword [0x5bc2e0], 3
jle 0x42574f
mov eax, dword [ebp + 0x2ec]
mov dword [esp + 0x10], eax
mov eax, dword [ebp]
mov dword [esp + 8], str.Pool__d_stratum_session_id:__s
mov dword [esp + 4], 0xa00
mov dword [esp], edi
mov dword [esp + 0xc], eax
call sym._snprintf_1
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 4
call sym.__applog
mov edx, dword [ebp + 0x2b0]
test edx, edx
je 0x4257fc
fldz
cmp byte [0x745190], 0
mov byte [ebp + 0x2f1], 1
fst qword [ebp + 0x738]
fstp qword [ebp + 0x730]
fld1
fstp qword [ebp + 0x740]
je 0x4257f2
cmp byte [0x732fa1], 0
je 0x4257f2
cmp byte [0x745ef7], 0
jne 0x4257a7
cmp byte [0x732fa0], 0
jne 0x4257a7
cmp dword [0x5bc2e0], 3
jle 0x4257f2
mov eax, dword [ebp + 0x2e8]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x2d4]
mov dword [esp + 0x10], eax
mov eax, dword [ebp]
mov dword [esp + 8], str.Pool__d_confirmed_mining.subscribe_with_extranonce1__s_extran2size__d
mov dword [esp + 4], 0xa00
mov dword [esp], edi
mov dword [esp + 0xc], eax
call sym._snprintf_1
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 4
call sym.__applog
mov ebx, 1
jmp 0x4244f3
mov eax, dword [ebp + 0x2c8]
mov dword [ebp + 0x2b0], eax
jmp 0x42575d
call dword [sym.imp.msvcrt.dll__errno]
mov dword [esp + 0x18], 0xdb7
mov dword [esp + 0x14], str.initiate_stratum
mov dword [esp + 0x10], str.util.c
mov eax, dword [eax]
mov dword [esp + 8], 0x5c9064
mov dword [esp + 4], 0xa00
mov dword [esp], edi
mov dword [esp + 0xc], eax
call sym._snprintf_1
mov dword [esp + 8], 1
mov dword [esp + 4], edi
mov dword [esp], 0
call sym.__applog
mov dword [esp], 1
call sym.__quit
jmp 0x4256e0
mov edx, 0xdb7
mov eax, str.initiate_stratum
call sym.__rw_unlock.part.1.constprop.21
jmp 0x4256cc
mov edx, 0xdab
mov eax, str.initiate_stratum
call sym.__wr_lock.part.2.constprop.17
jmp 0x425614
mov edx, 0xdab
mov eax, str.initiate_stratum
call sym.__mutex_lock.part.3.constprop.20
jmp 0x4255fa
mov eax, dword [esp + 0x24]
test eax, eax
je 0x42446e
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x42446e
xor ebx, ebx
jmp 0x425369
mov edx, 4
mov dword [esp + 0x24], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], edi
mov dword [esp], esi
call ebx
sub esp, 0x10
mov edx, dword [esp + 0x24]
sub edx, 1
jne 0x4258d6
jmp 0x4250c8