Function at 0x4519b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x579abd
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x41a8
call fcn.00532a90
mov eax, dword [0x5bafe0]
xor eax, esp
mov dword [esp + 0x41a4], eax
push esi
push edi
mov eax, dword [0x5bafe0]
xor eax, esp
push eax
lea eax, [esp + 0x41b8]
mov dword fs:[0], eax
mov esi, ecx
mov edi, 7
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], eax
mov word [esp + 0x20], cx
mov dword [esp + 0x41c0], eax
mov dl, byte [ebx + 0xec]
push 0xffffffffffffffff
mov dword [esp + 0x54], edi
push eax
mov word [esp + 0x44], cx
lea edi, [ebx + 0xb4]
push edi
lea ecx, [esp + 0x48]
mov byte [esp + 0x18], dl
mov dword [esp + 0x58], eax
call fcn.00402440
xor edx, edx
push 0xffffffffffffffff
mov byte [esp + 0x41c4], 1
push edx
lea eax, [ebx + 0xd0]
push eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 0
mov word [esp + 0x64], dx
call fcn.00402440
mov cl, byte [esp + 0xc]
mov byte [esp + 0x74], cl
lea edx, [esp + 0x20]
mov byte [esp + 0x41c0], 2
mov ecx, dword [ebx + 0xf0]
push edx
lea edx, [esp + 0x40]
call fcn.00445f10
add esp, 4
mov byte [esp + 0x41c0], 0
cmp dword [esp + 0x6c], 8
mov dword [esp + 0x10], eax
jb 0x451aba
mov eax, dword [esp + 0x58]
push eax
call fcn.0052b74a
add esp, 4
xor ecx, ecx
cmp dword [esp + 0x50], 8
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], 0
mov word [esp + 0x58], cx
jb 0x451ae5
mov edx, dword [esp + 0x3c]
push edx
call fcn.0052b74a
add esp, 4
xor eax, eax
mov word [esp + 0x3c], ax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
test eax, eax
je 0x451b29
cmp dword [esp + 0x34], 8
mov dword [esi], 0xa010
mov dword [esi + 4], eax
mov dword [esi + 8], 1
jb 0x451e3b
mov ecx, dword [esp + 0x20]
push ecx
jmp 0x451e33
lea eax, [esp + 0xcc]
call fcn.00441790
mov ecx, dword [ebx + 0xf0]
lea edx, [esp + 0xcc]
push edx
lea edx, [esp + 0x24]
call fcn.00446520
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x451b96
cmp dword [esp + 0x30], 0
je 0x451b71
mov edx, dword [ebx + 0xf0]
lea ecx, [esp + 0x20]
call fcn.00446340
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x34], 8
mov dword [esi], 0xa010
mov dword [esi + 4], eax
mov dword [esi + 8], 2
jb 0x451e3b
mov eax, dword [esp + 0x20]
push eax
jmp 0x451e33
mov edx, dword [ebx + 0xf0]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0xd0]
call fcn.004469b0
mov ecx, eax
add esp, 4
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x451be3
cmp dword [esp + 0x30], 0
je 0x451bd4
mov edx, dword [ebx + 0xf0]
lea ecx, [esp + 0x20]
call fcn.00446340
mov ecx, dword [esp + 0x10]
mov eax, 0xa010
mov edx, 3
jmp 0x451e1f
mov edx, dword [ebx + 0xb0]
push edx
lea esi, [esp + 0x1c]
call fcn.004d1420
mov byte [esp + 0x41c0], 3
mov eax, dword [ebx + 0xac]
add eax, 0x4158
push eax
lea esi, [esp + 0xb4]
call fcn.00408e00
mov byte [esp + 0x41c0], 4
mov ecx, dword [edi + 0x10]
mov esi, 8
cmp dword [edi + 0x14], esi
jb 0x451c2c
mov edx, dword [edi]
jmp 0x451c2e
mov edx, edi
push ecx
mov ecx, dword [eax + 0x10]
push edx
push ecx
push 0
mov ecx, eax
call fcn.004061f0
test eax, eax
setne byte [esp + 0xc]
mov byte [esp + 0x41c0], 3
cmp dword [esp + 0xc4], esi
jb 0x451c65
mov edx, dword [esp + 0xb0]
push edx
call fcn.0052b74a
add esp, 4
xor eax, eax
mov dword [esp + 0xc4], 7
mov dword [esp + 0xc0], 0
mov word [esp + 0xb0], ax
cmp byte [esp + 0xc], al
je 0x451c92
mov byte [ebx + 0xed], 1
mov ecx, dword [ebx + 0xac]
mov eax, edi
lea edi, [ecx + 0x4158]
call fcn.004528c0
mov edi, dword [ebx + 0xac]
add edi, 0x4360
lea eax, [esp + 0x20]
call fcn.0041b110
mov ecx, dword [ebx + 0xac]
mov dl, byte [ebx + 0xec]
mov byte [ecx + 0x4b70], dl
mov eax, dword [ebx + 0xac]
xor esi, esi
mov dword [eax + 0x4b6c], esi
xor ecx, ecx
mov word [eax + 0x4768], cx
mov edx, dword [ebx + 0xac]
lea eax, [ebx + 0xb4]
push eax
push edx
call fcn.004133e0
add esp, 8
mov byte [ebx + 0xee], al
push esi
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x80]
mov dword [esp + 0x18], str.settingsdb
call fcn.004095b0
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x98]
push 0x5be2cc
push edx
mov byte [esp + 0x41cc], 5
call fcn.00412940
add esp, 0xc
mov byte [esp + 0x41c0], 6
mov edx, dword [ebx + 0xac]
add edx, 0x40e4
push 1
mov ecx, eax
call fcn.00457480
add esp, 4
cmp dword [esp + 0xa8], 8
jb 0x451d75
mov eax, dword [esp + 0x94]
push eax
call fcn.0052b74a
add esp, 4
xor ecx, ecx
mov edi, 7
mov byte [esp + 0x41c0], 3
cmp dword [esp + 0x8c], 8
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], esi
mov word [esp + 0x94], cx
jb 0x451db1
mov edx, dword [esp + 0x78]
push edx
call fcn.0052b74a
add esp, 4
mov edx, dword [ebx + 0xac]
lea ecx, [esp + 0xcc]
push ecx
add edx, 8
xor eax, eax
push edx
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], esi
mov word [esp + 0x80], ax
call fcn.00441820
mov eax, dword [ebx + 0xac]
mov ecx, dword [esp + 0x14]
mov dword [eax + 4], ecx
mov edx, dword [ebx + 0xac]
mov byte [edx], 1
mov eax, dword [ebx + 0xac]
mov byte [eax + 1], 1
mov byte [esp + 0x41c0], 0
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004d1370
mov esi, dword [esp + 0x1c]
xor ecx, ecx
mov eax, 0xa00f
xor edx, edx
cmp dword [esp + 0x34], 8
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
jb 0x451e3b
mov edx, dword [esp + 0x20]
push edx
call fcn.0052b74a
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x41b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x41a4]
xor ecx, esp
call fcn.0052b755
mov esp, ebp
pop ebp
ret