Function at 0x426310
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573198
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x5d1614]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 4], 0
mov eax, dword [ebx + 8]
test eax, eax
jne 0x426369
lea esi, [ebp + 0xc]
call fcn.00421b50
mov eax, SysReAllocString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
jle 0x4266dd
mov eax, dword [ebx + 4]
push 0xe
lea ecx, [eax + 0x18]
push str.ManualLauncher
call fcn.00401e60
cmp dword [ebx + 8], 0
jle 0x4266dd
mov eax, dword [ebx + 4]
sub esp, 0x28
mov dword [eax + 0x1c], 0x3d
mov eax, esp
mov dword [ebp - 0x28], esp
push eax
lea edi, [ebp + 0xc]
call fcn.00424140
mov ecx, dword [ebp + 8]
push ecx
call fcn.00422ea0
test eax, eax
jne 0x426da6
cmp dword [ebx + 8], eax
jle 0x4266dd
mov esi, dword [ebx + 4]
mov eax, dword [esi + 0x30]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.CHK_LVL
push str.RelatedModule
call edi
mov dword [esi + 0x60], eax
cmp dword [ebx + 8], 0
jle 0x4266dd
mov esi, dword [ebx + 4]
mov eax, dword [esi + 0x30]
push eax
push 0
push str.DL_LVL
push str.RelatedModule
call edi
lea edx, [ebp - 0x28]
push edx
mov dword [esi + 0x64], eax
call fcn.0040bf50
mov byte [ebp - 4], 1
xor edi, edi
cmp dword [ebp + 0x10], 2
jne 0x42641a
mov edi, 1
mov eax, dword [ebp + 0xc]
push edi
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x18], esp
mov esi, esp
push eax
call fcn.00401fe0
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x1c], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.KeyName
call fcn.00401a30
push ecx
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.RelatedModule
call fcn.00401a30
mov byte [ebp - 4], 4
cmp dword [ebx + 8], 0
jle 0x4266dd
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x30]
push ecx
sub eax, 0x10
mov dword [ebp - 0x2c], esp
mov esi, esp
push eax
call fcn.00401fe0
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x1c]
add esp, 4
push eax
mov byte [ebp - 4], 2
call fcn.00407a10
add esp, 0x10
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0040bfd0
lea edx, [ebp - 0x20]
push edx
mov byte [ebp - 4], 5
call fcn.0040bf50
mov byte [ebp - 4], 6
mov eax, dword [ebp + 0xc]
push edi
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x2c], esp
mov esi, esp
push eax
call fcn.00401fe0
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov dword [ebp - 0x18], esp
mov esi, esp
push eax
call fcn.00401fe0
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.0040bfd0
mov byte [ebp - 4], 8
cmp dword [ebx + 8], 0
jle 0x4266dd
mov ecx, dword [ebx + 4]
add ecx, 0x58
push eax
call fcn.00401f10
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42653e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor edi, edi
cmp dword [ebx + 8], edi
jle 0x4266dd
mov esi, dword [ebx + 4]
mov eax, dword [esi + 0x30]
push eax
push edi
push 0x5a4d58
push str.RelatedModule
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x5a4d60
mov dword [esi + 0x5c], eax
call fcn.00401a30
push ecx
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.RelatedModule
call fcn.00401a30
mov byte [ebp - 4], 0xa
cmp dword [ebx + 8], edi
jle 0x4266dd
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x30]
push ecx
sub eax, 0x10
mov dword [ebp - 0x14], esp
mov esi, esp
push eax
call fcn.00401fe0
add eax, 0x10
lea ecx, [ebp - 0x1c]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 6
call fcn.00407a10
add esp, 0x10
mov byte [ebp - 4], 0xb
cmp dword [ebx + 8], edi
jle 0x4266dd
mov ecx, dword [ebx + 4]
add ecx, 0x6c
push eax
call fcn.00401f10
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4265fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebx + 8], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
jle 0x4266dd
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x1c]
push ecx
lea esi, [eax + 0x40]
lea ecx, [ebp - 0x18]
call fcn.00425720
xor edi, edi
cmp eax, edi
je 0x426639
cmp dword [ebx + 8], edi
jle 0x4266dd
mov eax, dword [ebx + 4]
lea esi, [eax + 0x40]
call fcn.00429970
cmp dword [ebp - 0x18], edi
jne 0x4266e2
cmp dword [ebp - 0x1c], edi
jne 0x4266e2
cmp dword [ebx + 8], edi
jle 0x4266dd
mov eax, dword [ebx + 4]
mov dword [eax + 0xac], edi
cmp dword [ebx + 8], edi
jle 0x4266dd
mov ebx, dword [ebx + 4]
mov dword [ebx + 0xa8], edi
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42668e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4266b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426da6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x426da6
call fcn.00447de9
cmp dword [ebx + 8], edi
jle 0x4266dd
mov esi, dword [ebx + 4]
mov eax, dword [esi + 0x90]
mov ecx, dword [eax - 0xc]
cmp ecx, edi
jl 0x426855
push str._LNG
push eax
call fcn.00542215
add esp, 8
cmp eax, edi
je 0x426855
sub eax, dword [esi + 0x90]
sar eax, 1
js 0x426855
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x5a4d7c
call fcn.00401a30
push ecx
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.DownDLLLog
call fcn.00401a30
mov byte [ebp - 4], 0xd
cmp dword [ebx + 8], edi
jle 0x4266dd
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x70]
push ecx
sub eax, 0x10
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.00401fe0
add eax, 0x10
lea ecx, [ebp - 0x10]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 6
call fcn.00407a10
add esp, 0x10
lea ecx, [ebp - 0x14]
call fcn.00401c40
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x10]
push 0x5a04b0
cmp dword [edx - 0xc], edi
je 0x4267ea
lea ecx, [ebp - 0x10]
call fcn.00406480
test eax, eax
je 0x4267d7
push str.Japanese
lea ecx, [ebp - 0x10]
call fcn.00406480
test eax, eax
je 0x4267d7
push 0x5a4d84
lea ecx, [ebp - 0x10]
call fcn.00406480
test eax, eax
jne 0x4267d7
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
push str.__s_
push ecx
call fcn.00402800
add esp, 0xc
jmp 0x4267f2
lea edx, [ebp - 0x14]
push 0x5a04b0
push edx
call fcn.00419170
add esp, 8
jmp 0x4267f2
lea ecx, [ebp - 0x14]
call fcn.004019e0
cmp dword [ebx + 8], edi
jle 0x4266dd
mov esi, dword [ebp - 0x14]
mov eax, dword [ebx + 4]
push esi
push str._LNG
lea ecx, [eax + 0x90]
call fcn.0040ad60
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426832
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426855
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x18]
cmp ecx, edi
je 0x426862
inc dword [0x5da174]
cmp dword [ebx + 8], edi
jle 0x4266dd
mov eax, dword [ebx + 4]
cmp dword [eax + 0xa8], edi
je 0x42687c
inc dword [0x5da16c]
cmp ecx, edi
je 0x426b6b
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.NewVersion
call fcn.00401a30
push ecx
mov byte [ebp - 4], 0x10
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.DownDLLLog
call fcn.00401a30
mov byte [ebp - 4], 0x11
cmp dword [ebx + 8], edi
jle 0x4266dd
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x70]
push ecx
sub eax, 0x10
mov dword [ebp - 0x10], esp
mov esi, esp
push eax
call fcn.00401fe0
add eax, 0x10
lea ecx, [ebp - 0x14]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 6
call fcn.00407a10
add esp, 0x10
mov byte [ebp - 4], 0x12
cmp dword [ebx + 8], edi
jle 0x4266dd
mov ecx, dword [ebx + 4]
add ecx, 0x94
push eax
call fcn.00401f10
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x426921
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebx + 8], edi
jle 0x4266dd
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.CurrentVersion
call fcn.00401a30
push ecx
mov byte [ebp - 4], 0x13
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.DownDLLLog
call fcn.00401a30
mov byte [ebp - 4], 0x14
cmp dword [ebx + 8], edi
jle 0x4266dd
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x70]
push ecx
sub eax, 0x10
mov dword [ebp - 0x10], esp
mov esi, esp
push eax
call fcn.00401fe0
add eax, 0x10
lea ecx, [ebp - 0x14]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 6
call fcn.00407a10
add esp, 0x10
mov byte [ebp - 4], 0x15
cmp dword [ebx + 8], edi
jle 0x4266dd
mov ecx, dword [ebx + 4]
add ecx, 0x98
push eax
call fcn.00401f10
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4269c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebx + 8], edi
jle 0x4266dd
mov eax, dword [ebx + 4]
cmp dword [eax + 0xac], edi
je 0x4269e7
mov ecx, dword [eax + 0x7c]
add ecx, dword [eax + 0x3c]
mov dword [eax + 0xa4], ecx
cmp dword [ebx + 8], edi
jle 0x4266dd
mov eax, dword [ebx + 4]
cmp dword [eax + 0xac], edi
jne 0x426a04
mov ecx, dword [eax + 0x7c]
mov dword [eax + 0xa4], ecx
cmp dword [ebx + 8], edi
jle 0x4266dd
mov eax, dword [ebx + 4]
cmp dword [eax + 0xac], edi
je 0x426aa2
mov eax, dword [ebp + 8]
cmp dword [eax + 0xa4], edi
jne 0x426aa2
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.UpdateInfoLocation
call fcn.00401a30
push ecx
mov byte [ebp - 4], 0x1c
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.DownDLLLog
call fcn.00401a30
mov byte [ebp - 4], 0x1d
cmp dword [ebx + 8], edi
jle 0x4266dd
mov eax, dword [ebx + 4]
push ecx
add eax, 0x70
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.00402050
lea ecx, [ebp + 8]
push ecx
mov byte [ebp - 4], 6
call fcn.00407a10
add esp, 0x10
mov byte [ebp - 4], 0x1e
cmp dword [ebx + 8], edi
jle 0x4266dd
mov ecx, dword [ebx + 4]
push eax
add ecx, 0xa0
call fcn.00401f80
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
call fcn.00401fa0
cmp dword [ebx + 8], edi
jle 0x4266dd
mov eax, dword [ebx + 4]
cmp dword [eax + 0xac], edi
jne 0x426b31
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.UpdateInfoLocation
call fcn.00401a30
push ecx
mov byte [ebp - 4], 0x1f
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.DownDLLLog
call fcn.00401a30
mov byte [ebp - 4], 0x20
cmp dword [ebx + 8], edi
jle 0x4266dd
mov eax, dword [ebx + 4]
push ecx
add eax, 0x70
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.00402050
lea edx, [ebp + 8]
push edx
mov byte [ebp - 4], 6
call fcn.00407a10
add esp, 0x10
mov byte [ebp - 4], 0x21
cmp dword [ebx + 8], edi
jle 0x4266dd
mov ecx, dword [ebx + 4]
add ecx, 0xa0
push eax
call fcn.00401f10
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
call fcn.00401fa0
cmp dword [ebx + 8], edi
jle 0x4266dd
mov eax, dword [ebx + 4]
mov edx, 1
mov dword [eax + 0x80], edx
cmp dword [ebx + 8], edi
jle 0x4266dd
mov eax, dword [ebx + 4]
cmp dword [eax + 0xac], edi
jne 0x426d4e
mov dword [eax + 0x84], edx
jmp 0x426d65
cmp dword [ebx + 8], edi
jle 0x4266dd
mov eax, dword [ebx + 4]
cmp dword [eax + 0xa8], edi
jne 0x426c82
cmp dword [ebp - 0x1c], edi
je 0x426d82
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.NewVersion
call fcn.00401a30
push ecx
mov byte [ebp - 4], 0x16
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.DownDLLLog
call fcn.00401a30
mov byte [ebp - 4], 0x17
cmp dword [ebx + 8], edi
jle 0x4266dd
mov eax, dword [ebx + 4]
push ecx
add eax, 0x70
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.00402050
lea ecx, [ebp + 8]
push ecx
mov byte [ebp - 4], 6
call fcn.00407a10
add esp, 0x10
mov byte [ebp - 4], 0x18
cmp dword [ebx + 8], edi
jle 0x4266dd
mov ecx, dword [ebx + 4]
push eax
add ecx, 0x94
call fcn.00401f80
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
call fcn.00401fa0
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.NewVersion
call fcn.00401a30
push ecx
mov byte [ebp - 4], 0x19
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.DownDLLLog
call fcn.00401a30
mov byte [ebp - 4], 0x1a
cmp dword [ebx + 8], edi
jle 0x4266dd
mov eax, dword [ebx + 4]
push ecx
add eax, 0x70
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.00402050
lea edx, [ebp + 8]
push edx
mov byte [ebp - 4], 6
call fcn.00407a10
add esp, 0x10
mov byte [ebp - 4], 0x1b
cmp dword [ebx + 8], edi
jle 0x4266dd
mov ecx, dword [ebx + 4]
push eax
add ecx, 0x98
call fcn.00401f80
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
call fcn.00401fa0
cmp dword [ebx + 8], edi
jle 0x4266dd
mov eax, dword [ebx + 4]
cmp dword [eax + 0xac], edi
je 0x426c9f
mov edx, dword [eax + 0x3c]
mov dword [eax + 0xa4], edx
cmp dword [ebx + 8], edi
jle 0x4266dd
mov eax, dword [ebx + 4]
cmp dword [eax + 0xac], edi
jne 0x426cbf
mov edx, dword [eax + 0x7c]
add edx, dword [eax + 0x3c]
mov dword [eax + 0xa4], edx
cmp dword [ebx + 8], edi
jle 0x4266dd
mov eax, dword [ebx + 4]
cmp dword [eax + 0xac], edi
jne 0x426d4e
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.UpdateInfoLocation
call fcn.00401a30
push ecx
mov byte [ebp - 4], 0x22
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.DownDLLLog
call fcn.00401a30
mov byte [ebp - 4], 0x23
cmp dword [ebx + 8], edi
jle 0x4266dd
mov eax, dword [ebx + 4]
push ecx
add eax, 0x70
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.00402050
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 6
call fcn.00407a10
add esp, 0x10
mov byte [ebp - 4], 0x24
cmp dword [ebx + 8], edi
jle 0x4266dd
mov ecx, dword [ebx + 4]
add ecx, 0xa0
push eax
call fcn.00401f10
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
call fcn.00401fa0
cmp dword [ebx + 8], edi
jle 0x4266dd
mov eax, dword [ebx + 4]
mov dword [eax + 0x84], edi
mov edx, 1
cmp dword [ebx + 8], edi
jle 0x4266dd
mov ecx, dword [ebx + 4]
cmp dword [ecx + 0xac], edi
jne 0x426dc5
cmp dword [ebp - 0x18], edi
jne 0x426dc5
xor eax, eax
jmp 0x426dc7
cmp dword [eax + 0xb0], edi
jne 0x426c82
lea eax, [ebp - 0x20]
call fcn.00419550
lea ecx, [ebp - 0x24]
call fcn.00401fa0
lea eax, [ebp - 0x28]
call fcn.00419550
lea esi, [ebp + 0xc]
call fcn.00421b50
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
mov eax, edx
mov dword [ecx + 0xa8], eax
cmp dword [ebx + 8], edi
jle 0x4266dd
mov ecx, dword [ebx + 4]
cmp dword [ecx + 0xb0], edi
je 0x426dea
cmp dword [ebp - 0x1c], edi
je 0x426dea
mov eax, edx
jmp 0x426dec
xor eax, eax
mov dword [ecx + 0xb0], eax
cmp dword [ebx + 8], edi
jle 0x4266dd
mov eax, dword [ebx + 4]
cmp dword [eax + 0xa8], edi
je 0x426e22
cmp dword [eax + 0xb0], edi
jne 0x426e1e
cmp dword [eax + 0xbc], edi
je 0x426e22
cmp dword [eax + 0xd4], edi
jne 0x426e22
mov ecx, edx
jmp 0x426e24
xor ecx, ecx
mov dword [eax + 0xac], ecx
cmp dword [ebx + 8], edi
jle 0x4266dd
mov ebx, dword [ebx + 4]
mov dword [ebx + 0xc8], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426e5f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426e82
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426ea5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp + 0xc]
call fcn.00421b50
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c