Function at 0x423780
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x484d87
mov eax, dword fs:[0]
push eax
sub esp, 0x850
mov eax, dword [0x4a4720]
xor eax, esp
mov dword [esp + 0x848], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4720]
xor eax, esp
push eax
lea eax, [esp + 0x864]
mov dword fs:[0], eax
mov esi, dword [esp + 0x874]
mov eax, dword [esp + 0x878]
mov ebp, dword [esp + 0x87c]
push str.Wow64DisableWow64FsRedirection
mov ebx, ecx
xor edi, edi
push str.kernel32
mov dword [esp + 0x50], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x5c], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x50], eax
cmp eax, edi
je 0x423806
lea ecx, [esp + 0x54]
push ecx
call eax
mov dword [esp + 0x86c], edi
mov dword [esp + 0x44], edi
call fcn.004440b8
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x42382b
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
mov byte [esp + 0x86c], 1
call fcn.004440b8
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x42385d
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x86c], 2
call fcn.004440b8
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x42388f
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
mov byte [esp + 0x86c], 3
call fcn.004440b8
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4238c1
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x40], eax
mov byte [esp + 0x86c], 4
call fcn.004440b8
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4238f3
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x86c], 5
call fcn.004440b8
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x423925
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
push 1
lea ecx, [esp + 0x34]
push ecx
push ecx
mov byte [esp + 0x878], 6
mov ecx, esp
mov dword [esp + 0x38], esp
push str.strIniPath
call fcn.00401ed0
push esi
mov edi, ebp
call fcn.0042e350
mov dword [esp + 0x28], eax
test eax, eax
jne 0x423a95
mov edi, 0xa0000001
lea esi, [esp + 0x18]
call fcn.00414000
mov byte [esp + 0x86c], 7
push eax
mov ecx, ebp
call fcn.00407570
mov byte [esp + 0x86c], 6
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4239af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x86c], 5
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [ecx], 0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4239e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x86c], 4
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423a09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x86c], 3
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423a31
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x86c], 2
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423a59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x86c], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423a81
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x86c], 0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
jmp 0x4242e1
push 1
lea ecx, [esp + 0x28]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.strSection
call fcn.00401ed0
push esi
mov edi, ebp
call fcn.0042e350
mov dword [esp + 0x28], eax
test eax, eax
jne 0x423ad8
mov edi, 0xa0000001
lea esi, [esp + 0x18]
call fcn.00414000
mov byte [esp + 0x86c], 8
jmp 0x42397f
push 1
lea ecx, [esp + 0x38]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.strKey
call fcn.00401ed0
push esi
mov edi, ebp
call fcn.0042e350
mov dword [esp + 0x28], eax
test eax, eax
jne 0x423b1b
mov edi, 0xa0000001
lea esi, [esp + 0x18]
call fcn.00414000
mov byte [esp + 0x86c], 9
jmp 0x42397f
push 1
lea ecx, [esp + 0x44]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.iValueType
call fcn.00401ed0
push esi
mov edi, ebp
call fcn.0042e350
mov dword [esp + 0x28], eax
test eax, eax
jne 0x423b5e
mov edi, 0xa0000001
lea esi, [esp + 0x18]
call fcn.00414000
mov byte [esp + 0x86c], 0xa
jmp 0x42397f
lea ecx, [esp + 0x18]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x48e248
call fcn.00401ed0
mov byte [esp + 0x874], 0xb
mov esi, dword [esp + 0x48]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x24], esp
mov ebx, esp
mov dword [esp + 0x48], esi
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x423bb0
cmp eax, dword [esi]
jne 0x423bb0
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x423bee
mov edx, dword [eax]
mov edx, dword [edx]
mov edi, esi
mov ecx, dword [edi + 4]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
jne 0x423bcb
call fcn.004303e0
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 4]
lea ecx, [eax + eax + 2]
push ecx
add edi, 0x10
lea edx, [eax + eax + 2]
push edi
push edx
lea eax, [esi + 0x10]
push eax
call fcn.00461715
add esp, 0x10
add esi, 0x10
mov dword [ebx], esi
mov byte [esp + 0x878], 6
call fcn.0043eb10
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp eax, 1
jne 0x423d47
push ebp
lea ecx, [esp + 0x48]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.strValue
call fcn.00401ed0
mov edx, dword [esp + 0x880]
mov ecx, dword [esp + 0x54]
push edx
call fcn.0042e200
mov dword [esp + 0x28], eax
test eax, eax
jne 0x423cf5
mov edi, 0xa0000001
lea esi, [esp + 0x18]
call fcn.00414000
mov byte [esp + 0x86c], 0xc
push eax
mov ecx, ebp
call fcn.00407570
mov byte [esp + 0x86c], 6
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423c8a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x86c], 5
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [ecx], 0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x423cbc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x86c], 4
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423ce4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x86c], 3
jmp 0x423a18
push 1
lea ecx, [esp + 0x24]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.strValue
call fcn.00401ed0
mov edx, dword [esp + 0x880]
mov ebx, dword [esp + 0x54]
push edx
mov edi, ebp
call fcn.0042e350
mov dword [esp + 0x28], eax
test eax, eax
jne 0x423de9
mov edi, 0xa0000001
lea esi, [esp + 0x18]
call fcn.00414000
mov byte [esp + 0x86c], 0xd
jmp 0x423c5a
cmp eax, 5
jne 0x423de9
push ebp
lea ecx, [esp + 0x48]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.iValue
call fcn.00401ed0
mov edx, dword [esp + 0x880]
mov ecx, dword [esp + 0x54]
push edx
call fcn.0042e200
mov dword [esp + 0x28], eax
test eax, eax
jne 0x423d9b
mov edi, 0xa0000001
lea esi, [esp + 0x18]
call fcn.00414000
mov byte [esp + 0x86c], 0xe
jmp 0x423c5a
push 1
lea ecx, [esp + 0x24]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.iValue
call fcn.00401ed0
mov edx, dword [esp + 0x880]
mov ebx, dword [esp + 0x54]
push edx
mov edi, ebp
call fcn.0042e350
mov dword [esp + 0x28], eax
test eax, eax
jne 0x423de9
mov edi, 0xa0000001
lea esi, [esp + 0x18]
call fcn.00414000
mov byte [esp + 0x86c], 0xf
jmp 0x423c5a
xor ecx, ecx
push 0x7fe
push ecx
lea edx, [esp + 0x66]
push edx
mov word [esp + 0x68], cx
call fcn.00464a00
mov esi, dword [esp + 0x3c]
add esp, 8
mov dword [esp + 0x30], esp
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
add esi, 0xfffffff0
mov ebx, esp
mov dword [esp + 0x50], esi
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x423e38
cmp eax, dword [esi]
jne 0x423e38
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x423e7a
mov edx, dword [eax]
mov edx, dword [edx]
mov edi, esi
mov ecx, dword [edi + 4]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
jne 0x423e53
call fcn.004303e0
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 4]
lea ecx, [eax + eax + 2]
push ecx
add edi, 0x10
lea edx, [eax + eax + 2]
push edi
push edx
lea eax, [esi + 0x10]
push eax
call fcn.00461715
mov edi, dword [esp + 0x60]
add esp, 0x10
add esi, 0x10
mov dword [ebx], esi
lea esi, [esp + 0x30]
call fcn.0043d140
add esp, 4
push eax
mov byte [esp + 0x870], 0x10
push ecx
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [esp + 0x60], esp
mov ebx, esp
call eax
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
jl 0x423ebe
cmp eax, dword [edi]
jne 0x423ebe
mov esi, edi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x423efa
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
jne 0x423ed7
call fcn.004303e0
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 4]
lea ecx, [eax + eax + 2]
push ecx
add edi, 0x10
lea edx, [eax + eax + 2]
push edi
push edx
lea eax, [esi + 0x10]
push eax
call fcn.00461715
add esp, 0x10
add esi, 0x10
mov dword [ebx], esi
lea esi, [esp + 0x30]
call fcn.0043d220
add esp, 4
push eax
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x878], 0x11
call fcn.0040d8d0
add esp, 0xc
mov byte [esp + 0x86c], 0x12
mov ecx, dword [eax]
mov esi, dword [esp + 0x1c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x423f80
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x423f72
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x423f72
push eax
call fcn.00401fe0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x423f69
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x1c], ebx
jmp 0x423f80
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.00401da0
mov byte [esp + 0x86c], 0x11
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423fa8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x86c], 0x10
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423fd0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x86c], 6
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423ff8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x28]
push 0x400
lea edx, [esp + 0x64]
push edx
push ebx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x42404b
lea eax, [esp + 0x5c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x424027
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x28]
call fcn.00401da0
mov ebx, dword [esp + 0x20]
jmp 0x4240a4
cmp dword [ebx - 0xc], 0
mov esi, dword [ebx - 0x10]
lea eax, [ebx - 0x10]
je 0x4240a4
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
jge 0x42407e
cmp dword [ebx - 8], 0
jge 0x424070
push 0x80070057
call fcn.00401fc0
xor eax, eax
mov dword [ebx - 0xc], 0
mov word [ebx], ax
jmp 0x4240a4
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424094
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x20], ebx
call fcn.004440b8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4240be
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x870], 0x13
push ecx
mov ecx, dword [ebx - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add ebx, 0xfffffff0
mov dword [esp + 0x60], esp
mov edi, esp
call eax
cmp dword [ebx + 0xc], 0
lea edx, [ebx + 0xc]
jl 0x424109
cmp eax, dword [ebx]
jne 0x424109
mov esi, ebx
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x424145
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
jne 0x424122
call fcn.004303e0
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebx + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [esi + 0x10]
push ecx
call fcn.00461715
add esp, 0x10
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
push edx
add esi, 0x10
push eax
mov dword [edi], esi
call fcn.0042ec40
mov dword [esp + 0x28], eax
test eax, eax
jne 0x4241cc
mov ecx, dword [esp + 0x874]
mov edx, dword [ecx + 0x10]
mov eax, dword [esp + 0x38]
xor edi, edi
lea esi, [esp + 0x44]
mov dword [eax], edx
call fcn.00414000
mov ecx, dword [esp + 0x874]
mov byte [esp + 0x86c], 0x14
mov eax, dword [ecx + 0x2c]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x1c]
push edx
push ecx
push eax
push ebp
call fcn.00403800
mov byte [esp + 0x87c], 0x13
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
add esp, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4241ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4241ef
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x874]
mov dword [ecx], 2
mov ecx, dword [esp + 0x1c]
mov eax, dword [edx + 0x30]
push ecx
push eax
push ebp
call fcn.00403800
add esp, 0xc
mov byte [esp + 0x86c], 6
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x424217
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x86c], 5
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 0x42423f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x86c], 4
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424260
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x86c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424285
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x86c], 2
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4242ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x86c], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4242d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x86c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4242fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x86c], 0xffffffff
cmp dword [esp + 0x50], 0
je 0x42432e
push str.Wow64RevertWow64FsRedirection
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42432e
mov ecx, dword [esp + 0x54]
push ecx
call eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x864]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x848]
xor ecx, esp
call fcn.00461706
add esp, 0x85c
ret