Function at 0x408610
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x435eae
mov eax, dword fs:[0]
push eax
sub esp, 0x398
mov eax, dword [0x443d3c]
xor eax, esp
mov dword [esp + 0x394], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x443d3c]
xor eax, esp
push eax
lea eax, [esp + 0x3ac]
mov dword fs:[0], eax
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ebp, dword [esp + 0x3bc]
mov esi, ecx
lea eax, [esi + 0x68]
push eax
call edi
lea ecx, [esi + 0x98]
push ecx
call edi
mov eax, dword [esi + 0x64]
xor ebx, ebx
cmp eax, ebx
je 0x408679
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0x7c
mov dword [esi + 0x64], ebx
call fcn.00415a5a
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x3b4], ebx
je 0x40869e
mov ecx, eax
call fcn.004051d0
jmp 0x4086a0
xor eax, eax
push esi
push ebp
mov ecx, eax
mov dword [esp + 0x3bc], 0xffffffff
mov dword [esi], eax
call fcn.00405bf0
test al, al
jne 0x4086d2
push str.Cant_Initialize_The_Pipe_class
call fcn.00408470
mov ecx, eax
call fcn.00407000
xor al, al
jmp 0x40891a
call fcn.004040a0
mov dword [esi + 4], eax
call fcn.00404e00
test al, al
jne 0x4086fb
push str.Cant_Initialize_The_Installer_Registry_class
call fcn.00408470
mov ecx, eax
call fcn.00407000
xor al, al
jmp 0x40891a
call fcn.004010c0
mov dword [esi + 8], eax
call fcn.00401100
test al, al
jne 0x408724
push str.Cant_Initialize_The_Casino_Registry_class
call fcn.00408470
mov ecx, eax
call fcn.00407000
xor al, al
jmp 0x40891a
push 0x445180
call fcn.004013f0
mov edx, dword [esi + 0x88]
push edx
call fcn.00401380
mov eax, dword [esi + 0x4c]
push eax
call fcn.00401300
mov ecx, dword [esi + 0x88]
add esp, 0xc
push ecx
lea ecx, [esi + 0xd0]
call fcn.00406350
test al, al
jne 0x4087a4
push 0x18f
lea edx, [esp + 0x1d]
push ebx
push edx
mov byte [esp + 0x24], bl
call fcn.00420550
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x1c]
push str.Cant_Initialize_The_ExtractZip.dll_Dll_:_Code__d
push eax
call fcn.004200a5
lea ecx, [esp + 0x24]
add esp, 0xc
push ecx
call fcn.00408470
mov ecx, eax
call fcn.00407000
xor al, al
jmp 0x40891a
mov eax, dword [esi + 0x88]
push 0x438897
push eax
call fcn.0042157f
add esp, 8
test eax, eax
jne 0x4087e1
mov ecx, esi
call fcn.00407bf0
push str.Cant_Read_The_Registry_Casino_Bin_Path
call fcn.00404f70
add esp, 4
push str.Cant_Read_The_Registry_Casino_Bin_Path
call fcn.00408470
mov ecx, eax
call fcn.00407000
mov eax, dword [esi + 0x4c]
push 0x438897
push eax
call fcn.0042157f
add esp, 8
test eax, eax
jne 0x40881b
push str.Cant_Read_The_Registry_Casino_Media_Path
call fcn.00404f70
add esp, 4
push str.Cant_Read_The_Registry_Casino_Media_Path
call fcn.00408470
mov ecx, eax
call fcn.00407000
xor al, al
jmp 0x40891a
mov ecx, dword [esi + 0x4c]
mov edx, 0x445188
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
cmp al, bl
jne 0x408823
push 0x1ff
lea edx, [esp + 0x1ad]
push ebx
push edx
mov byte [esp + 0x1b4], bl
call fcn.00420550
mov eax, dword [esi + 0x4c]
push eax
lea ecx, [esp + 0x1b8]
push str._sUpdate
push ecx
call fcn.004200a5
add esp, 0x18
push ebx
lea edx, [esp + 0x1ac]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
push ebx
push 1
push ebx
call edi
cmp eax, ebx
mov dword [esi + 0x10], eax
je 0x4086cb
push ebx
push ebx
push 1
push ebx
call edi
cmp eax, ebx
mov dword [esi + 0x14], eax
je 0x4086cb
push ebx
push ebx
push ebx
push ebx
call edi
cmp eax, ebx
mov dword [esi + 0x18], eax
je 0x4086cb
push ebx
push ebx
push 1
push ebx
call edi
cmp eax, ebx
mov dword [esi + 0x1c], eax
je 0x4086cb
push ebx
push ebx
push 1
push ebx
call edi
cmp eax, ebx
mov dword [esi + 0x20], eax
je 0x4086cb
push ebx
push ebx
push 1
push ebx
call edi
cmp eax, ebx
mov dword [esi + 0x24], eax
je 0x4086cb
push ebx
push ebx
push 1
push ebx
call edi
cmp eax, ebx
mov dword [esi + 0x28], eax
je 0x4086cb
push ebx
push ebx
push 1
push ebx
call edi
cmp eax, ebx
mov dword [esi + 0xc8], eax
je 0x4086cb
push ebx
push ebx
push 1
push ebx
call edi
cmp eax, ebx
mov dword [esi + 0x48], eax
setne al
mov ecx, dword [esp + 0x3ac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x394]
xor ecx, esp
call fcn.0042050e
add esp, 0x3a4
ret 4