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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b06de
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x631350]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x631350]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
and dword [esp + 0x20], 0
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0xc]
mov ebx, ecx
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x50]
mov eax, ebx
mov dword [esp + 0x14], ebx
call fcn.00481704
and dword [esp + 0xa8], 0
push str.RecommendedSettings
mov ecx, eax
call fcn.004107df
test eax, eax
setne byte [esp + 0x1b]
or dword [esp + 0xa8], 0xffffffff
push 1
xor edi, edi
lea esi, [esp + 0x54]
call fcn.00404589
cmp byte [esp + 0x1b], 0
je 0x4c2632
push str.Invalid_RecommendedSettings_node_name
lea esi, [esp + 0x54]
call fcn.004037ae
mov dword [esp + 0xa8], 1
push 0x1b8
mov ecx, str.srcSettingsStorage.cpp
mov eax, esi
call fcn.0040277f
push str.SettingsTarget
lea esi, [esp + 0x38]
call fcn.004037ae
mov eax, esi
push eax
mov esi, ebx
mov dword [esp + 0xac], 2
call fcn.00481637
or dword [esp + 0xa8], 0xffffffff
push 1
xor edi, edi
lea esi, [esp + 0x38]
mov dword [esp + 0x14], eax
call fcn.00404589
cmp dword [esp + 0x10], edi
jne 0x4c269b
push str.RecommendedSettings_doesnt_have_SettingsTarget_attribute
lea esi, [esp + 0x54]
call fcn.004037ae
mov dword [esp + 0xa8], 3
push 0x1bd
mov ecx, str.srcSettingsStorage.cpp
mov eax, esi
jmp 0x4c262d
push 0x50
call fcn.0055db17
pop ecx
test eax, eax
je 0x4c26b4
call fcn.004c08b8
mov ebx, eax
mov dword [esp + 0x1c], ebx
jmp 0x4c26bc
and dword [esp + 0x1c], edi
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x30], ebx
mov esi, dword [esp + 0x10]
push str.SETTINGS_TARGET_REGULAR
lea ecx, [esi + 0x1c]
mov dword [esp + 0xac], 4
call fcn.004107df
test eax, eax
jne 0x4c26e3
inc eax
jmp 0x4c26fb
push str.SETTINGS_TARGET_STREAMING
lea ecx, [esi + 0x1c]
call fcn.004107df
test eax, eax
jne 0x4c2a5a
push 2
pop eax
push str.Version
lea esi, [esp + 0x38]
mov dword [ebx], eax
call fcn.004037ae
mov eax, esi
mov esi, dword [esp + 0x14]
push eax
mov byte [esp + 0xac], 5
call fcn.00481637
push 1
xor edi, edi
lea esi, [esp + 0x38]
mov dword [esp + 0x14], eax
mov byte [esp + 0xac], 4
call fcn.00404589
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4c2767
push str.RecommendedSettings_doesnt_have_Version_attribute
lea esi, [esp + 0x54]
call fcn.004037ae
mov byte [esp + 0xa8], 6
push 0x1c6
mov ecx, str.srcSettingsStorage.cpp
mov eax, esi
jmp 0x4c262d
push 0xffffffffffffffff
lea ecx, [ebx + 4]
add eax, 0x1c
push 0
call fcn.004044c6
push str.Settings
lea esi, [esp + 0x54]
call fcn.004037ae
mov ebx, dword [esp + 0x14]
mov eax, esi
push eax
mov byte [esp + 0xac], 7
call fcn.00481458
push 1
xor edi, edi
mov ebx, eax
mov byte [esp + 0xac], 4
call fcn.00404589
xor esi, esi
cmp ebx, esi
jne 0x4c27d8
push str.RecommendedSettings_doesnt_have_Settings_child
lea esi, [esp + 0x54]
call fcn.004037ae
mov byte [esp + 0xa8], 8
push 0x1cd
mov ecx, str.srcSettingsStorage.cpp
mov eax, esi
jmp 0x4c262d
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
push ebx
lea ecx, [esp + 0x38]
mov byte [esp + 0xac], 9
call fcn.004813e5
mov ebx, dword [esp + 0x38]
sub ebx, dword [esp + 0x34]
mov dword [esp + 0x10], esi
sar ebx, 2
cmp ebx, esi
jbe 0x4c285b
mov eax, dword [esp + 0x1c]
add eax, 0x20
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
push dword [eax + ecx*4]
lea eax, [esp + 0x70]
push eax
call fcn.004c2092
pop ecx
pop ecx
mov esi, dword [esp + 0x24]
mov byte [esp + 0xa8], 0xa
call fcn.0041a168
push 1
xor edi, edi
lea esi, [esp + 0x70]
mov byte [esp + 0xac], 9
call fcn.00404589
inc dword [esp + 0x10]
cmp dword [esp + 0x10], ebx
jb 0x4c2814
lea edi, [esp + 0x34]
call fcn.00481b63
push str.POPS
lea esi, [esp + 0x54]
call fcn.004037ae
mov ebx, dword [esp + 0x14]
mov eax, esi
push eax
mov byte [esp + 0xac], 0xb
call fcn.00481458
push 1
xor edi, edi
mov ebx, eax
mov byte [esp + 0xac], 9
call fcn.00404589
test ebx, ebx
jne 0x4c28c4
push str.RecommendedSettings_doesnt_have_POPS_child
lea esi, [esp + 0x54]
call fcn.004037ae
mov byte [esp + 0xa8], 0xc
push 0x1da
mov ecx, str.srcSettingsStorage.cpp
mov eax, esi
jmp 0x4c262d
push ebx
lea ecx, [esp + 0x38]
call fcn.004813e5
mov ebx, dword [esp + 0x38]
sub ebx, dword [esp + 0x34]
and dword [esp + 0x10], edi
sar ebx, 2
test ebx, ebx
je 0x4c294c
mov eax, dword [esp + 0x1c]
lea ecx, [eax + 0x20]
add eax, 0x30
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
push dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x70]
push eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + ecx*4]
call fcn.004c1531
pop ecx
pop ecx
mov byte [esp + 0xa8], 0xd
mov esi, dword [esp + 0x20]
mov ecx, eax
call fcn.004266ff
lea esi, [esp + 0x88]
mov byte [esp + 0xa8], 9
call fcn.004141a5
push 1
xor edi, edi
lea esi, [esp + 0x70]
call fcn.00404589
inc dword [esp + 0x10]
cmp dword [esp + 0x10], ebx
jb 0x4c28f3
lea edi, [esp + 0x34]
call fcn.00481b63
push 0x5ebf34
lea esi, [esp + 0x54]
call fcn.004037ae
mov ebx, dword [esp + 0x14]
mov eax, esi
push eax
mov byte [esp + 0xac], 0xe
call fcn.00481458
push 1
xor edi, edi
mov ebx, eax
mov byte [esp + 0xac], 9
call fcn.00404589
test ebx, ebx
jne 0x4c29b5
push str.RecommendedSettings_doesnt_have_OPS_child
lea esi, [esp + 0x54]
call fcn.004037ae
mov byte [esp + 0xa8], 0xf
push 0x1e6
mov ecx, str.srcSettingsStorage.cpp
mov eax, esi
jmp 0x4c262d
push ebx
lea ecx, [esp + 0x38]
call fcn.004813e5
mov ebx, dword [esp + 0x38]
sub ebx, dword [esp + 0x34]
and dword [esp + 0x14], edi
mov edi, dword [esp + 0x1c]
sar ebx, 2
test ebx, ebx
je 0x4c2a25
push dword [edi]
mov eax, dword [esp + 0x38]
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
push dword [eax + ecx*4]
lea eax, [esp + 0x78]
push eax
lea ecx, [edi + 0x20]
lea edx, [edi + 0x30]
call fcn.004c1a9a
add esp, 0x10
lea esi, [edi + 0x40]
mov byte [esp + 0xa8], 0x10
call fcn.00426783
lea esi, [esp + 0x78]
mov byte [esp + 0xa8], 9
call fcn.004141a5
inc dword [esp + 0x14]
cmp dword [esp + 0x14], ebx
jb 0x4c29d6
mov ebx, dword [esp + 0x2c]
lea esi, [esp + 0x34]
mov dword [ebx], edi
call fcn.0043460f
mov eax, ebx
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.0055c9d4
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x24], str.Invalid_SettingsTarget_string_in_srcSettingsTarget.cpp:51
call fcn.0055d255
push 0x607704
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x3c], vtable.std::invalid_argument.0
call fcn.00566ed2
int3