Function at 0x496290
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x596788
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [0x6285c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x6285c4
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x30]
push eax
push 0x5d7fe4
lea edi, [esp + 0x1c]
call fcn.00407710
mov edx, dword [0x6285c4]
mov eax, dword [edx + 0xc]
add esp, 8
mov ecx, 0x6285c4
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
mov byte [esp + 0x28], 1
mov ecx, dword [esp + 0x34]
push ecx
push 0x5d7fe4
lea edi, [esp + 0x38]
call fcn.00407710
mov edx, dword [0x6285c4]
mov eax, dword [edx + 0xc]
add esp, 8
mov ecx, 0x6285c4
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
mov bl, 2
mov byte [esp + 0x28], bl
mov ecx, dword [esp + 0x38]
push ecx
push 0x5d7fe4
lea edi, [esp + 0x3c]
call fcn.00407710
mov ebp, dword [esp + 0x38]
add esp, 4
add ebp, 0xfffffff0
mov eax, ebp
mov dword [esp + 0x3c], esp
mov esi, esp
call fcn.004073f0
add eax, 0x10
mov dword [esi], eax
push ecx
mov byte [esp + 0x30], 3
mov edx, esp
mov dword [esp + 0x20], esp
push edx
mov ecx, str.FloatingWndDisplayOption
call fcn.004066b0
push ecx
mov byte [esp + 0x34], 4
mov eax, esp
mov dword [esp + 0x28], esp
push eax
mov ecx, str.Options
call fcn.004066b0
mov byte [esp + 0x34], bl
call fcn.0049d9f7
mov edi, dword [esp + 0x20]
add esp, 8
add edi, 0xfffffff0
mov eax, edi
mov dword [esp + 0x3c], esp
mov esi, esp
call fcn.004073f0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x2c], 5
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push ecx
mov ecx, str.TextOutTip
call fcn.004066b0
push ecx
mov byte [esp + 0x34], 6
mov edx, esp
mov dword [esp + 0x24], esp
push edx
mov ecx, str.Options
call fcn.004066b0
mov byte [esp + 0x34], bl
call fcn.0049d9f7
add esp, 8
mov eax, edi
mov dword [esp + 0x3c], esp
mov esi, esp
call fcn.004073f0
add eax, 0x10
mov dword [esi], eax
push ecx
mov byte [esp + 0x30], 7
mov eax, esp
mov dword [esp + 0x24], esp
push eax
mov ecx, str.ChargingNotify
call fcn.004066b0
push ecx
mov ecx, esp
mov byte [esp + 0x34], 8
mov dword [esp + 0x24], esp
push ecx
mov ecx, str.Options
call fcn.004066b0
mov byte [esp + 0x34], bl
call fcn.0049d9f7
mov esi, dword [esp + 0x40]
add esp, 8
add esi, 0xfffffff0
mov eax, esi
mov dword [esp + 0x20], esp
mov dword [esp + 0x3c], esp
call fcn.004073f0
add eax, 0x10
mov edx, esp
mov dword [edx], eax
push ecx
mov byte [esp + 0x30], 9
mov eax, esp
mov dword [esp + 0x40], esp
push eax
mov ecx, str.ShowUpdateIcon
call fcn.004066b0
push ecx
mov ecx, esp
mov byte [esp + 0x34], 0xa
mov dword [esp + 0x24], esp
push ecx
mov ecx, str.Options
call fcn.004066b0
mov byte [esp + 0x34], bl
call fcn.0049d9f7
add esp, 0xc
mov byte [esp + 0x28], 1
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4964b7
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [esp + 0x28], 0
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4964d6
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov dword [esp + 0x28], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4964f7
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
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 0xc