Function at 0x411580
Capabilities:
Enumerate pe sections

Disassembly:
push edi
push esi
mov esi, ecx
push ebx
add ecx, 0x50
sub esp, 0x40
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
mov dword [esp], eax
call method.xmrig::String.copy_char_const_
mov eax, dword [ebx]
sub esp, 4
mov ecx, ebx
call dword [eax + 0xc]
xor edx, edx
test al, al
je 0x4115c0
add esp, 0x40
mov eax, edx
pop ebx
pop esi
pop edi
ret 8
mov eax, dword [ebx]
movzx ecx, byte [esi + 4]
mov edx, dword [str.autosave]
mov eax, dword [eax + 8]
cmp eax, method.xmrig::JsonReader.getBool_char_const__bool__const
jne 0x411ba0
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov eax, dword [ebx + 4]
mov dword [esp], eax
call method.xmrig::Json.getBool_rapidjson::GenericValue_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator____const__char_const__bool_
mov byte [esi + 4], al
mov eax, dword [ebx]
movzx ecx, byte [esi + 5]
mov edx, dword [0x7ea184]
mov eax, dword [eax + 8]
cmp eax, method.xmrig::JsonReader.getBool_char_const__bool__const
jne 0x411b83
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov eax, dword [ebx + 4]
mov dword [esp], eax
call method.xmrig::Json.getBool_rapidjson::GenericValue_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator____const__char_const__bool_
mov byte [esi + 5], al
mov eax, dword [ebx]
movzx ecx, byte [esi + 6]
mov edx, dword [str.dry_run]
mov eax, dword [eax + 8]
cmp eax, method.xmrig::JsonReader.getBool_char_const__bool__const
jne 0x411b70
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov eax, dword [ebx + 4]
mov dword [esp], eax
call method.xmrig::Json.getBool_rapidjson::GenericValue_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator____const__char_const__bool_
mov byte [esi + 6], al
mov eax, dword [ebx]
movzx ecx, byte [esi + 7]
mov edx, dword [0x7ea16c]
mov eax, dword [eax + 8]
cmp eax, method.xmrig::JsonReader.getBool_char_const__bool__const
jne 0x411b53
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov eax, dword [ebx + 4]
mov dword [esp], eax
call method.xmrig::Json.getBool_rapidjson::GenericValue_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator____const__char_const__bool_
mov byte [esi + 7], al
mov eax, dword [ebx]
movzx ecx, byte [esi + 9]
mov edx, dword [str.watch]
mov eax, dword [eax + 8]
cmp eax, method.xmrig::JsonReader.getBool_char_const__bool__const
jne 0x411b40
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov eax, dword [ebx + 4]
mov dword [esp], eax
call method.xmrig::Json.getBool_rapidjson::GenericValue_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator____const__char_const__bool_
mov byte [esi + 9], al
mov eax, dword [ebx]
mov edx, dword [0x7ea174]
mov eax, dword [eax + 0x10]
cmp eax, method.xmrig::JsonReader.getString_char_const__char_const__const
jne 0x411b20
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov eax, dword [ebx + 4]
mov dword [esp], eax
call method.xmrig::Json.getString_rapidjson::GenericValue_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator____const__char_const__char_const_
lea ecx, [esi + 0x58]
mov dword [esp], eax
call method.xmrig::String.copy_char_const_
mov eax, dword [ebx]
sub esp, 4
mov edx, dword [0x7ea164]
mov eax, dword [eax + 0x10]
cmp eax, method.xmrig::JsonReader.getString_char_const__char_const__const
jne 0x411b04
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov eax, dword [ebx + 4]
mov dword [esp], eax
call method.xmrig::Json.getString_rapidjson::GenericValue_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator____const__char_const__char_const_
lea ecx, [esi + 0x60]
mov dword [esp], eax
call method.xmrig::String.copy_char_const_
mov eax, dword [ebx]
sub esp, 4
mov ecx, dword [esi + 0x74]
mov edx, dword [str.print_time]
mov eax, dword [eax + 0x38]
cmp eax, method.xmrig::JsonReader.getUint_char_const__unsigned_int__const
jne 0x411af1
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov eax, dword [ebx + 4]
mov dword [esp], eax
call method.xmrig::Json.getUint_rapidjson::GenericValue_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator____const__char_const__unsigned_int_
cmp eax, 0xe10
mov edx, 0xe10
cmova eax, edx
mov edx, dword [0x7ea168]
mov dword [esi + 0x74], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x1c]
cmp eax, method.xmrig::JsonReader.getValue_char_const__const
jne 0x411ae2
mov dword [esp + 4], edx
mov eax, dword [ebx + 4]
mov dword [esp], eax
call method.xmrig::Json.getValue_rapidjson::GenericValue_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator____const__char_const_
lea ecx, [esp + 0x10]
mov dword [esp], eax
call method.xmrig::Title.Title_rapidjson::GenericValue_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator____const_
sub esp, 4
lea ecx, [esi + 0x6c]
movzx eax, byte [esp + 0x10]
mov byte [esi + 0x68], al
lea eax, [esp + 0x14]
mov dword [esp], eax
call method.xmrig::String.move_xmrig::String_
sub esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4117c0
mov dword [esp], eax
call sym.operator_delete___void_
mov eax, dword [ebx]
mov edx, dword [0x7ea158]
mov eax, dword [eax + 0x1c]
cmp eax, method.xmrig::JsonReader.getValue_char_const__const
jne 0x411ad3
mov dword [esp + 4], edx
mov eax, dword [ebx + 4]
mov dword [esp], eax
call method.xmrig::Json.getValue_rapidjson::GenericValue_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator____const__char_const_
lea ecx, [esp + 0x10]
mov dword [esp], eax
call method.xmrig::TlsConfig.TlsConfig_rapidjson::GenericValue_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator____const_
sub esp, 4
lea ecx, [esi + 0x80]
movzx eax, byte [esp + 0x10]
mov byte [esi + 0x78], al
mov eax, dword [esp + 0x14]
mov dword [esi + 0x7c], eax
lea eax, [esp + 0x18]
mov dword [esp], eax
call method.xmrig::String.move_xmrig::String_
sub esp, 4
lea ecx, [esi + 0x88]
lea eax, [esp + 0x20]
mov dword [esp], eax
call method.xmrig::String.move_xmrig::String_
sub esp, 4
lea ecx, [esi + 0x90]
lea eax, [esp + 0x28]
mov dword [esp], eax
call method.xmrig::String.move_xmrig::String_
sub esp, 4
lea ecx, [esi + 0x98]
lea eax, [esp + 0x30]
mov dword [esp], eax
call method.xmrig::String.move_xmrig::String_
sub esp, 4
lea ecx, [esi + 0xa0]
lea eax, [esp + 0x38]
mov dword [esp], eax
call method.xmrig::String.move_xmrig::String_
sub esp, 4
mov eax, dword [esp + 0x38]
test eax, eax
je 0x41187c
mov dword [esp], eax
call sym.operator_delete___void_
mov eax, dword [esp + 0x30]
test eax, eax
je 0x41188c
mov dword [esp], eax
call sym.operator_delete___void_
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41189c
mov dword [esp], eax
call sym.operator_delete___void_
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4118ac
mov dword [esp], eax
call sym.operator_delete___void_
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4118bc
mov dword [esp], eax
call sym.operator_delete___void_
mov eax, dword [ebx]
movzx ecx, byte [0x7ea154]
mov edx, dword [str.colors]
mov eax, dword [eax + 8]
cmp eax, method.xmrig::JsonReader.getBool_char_const__bool__const
jne 0x411ac0
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov eax, dword [ebx + 4]
mov dword [esp], eax
call method.xmrig::Json.getBool_rapidjson::GenericValue_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator____const__char_const__bool_
mov byte [0x7ea154], al
mov eax, dword [ebx]
mov edx, dword [0x7ea160]
mov eax, dword [eax + 0x1c]
cmp eax, method.xmrig::JsonReader.getValue_char_const__const
jne 0x411ab0
mov dword [esp + 4], edx
mov eax, dword [ebx + 4]
mov dword [esp], 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, 8
je 0x411a10
xor eax, eax
cmp dx, 0xa
sete al
mov dword [0x9320d8], eax
mov eax, dword [ebx]
mov edx, dword [0x7ea194]
mov eax, dword [eax + 0x18]
cmp eax, method.xmrig::JsonReader.getObject_char_const__const
jne 0x411a80
mov dword [esp + 4], edx
mov eax, dword [ebx + 4]
mov dword [esp], eax
call method.xmrig::Json.getObject_rapidjson::GenericValue_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator____const__char_const_
mov edi, eax
cmp word [edi + 0xe], 3
je 0x411a25
mov eax, dword [ebx]
lea edi, [esi + 0xc]
mov edx, dword [0x7ea178]
mov eax, dword [eax + 0x18]
cmp eax, method.xmrig::JsonReader.getObject_char_const__const
jne 0x411aa0
mov dword [esp + 4], edx
mov eax, dword [ebx + 4]
mov dword [esp], eax
call method.xmrig::Json.getObject_rapidjson::GenericValue_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator____const__char_const_
mov dword [esp], eax
mov ecx, edi
add esi, 0x24
call method.xmrig::Http.load_rapidjson::GenericValue_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator____const_
sub esp, 4
mov ecx, esi
mov dword [esp], ebx
call method.xmrig::Pools.load_xmrig::IJsonReader_const_
mov eax, dword [ebx]
sub esp, 4
mov edx, dword [0x7ea1a8]
mov eax, dword [eax + 0x18]
cmp eax, method.xmrig::JsonReader.getObject_char_const__const
jne 0x411a91
mov dword [esp + 4], edx
mov eax, dword [ebx + 4]
mov dword [esp], eax
call method.xmrig::Json.getObject_rapidjson::GenericValue_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator____const__char_const_
lea ecx, [esp + 0x10]
mov dword [esp], eax
call method.xmrig::DnsConfig.DnsConfig_rapidjson::GenericValue_rapidjson::UTF8_char___rapidjson::MemoryPoolAllocator_rapidjson::CrtAllocator____const_
sub esp, 4
mov ecx, esi
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov dword [0x7ea19c], edx
mov dword [0x7ea198], eax
call method.xmrig::Pools.active___const
test eax, eax
setne dl
add esp, 0x40
pop ebx
mov eax, edx
pop esi
pop edi
ret 8
and edx, 0x40
je 0x411931
mov eax, dword [eax]
mov dword [0x9320d8], eax
jmp 0x411931
mov eax, dword [0x7ea190]
mov dword [esp + 8], 0
mov dword [esp], edi
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, [esi + 0x40]
mov dword [esp], eax
call method.xmrig::String.copy_char_const_
mov eax, dword [0x7ea18c]
sub esp, 4
mov dword [esp + 8], 0
mov dword [esp], edi
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, [esi + 0x48]
mov dword [esp], eax
call method.xmrig::String.copy_char_const_
sub esp, 4
jmp 0x411963
mov dword [esp], edx
mov ecx, ebx
call eax
sub esp, 4
mov edi, eax
jmp 0x411958
mov dword [esp], edx
mov ecx, ebx
call eax
sub esp, 4
jmp 0x4119cd
mov dword [esp], edx
mov ecx, ebx
call eax
sub esp, 4
jmp 0x41198b
mov dword [esp], edx
mov ecx, ebx
call eax
sub esp, 4
jmp 0x411916
mov dword [esp + 4], ecx
mov dword [esp], edx
mov ecx, ebx
call eax
sub esp, 8
jmp 0x4118ec
mov dword [esp], edx
mov ecx, ebx
call eax
sub esp, 4
jmp 0x4117e5
mov dword [esp], edx
mov ecx, ebx
call eax
sub esp, 4
jmp 0x411787
mov dword [esp + 4], ecx
mov dword [esp], edx
mov ecx, ebx
call eax
sub esp, 8
jmp 0x411752
mov dword [esp + 4], 0
mov dword [esp], edx
mov ecx, ebx
call eax
sub esp, 8
jmp 0x411718
mov dword [esp + 4], 0
mov dword [esp], edx
mov ecx, ebx
call eax
sub esp, 8
jmp 0x4116dd
mov dword [esp + 4], ecx
mov dword [esp], edx
mov ecx, ebx
call eax
sub esp, 8
jmp 0x4116ad
mov dword [esp + 4], ecx
mov dword [esp], edx
mov ecx, ebx
call eax
sub esp, 8
jmp 0x41167d
mov dword [esp + 4], ecx
mov dword [esp], edx
mov ecx, ebx
call eax
sub esp, 8
jmp 0x41164d
mov dword [esp + 4], ecx
mov dword [esp], edx
mov ecx, ebx
call eax
sub esp, 8
jmp 0x41161d
mov dword [esp + 4], ecx
mov dword [esp], edx
mov ecx, ebx
call eax
sub esp, 8
jmp 0x4115ed