Function at 0x41ee60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4632f8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov eax, dword [0x478ec8]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x74], 0
call fcn.0041d4c0
mov eax, dword [0x47aaac]
mov edx, dword [eax + 0xc]
mov ecx, 0x47aaac
mov byte [esp + 0x74], 1
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [0x47aaac]
mov edx, dword [eax + 0xc]
mov ecx, 0x47aaac
mov byte [esp + 0x74], 2
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov eax, dword [0x47aaac]
mov edx, dword [eax + 0xc]
mov ecx, 0x47aaac
mov byte [esp + 0x74], 3
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x7c]
mov bl, 4
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], bl
call fcn.0042bdf0
push str.active
lea ecx, [esp + 0x34]
call fcn.00429230
test al, al
je 0x41f16a
push str.result
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x38]
call fcn.00419a30
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 5
call fcn.00416a40
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x74], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41ef5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
push 0x4674cc
push ecx
call fcn.00441057
add esp, 8
test eax, eax
sete al
test al, al
je 0x41f16a
push str.update
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x38]
call fcn.00419a30
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 6
call fcn.00416a40
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x74], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41efc2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
mov eax, dword [esi - 0xc]
test eax, eax
je 0x41f16a
jge 0x41efd8
or edi, 0xffffffff
jmp 0x41eff3
push 0x46fc30
push esi
call fcn.00441929
add esp, 8
test eax, eax
jne 0x41efef
or edi, 0xffffffff
jmp 0x41eff3
sub eax, esi
mov edi, eax
test edi, edi
jg 0x41f04c
cmp dword [esi - 0xc], 0
je 0x41f16a
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00416a40
mov ebp, dword [esp + 0x18]
push 0x4674cc
push ebp
call fcn.00441057
add esp, 8
test eax, eax
sete al
test al, al
je 0x41f093
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x40], 1
mov eax, dword [eax + 0x38]
test eax, eax
je 0x41f100
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x41f100
push edi
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004180d0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 7
call fcn.00416a40
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x74], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41f00f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41f00f
push 0x467bd4
push ebp
call fcn.00441057
add esp, 8
test eax, eax
sete al
test al, al
je 0x41f0bd
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x41f100
push 0x467bd0
push ebp
call fcn.00441057
add esp, 8
test eax, eax
sete al
test al, al
je 0x41f100
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.DSHelper.exe
call fcn.00417f60
call fcn.0041a560
add esp, 4
test eax, eax
je 0x41f100
mov ecx, dword [esp + 0x1c]
push 0
push 0
push 0x15
call fcn.00418eb0
push esi
push ebp
call fcn.00441057
add esp, 8
test eax, eax
sete al
test al, al
jne 0x41f16a
mov eax, dword [esi - 0xc]
sub eax, edi
sub eax, 1
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00418050
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 8
call fcn.00416a40
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x74], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41f15d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
cmp dword [esi - 0xc], 0
jmp 0x41efd1
lea eax, [ebp - 0x10]
mov byte [esp + 0x74], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f18b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x74], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f1ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x74], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f1d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x74], 0
call fcn.0041d550
mov eax, dword [esp + 0x7c]
add eax, 0xfffffff0
mov dword [esp + 0x74], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f207
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 4