Function at 0x440fc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x579e88
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x5bafe0]
xor eax, esp
mov dword [esp + 0x16c], eax
push esi
push edi
mov eax, dword [0x5bafe0]
xor eax, esp
push eax
lea eax, [esp + 0x180]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
lea eax, [ebx + 0x50]
mov dword [esp + 0x10], eax
mov dword [eax], 0
lea edi, [ebx + 0x58]
mov dword [esp + 0x188], 0
mov dword [esp + 0x20], edi
call fcn.00443250
mov byte [esp + 0x24], 1
mov byte [esp + 0x188], 2
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + 0x48]
mov edx, dword [ebx + 0x30]
push eax
push edx
lea esi, [esp + 0x84]
call fcn.00450640
mov byte [esp + 0x188], 3
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x48]
push eax
lea esi, [esp + 0x18]
call fcn.004d1420
mov esi, dword [ebx + 0x30]
call fcn.00426b30
mov esi, 7
xor edi, edi
xor ecx, ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], edi
mov word [esp + 0x28], cx
mov byte [esp + 0x188], 5
call fcn.00513000
push 0xa
push str.settingsdb
lea ecx, [esp + 0x30]
call fcn.00406420
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x48]
push 0x5be2cc
push eax
mov byte [esp + 0x194], 6
call fcn.00412940
add esp, 0xc
mov byte [esp + 0x188], 7
mov edx, dword [ebx + 0x30]
add edx, 0x40e4
push 1
mov ecx, eax
call fcn.00457480
add esp, 4
cmp dword [esp + 0x58], 8
jb 0x4410f1
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0052b74a
add esp, 4
xor edx, edx
mov byte [esp + 0x188], 4
cmp dword [esp + 0x3c], 8
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], edi
mov word [esp + 0x44], dx
jb 0x44111c
mov eax, dword [esp + 0x28]
push eax
call fcn.0052b74a
add esp, 4
mov edx, dword [ebx + 0x30]
add edx, 0x4158
xor ecx, ecx
mov dword [esp + 0x3c], esi
push edx
lea esi, [esp + 0x64]
mov dword [esp + 0x3c], edi
mov word [esp + 0x2c], cx
call fcn.00408e00
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x13c]
mov byte [esp + 0x194], 8
call fcn.00402440
cmp dword [esp + 0x74], 8
jb 0x44116a
mov eax, dword [esp + 0x60]
push eax
call fcn.0052b74a
add esp, 4
mov edx, dword [ebx + 0x30]
mov al, byte [edx + 0x4b70]
xor ecx, ecx
mov word [esp + 0x60], cx
mov byte [esp + 0x188], 3
mov ecx, dword [esp + 0x14]
push ecx
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], edi
mov byte [esp + 0x16c], al
call fcn.004d1370
mov ecx, dword [esp + 0x18]
cmp ecx, edi
jne 0x4411b6
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x50]
xor ecx, ecx
cmp eax, edi
je 0x4411b6
mov ecx, dword [eax + 4]
mov eax, dword [ebx + 0x4c]
push eax
push ecx
lea edi, [esp + 0x84]
call fcn.00442c80
mov ecx, edi
mov dword [ebx + 0x50], eax
call fcn.00442d20
test eax, eax
je 0x44121e
lea esi, [ebx + 0x18]
call fcn.00448420
cmp byte [ebx + 0x3b], 0
je 0x4412b4
mov eax, dword [ebx + 0xc]
mov byte [ebx + 0x3b], 0
mov eax, dword [eax + 0x50]
test eax, eax
je 0x4412b4
cmp dword [eax + 4], 0
je 0x4412b4
mov eax, dword [eax + 4]
push 0
push 0x20000016
push 0x9000
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4412b4
mov eax, dword [ebx + 0x30]
cmp dword [eax + 0x4b6c], 0
jne 0x441232
mov eax, dword [eax + 0x1420]
jmp 0x441237
mov eax, 0x12c
mov dword [ebx + 0x48], eax
test eax, eax
je 0x441253
push 0
call fcn.0052c3e5
mov ecx, dword [ebx + 0x48]
add esp, 4
xor esi, esi
add ecx, eax
adc esi, edx
jmp 0x441257
xor ecx, ecx
xor esi, esi
mov edx, dword [ebx + 0x30]
mov dword [ebx + 0x40], ecx
mov dword [ebx + 0x44], esi
mov al, byte [edx]
test al, al
jne 0x441270
mov ecx, dword [ebx + 0x30]
mov byte [ecx], 1
mov byte [ebx + 0x36], 1
mov dl, byte [esp + 0x16a]
mov eax, dword [ebx + 0x30]
mov dword [ebx + 4], 0xa
mov byte [ebx + 0x3c], 0
mov byte [ebx + 0x36], 1
mov byte [ebx + 0x37], dl
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4412b4
mov edx, dword [ebx + 0xc]
mov eax, dword [edx + 0x48]
push eax
lea esi, [esp + 0x20]
call fcn.004d1420
mov eax, ebx
call fcn.004425e0
mov eax, dword [esp + 0x1c]
push eax
call fcn.004d1370
lea ecx, [esp + 0x7c]
mov byte [ebx + 0x35], 1
mov byte [esp + 0x188], 2
call fcn.00450760
mov byte [esp + 0x188], 0
mov ecx, dword [esp + 0x20]
mov eax, SysReAllocStringLen
mov edx, ecx
lock xadd dword [edx], eax
test eax, 0x40000000
jne 0x44133e
cmp eax, 0x80000000
jle 0x441303
mov eax, ecx
lock bts dword [eax], 0x1e
jb 0x441332
call fcn.004431a0
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esp + 0x10]
mov dword [ecx], 0
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x16c]
xor ecx, esp
call fcn.0052b755
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esp + 0x10]
mov dword [edx], 0
jmp 0x44130d
mov eax, dword [esp + 0x10]
mov dword [eax], 0
jmp 0x44130d