Function at 0x42dc40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov eax, 0xd05
mov ebp, esp
push edi
push esi
push ebx
xor edi, edi
mov ebx, ecx
sub esp, 0x5c
mov dword [ecx], 0
mov esi, dword [ebp + 8]
mov byte [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov byte [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x28], 0
mov word [ecx + 0x2c], di
mov dword [ecx + 0x30], 1
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x3c], 0
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x44], 0
mov dword [ecx + 0x48], 0
mov dword [ecx + 0x4c], 0
mov dword [ecx + 0x50], 0
mov dword [ecx + 0x54], 0
mov dword [ecx + 0x58], 0
mov dword [ecx + 0x60], 0x3e8
mov dword [ecx + 0x64], 0
mov dword [ecx + 0x68], 0x3a98
mov dword [ecx + 0x6c], 0
mov word [ecx + 0x88], ax
mov eax, dword [0x7ea1dc]
mov byte [ecx + 0x70], 0
mov dword [ecx + 0x74], 0
mov dword [ecx + 0x78], 0
mov dword [ecx + 0x7c], 0
mov dword [ecx + 0x80], 0
mov dword [ecx + 0x84], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], esi
call method.xmrig::Json.getString_rapidjson::GenericValue_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator____const__char_const__char_const_
lea edi, [ebx + 0x8c]
mov dword [esp], eax
mov ecx, edi
call method.xmrig::Url.Url_char_const_
mov ecx, dword [ebx + 0x94]
sub esp, 4
mov dword [ebx + 0xa8], 0xffffffff
test ecx, ecx
je 0x42dd86
cmp word [ebx + 0xa4], 0
jne 0x42dd90
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov eax, dword [0x7ea1d8]
mov dword [esp + 8], 0
mov dword [esp], esi
mov dword [esp + 4], eax
call method.xmrig::Json.getString_rapidjson::GenericValue_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator____const__char_const__char_const_
lea ecx, [ebx + 0x4c]
mov dword [esp], eax
call method.xmrig::String.copy_char_const_
mov eax, dword [str.spend_secret_key]
sub esp, 4
mov dword [esp + 8], 0
mov dword [esp], esi
mov dword [esp + 4], eax
call method.xmrig::Json.getString_rapidjson::GenericValue_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator____const__char_const__char_const_
lea ecx, [ebx + 0x54]
mov dword [esp], eax
call method.xmrig::String.copy_char_const_
mov eax, dword [0x7ea1f8]
sub esp, 4
mov dword [esp + 8], 0
mov dword [esp], esi
mov dword [esp + 4], eax
call method.xmrig::Json.getString_rapidjson::GenericValue_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator____const__char_const__char_const_
lea ecx, [ebx + 0x3c]
mov dword [esp], eax
call method.xmrig::String.copy_char_const_
mov eax, dword [0x7ea1f4]
sub esp, 4
mov dword [esp + 8], 0
mov dword [esp], esi
mov dword [esp + 4], eax
call method.xmrig::Json.getString_rapidjson::GenericValue_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator____const__char_const__char_const_
lea ecx, [ebx + 0x44]
mov dword [esp], eax
call method.xmrig::String.copy_char_const_
mov eax, dword [str.tls_fingerprint]
sub esp, 4
mov dword [esp + 8], 0
mov dword [esp], esi
mov dword [esp + 4], eax
call method.xmrig::Json.getString_rapidjson::GenericValue_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator____const__char_const__char_const_
lea ecx, [ebx + 0x34]
mov dword [esp], eax
call method.xmrig::String.copy_char_const_
mov eax, dword [str.daemon_poll_interval]
sub esp, 4
mov dword [esp + 8], 0x3e8
mov dword [esp + 0xc], 0
mov dword [esp], esi
mov dword [esp + 4], eax
call method.xmrig::Json.getUint64_rapidjson::GenericValue_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator____const__char_const__unsigned_long_long_
mov dword [ebx + 0x60], eax
mov eax, dword [str.daemon_job_timeout]
mov dword [ebx + 0x64], edx
mov dword [esp + 8], 0x3a98
mov dword [esp + 0xc], 0
mov dword [esp], esi
mov dword [esp + 4], eax
call method.xmrig::Json.getUint64_rapidjson::GenericValue_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator____const__char_const__unsigned_long_long_
mov dword [ebx + 0x68], eax
mov eax, dword [0x7ea220]
mov dword [ebx + 0x6c], edx
mov dword [esp + 8], 0
mov dword [esp], esi
mov dword [esp + 4], eax
call method.xmrig::Json.getString_rapidjson::GenericValue_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator____const__char_const__char_const_
mov dword [esp], eax
call method.xmrig::Algorithm.parse_char_const_
mov dword [ebx], eax
mov eax, dword [str.coin]
mov dword [esp + 8], 0
mov dword [esp], esi
mov dword [esp + 4], eax
call method.xmrig::Json.getString_rapidjson::GenericValue_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator____const__char_const__char_const_
mov dword [esp], eax
call method.xmrig::Coin.parse_char_const_
mov dword [ebx + 8], eax
mov eax, dword [0x7ea1f0]
mov dword [esp + 8], 0
mov dword [esp], esi
mov dword [esp + 4], eax
call method.xmrig::Json.getString_rapidjson::GenericValue_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator____const__char_const__char_const_
lea ecx, [ebp - 0x50]
mov dword [esp], eax
call method.xmrig::Url.Url_char_const_
movzx eax, byte [ebp - 0x50]
sub esp, 4
lea ecx, [ebx + 0x78]
mov byte [ebx + 0x70], al
mov eax, dword [ebp - 0x4c]
mov dword [ebx + 0x74], eax
lea eax, [ebp - 0x48]
mov dword [esp], eax
call method.xmrig::String.move_xmrig::String_
lea eax, [ebp - 0x40]
sub esp, 4
lea ecx, [ebx + 0x80]
mov dword [esp], eax
call method.xmrig::String.move_xmrig::String_
movzx eax, word [ebp - 0x38]
sub esp, 4
mov word [ebx + 0x88], ax
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x42df5b
mov dword [esp], eax
call sym.operator_delete___void_
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x42df6a
mov dword [esp], eax
call sym.operator_delete___void_
mov eax, dword [str.socks5]
mov dword [esp], esi
mov dword [esp + 4], eax
call method.xmrig::Json.getValue_rapidjson::GenericValue_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator____const__char_const_
lea ecx, [ebp - 0x34]
mov dword [esp], eax
call method.xmrig::ProxyUrl.ProxyUrl_rapidjson::GenericValue_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator____const_
movzx eax, byte [ebp - 0x34]
sub esp, 4
lea ecx, [ebx + 0x1c]
mov byte [ebx + 0x14], al
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x18], eax
lea eax, [ebp - 0x2c]
mov dword [esp], eax
call method.xmrig::String.move_xmrig::String_
lea eax, [ebp - 0x24]
sub esp, 4
lea ecx, [ebx + 0x24]
mov dword [esp], eax
call method.xmrig::String.move_xmrig::String_
movzx eax, word [ebp - 0x1c]
sub esp, 4
mov word [ebx + 0x2c], ax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x42dfcf
mov dword [esp], eax
call sym.operator_delete___void_
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x42dfde
mov dword [esp], eax
call sym.operator_delete___void_
mov eax, dword [ebx + 0xa8]
mov dword [esp], esi
mov dword [esp + 8], eax
mov eax, dword [str.daemon_zmq_port]
mov dword [esp + 4], eax
call method.xmrig::Json.getInt_rapidjson::GenericValue_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator____const__char_const__int_
mov dword [ebx + 0xa8], eax
mov eax, dword [0x7ea208]
mov dword [esp + 8], 1
mov dword [esp], esi
mov dword [esp + 4], eax
call method.xmrig::Json.getBool_rapidjson::GenericValue_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator____const__char_const__bool_
mov edx, dword [ebx + 0x30]
mov dword [esp + 8], 0
mov dword [esp], esi
mov ecx, edx
and edx, 0xfffffffe
or ecx, 1
test al, al
mov eax, dword [0x7ea1fc]
cmovne edx, ecx
mov dword [ebx + 0x30], edx
mov dword [esp + 4], eax
call method.xmrig::Json.getBool_rapidjson::GenericValue_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator____const__char_const__bool_
test al, al
je 0x42e130
mov eax, dword [ebx + 0x30]
or eax, 2
mov dword [ebx + 0x30], eax
mov eax, dword [0x7ea1e4]
mov dword [esp + 8], 0
mov dword [esp], esi
mov dword [esp + 4], eax
call method.xmrig::Json.getBool_rapidjson::GenericValue_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator____const__char_const__bool_
mov edx, dword [ebx + 0x30]
test al, al
mov eax, edx
jne 0x42e160
cmp byte [ebx + 0x8c], 0
jne 0x42e160
and eax, 0xfffffffb
mov dword [ebx + 0x30], eax
mov eax, dword [0x7ea1e0]
mov dword [esp + 8], 0
mov dword [esp], esi
mov dword [esp + 4], eax
call method.xmrig::Json.getBool_rapidjson::GenericValue_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator____const__char_const__bool_
mov edx, dword [ebx + 0x30]
mov dword [esp], esi
mov ecx, edx
and edx, 0xfffffff7
or ecx, 8
test al, al
mov eax, dword [0x7ea200]
cmovne edx, ecx
mov dword [ebx + 0x30], edx
mov dword [esp + 4], eax
call method.xmrig::Json.getValue_rapidjson::GenericValue_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator____const__char_const_
movzx edx, word [eax + 0xe]
test dl, 0x20
je 0x42e170
mov edx, dword [eax]
test edx, edx
mov edx, 0
cmovns edx, dword [eax]
mov dword [ebx + 0xc], edx
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x42e0fc
cmp word [ebx + 0x88], 0
jne 0x42e192
mov eax, dword [0x7ea218]
mov dword [esp + 8], 0
mov dword [esp], esi
mov dword [esp + 4], eax
call method.xmrig::Json.getBool_rapidjson::GenericValue_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator____const__char_const__bool_
test al, al
je 0x42dd86
mov dword [ebx + 0x10], 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov eax, dword [ebx + 0x94]
test eax, eax
je 0x42e154
mov edx, dword [str.nicehash.com]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._strstr
test eax, eax
jne 0x42e04c
mov eax, dword [ebx + 0x30]
and eax, 0xfffffffd
jmp 0x42e052
or eax, 4
jmp 0x42e08b
test dl, 8
je 0x42e0e7
cmp dx, 0xa
mov eax, 0
mov edx, 0x3c
cmove eax, edx
mov dword [ebx + 0xc], eax
jmp 0x42e0e7
movzx eax, byte [ebx + 4]
mov dword [ebx + 0x10], 2
mov dword [esp], esi
mov dword [esp + 8], eax
mov eax, dword [str.submit_to_origin]
mov dword [esp + 4], eax
call method.xmrig::Json.getBool_rapidjson::GenericValue_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator____const__char_const__bool_
mov byte [ebx + 4], al
jmp 0x42dd86