Function at 0x4359e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x455198
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4652b0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
call fcn.0042ab40
lea ebx, [ebp + 0x38]
mov esi, eax
call fcn.004044d0
lea ebx, [ebp + 0x3c]
lea eax, [esi + 4]
call fcn.004044d0
lea ebx, [ebp + 0x40]
lea eax, [esi + 8]
call fcn.004044d0
call fcn.0042c1e0
mov eax, dword [eax + 0x24]
mov dword [ebp + 8], eax
call fcn.0042c1e0
mov ecx, dword [eax + 0x18]
mov dword [ebp + 0xc], ecx
call fcn.0042c1e0
mov edx, dword [eax + 0x1c]
mov dword [ebp + 0x10], edx
call fcn.0042c1e0
mov eax, dword [eax + 0x20]
mov dword [ebp + 0x14], eax
call fcn.0042c1e0
mov ecx, dword [eax + 0x24]
mov dword [ebp + 0x18], ecx
call fcn.0042ab40
add eax, 0xc
mov ebx, ebp
call fcn.004044d0
call fcn.0042ab40
add eax, 0x10
lea ebx, [ebp + 4]
call fcn.004044d0
mov eax, dword [ebp + 0x1c]
lea edi, [ebp + 0x1c]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov esi, 0x104
sub eax, esi
or eax, ecx
jge 0x435aae
mov ecx, esi
mov eax, edi
call fcn.00404d80
mov eax, dword [edi]
cmp dword [eax - 8], esi
jge 0x435abf
push 0x80070057
call fcn.004059f0
push esi
mov dword [eax - 0xc], esi
mov edx, dword [edi]
xor ebx, ebx
push eax
push ebx
mov byte [edx + 0x104], bl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [edi]
mov ecx, dword [eax - 8]
cmp eax, ebx
jne 0x435ae2
xor eax, eax
jmp 0x435af0
push ecx
push eax
call fcn.0043ecbd
add esp, 8
cmp eax, ebx
jl 0x435ab5
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x435ab5
mov dword [ecx - 0xc], eax
mov ecx, dword [edi]
mov byte [eax + ecx], bl
mov eax, dword [edi]
push 0x5c
push eax
call fcn.0043e04e
add esp, 8
cmp eax, ebx
jne 0x435b15
or eax, 0xffffffff
jmp 0x435b17
sub eax, dword [edi]
lea ecx, [esp + 0x14]
mov edx, edi
call fcn.00427400
mov dword [esp + 0x28], ebx
mov ebx, edi
call fcn.004044d0
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x435b55
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0x20]
cmp dword [ecx - 0xc], 0
lea edi, [ebp + 0x20]
jne 0x435bf3
mov eax, ecx
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, esi
or eax, ecx
jge 0x435b84
mov ecx, esi
mov eax, edi
call fcn.00404d80
mov ebx, dword [edi]
cmp dword [ebx - 8], esi
jge 0x435b95
push 0x80070057
call fcn.004059f0
mov dword [ebx - 0xc], esi
mov edx, dword [edi]
mov byte [edx + 0x104], 0
call fcn.00438f20
mov eax, ebx
call fcn.004377a0
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x435bc8
push ecx
push eax
call fcn.0043ecbd
add esp, 8
test eax, eax
jl 0x435ab5
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x435ab5
mov dword [ecx - 0xc], eax
mov ecx, dword [edi]
mov byte [eax + ecx], 0
mov eax, edi
call fcn.004041b0
push str._rsafebrowser
push edi
mov edx, 0xd
call fcn.00404c50
mov eax, dword [ebp + 0x24]
lea ebx, [ebp + 0x24]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, esi
or eax, ecx
jge 0x435c16
mov ecx, esi
mov eax, ebx
call fcn.00404d80
mov esi, dword [ebx]
mov eax, 0x104
cmp dword [esi - 8], eax
mov dword [esp + 0x18], esi
jge 0x435c30
push 0x80070057
call fcn.004059f0
mov dword [esi - 0xc], eax
mov edx, dword [ebx]
mov byte [edx + 0x104], 0
mov edi, dword [0x568c98]
test edi, edi
jne 0x435c87
push 0xe58
call fcn.0043e9a7
mov edi, eax
add esp, 4
test edi, edi
jne 0x435c6e
xor al, al
mov byte [esp + 0x30], al
push 0x45ff24
lea eax, [esp + 0x34]
push eax
call fcn.0044143b
lea esi, [edi + 0xc]
mov dword [edi + 4], vtable.CQuickLinkMgr.0
call fcn.00436770
mov esi, dword [esp + 0x18]
mov dword [0x568c98], edi
mov dword [esp + 0x18], edi
call fcn.00438f70
mov edx, edi
push esi
add edx, 0xc
mov ecx, str._DATADIR_
call fcn.004368d0
mov eax, dword [ebx]
mov ecx, dword [eax - 8]
test eax, eax
je 0x435cbb
push ecx
push eax
call fcn.0043ecbd
add esp, 8
test eax, eax
jl 0x435ab5
mov ecx, dword [ebx]
cmp eax, dword [ecx - 8]
jg 0x435ab5
mov dword [ecx - 0xc], eax
mov ecx, dword [ebx]
mov byte [eax + ecx], 0
call dword [sym.imp.KERNEL32.dll_GetACP]
mov dword [ebp + 0x30], eax
call fcn.0042ab40
xor edx, edx
cmp dword [eax + 0x14], edx
lea edi, [ebp + 0x34]
sete dl
mov ecx, 1
mov esi, 0x104
lea edx, [edx + edx + 1]
mov dword [ebp + 0x28], edx
mov eax, dword [edi]
sub ecx, dword [eax - 4]
sub eax, 0x10
mov eax, dword [eax + 8]
sub eax, esi
or eax, ecx
jge 0x435d13
mov ecx, esi
mov eax, edi
call fcn.00404d80
mov ebx, dword [edi]
cmp dword [ebx - 8], esi
jge 0x435d24
push 0x80070057
call fcn.004059f0
mov dword [ebx - 0xc], esi
mov eax, dword [edi]
mov byte [eax + 0x104], 0
cmp dword [0x568c98], 0
jne 0x435d76
push 0xe58
call fcn.0043e9a7
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x435d61
push 0x45ff24
lea ecx, [esp + 0x34]
xor al, al
push ecx
mov byte [esp + 0x38], al
call fcn.0044143b
lea esi, [ebp + 0xc]
mov dword [ebp + 4], vtable.CQuickLinkMgr.0
call fcn.00436770
mov dword [0x568c98], ebp
mov eax, ebx
call fcn.004377a0
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x435d98
push ecx
push eax
call fcn.0043ecbd
add esp, 8
test eax, eax
jl 0x435ab5
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x435ab5
mov dword [ecx - 0xc], eax
mov edx, dword [edi]
mov byte [eax + edx], 0
call fcn.0042e900
push str.RisingSettings_
push edi
mov edx, 0x11
call fcn.00404c50
push 0x4581b8
call fcn.0042ab40
mov ecx, eax
lea eax, [esp + 0x34]
add ecx, 0xc
push eax
call fcn.00423660
add esp, 8
mov dword [esp + 0x28], 1
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
push eax
push edi
call fcn.00404c50
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435e19
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0042ab40
mov esi, eax
mov eax, dword [esi + 0x10]
add esi, 0x10
cmp dword [eax - 0xc], 0
jle 0x435ecf
push 0x2e
push eax
call fcn.0043e121
add esp, 8
test eax, eax
je 0x435ecf
sub eax, dword [esi]
cmp eax, 0xffffffff
je 0x435ecf
call fcn.0042ab40
mov esi, eax
mov eax, dword [esi + 0x10]
add esi, 0x10
cmp dword [eax - 0xc], 0
jg 0x435e66
or esi, 0xffffffff
jmp 0x435e7e
push 0x2e
push eax
call fcn.0043e121
add esp, 8
test eax, eax
jne 0x435e7a
or esi, 0xffffffff
jmp 0x435e7e
sub eax, dword [esi]
mov esi, eax
call fcn.0042ab40
mov edx, eax
add edx, 0x10
mov eax, esi
lea ecx, [esp + 0x1c]
call fcn.00427400
mov dword [esp + 0x28], 2
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
push eax
push edi
call fcn.00404c50
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435ecf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4