Function at 0x402c10
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461c89
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x4785d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx]
add eax, 0x1d8
cmp dword [eax + 0x14], 0x10
jb 0x402c4f
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x402c70
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x402cd7
mov byte [ebx + 0x94], 1
mov edx, dword [ebx]
push str.Uninstall.lnk
add edx, 0x1d8
lea ecx, [ebp - 0x98]
call fcn.00408900
add esp, 4
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0xcc]
mov dword [ebp - 4], 0
call fcn.00410de0
mov edx, eax
mov byte [ebp - 4], 1
cmp dword [edx + 0x14], 8
jb 0x402cb1
mov edx, dword [edx]
xor eax, eax
mov dword [ebp - 0xa0], 7
mov dword [ebp - 0xa4], 0
mov word [ebp - 0xb4], ax
cmp word [edx], ax
jne 0x402cde
xor ecx, ecx
jmp 0x402cf2
xor al, al
jmp 0x4033c7
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402ce3
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xb4]
call fcn.004081c0
lea edx, [ebx + 0x4c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00410de0
lea edx, [ebp - 0xb4]
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00403460
test al, al
sete byte [ebp - 0x99]
cmp dword [ebp - 0x14], 8
jb 0x402d39
push dword [ebp - 0x28]
call fcn.0041a4c1
add esp, 4
xor eax, eax
cmp dword [ebp - 0xa0], 8
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x402d64
push dword [ebp - 0xb4]
call fcn.0041a4c1
add esp, 4
xor eax, eax
mov byte [ebp - 4], al
cmp dword [ebp - 0xb8], 8
mov dword [ebp - 0xa0], 7
mov dword [ebp - 0xa4], 0
mov word [ebp - 0xb4], ax
jb 0x402d9b
push dword [ebp - 0xcc]
call fcn.0041a4c1
add esp, 4
cmp byte [ebp - 0x99], 0
je 0x402dab
xor bl, bl
jmp 0x4033ae
xor ecx, ecx
cmp byte [str.http:__tt.arcadegiant.com_cookiewl.php], cl
mov eax, 0x26
cmove eax, ecx
push eax
push str.http:__tt.arcadegiant.com_cookiewl.php
lea ecx, [ebp - 0x104]
mov dword [ebp - 0xf0], 0xf
mov dword [ebp - 0xf4], 0
mov byte [ebp - 0x104], 0
call fcn.00407c90
lea edx, [ebx + 0x4c]
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 4
call fcn.00401f70
mov edi, eax
lea edx, [ebp - 0x104]
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 5
call fcn.00401f70
mov esi, eax
mov byte [ebp - 4], 6
push 0x14
push str._InternetShortcut__r_n
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xa0], 0xf
mov dword [ebp - 0xa4], 0
mov byte [ebp - 0xb4], 0
call fcn.00407c90
push str.URL
lea edx, [ebp - 0xb4]
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 7
call fcn.004089f0
add esp, 4
push esi
mov edx, eax
lea ecx, [ebp - 0x1c4]
mov byte [ebp - 4], 8
call fcn.00408a90
add esp, 4
push str._r1
mov edx, eax
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 9
call fcn.004089f0
add esp, 4
push 0x46cc28
mov edx, eax
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 0xa
call fcn.004089f0
add esp, 4
push str.IDList_r_n
mov edx, eax
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 0xb
call fcn.004089f0
add esp, 4
push str.HotKey0_r_n
mov edx, eax
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 0xc
call fcn.004089f0
add esp, 4
push str.IconFile
mov edx, eax
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 0xd
call fcn.004089f0
add esp, 4
push edi
mov edx, eax
lea ecx, [ebp - 0x194]
mov byte [ebp - 4], 0xe
call fcn.00408a90
add esp, 4
push 0x46cc28
mov edx, eax
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0xf
call fcn.004089f0
add esp, 4
push str.IconIndex0_r_n
mov edx, eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x10
call fcn.004089f0
add esp, 4
cmp dword [ebp - 0x168], 0x10
jb 0x402f4d
push dword [ebp - 0x17c]
call fcn.0041a4c1
add esp, 4
mov dword [ebp - 0x168], 0xf
mov dword [ebp - 0x16c], 0
mov byte [ebp - 0x17c], 0
cmp dword [ebp - 0x180], 0x10
jb 0x402f7f
push dword [ebp - 0x194]
call fcn.0041a4c1
add esp, 4
mov dword [ebp - 0x180], 0xf
mov dword [ebp - 0x184], 0
mov byte [ebp - 0x194], 0
cmp dword [ebp - 0x138], 0x10
jb 0x402fb1
push dword [ebp - 0x14c]
call fcn.0041a4c1
add esp, 4
mov dword [ebp - 0x138], 0xf
mov dword [ebp - 0x13c], 0
mov byte [ebp - 0x14c], 0
cmp dword [ebp - 0x120], 0x10
jb 0x402fe3
push dword [ebp - 0x134]
call fcn.0041a4c1
add esp, 4
mov dword [ebp - 0x120], 0xf
mov dword [ebp - 0x124], 0
mov byte [ebp - 0x134], 0
cmp dword [ebp - 0x198], 0x10
jb 0x403015
push dword [ebp - 0x1ac]
call fcn.0041a4c1
add esp, 4
mov dword [ebp - 0x198], 0xf
mov dword [ebp - 0x19c], 0
mov byte [ebp - 0x1ac], 0
cmp dword [ebp - 0x1c8], 0x10
jb 0x403047
push dword [ebp - 0x1dc]
call fcn.0041a4c1
add esp, 4
mov dword [ebp - 0x1c8], 0xf
mov dword [ebp - 0x1cc], 0
mov byte [ebp - 0x1dc], 0
cmp dword [ebp - 0x150], 0x10
jb 0x403079
push dword [ebp - 0x164]
call fcn.0041a4c1
add esp, 4
mov dword [ebp - 0x150], 0xf
mov dword [ebp - 0x154], 0
mov byte [ebp - 0x164], 0
cmp dword [ebp - 0x1b0], 0x10
jb 0x4030ab
push dword [ebp - 0x1c4]
call fcn.0041a4c1
add esp, 4
mov dword [ebp - 0x1b0], 0xf
mov dword [ebp - 0x1b4], 0
mov byte [ebp - 0x1c4], 0
cmp dword [ebp - 0x108], 0x10
jb 0x4030dd
push dword [ebp - 0x11c]
call fcn.0041a4c1
add esp, 4
mov dword [ebp - 0x108], 0xf
mov dword [ebp - 0x10c], 0
mov byte [ebp - 0x11c], 0
cmp dword [ebp - 0xa0], 0x10
jb 0x40310f
push dword [ebp - 0xb4]
call fcn.0041a4c1
add esp, 4
mov dword [ebp - 0xa0], 0xf
mov dword [ebp - 0xa4], 0
mov byte [ebp - 0xb4], 0
cmp dword [ebp - 0xd8], 0x10
jb 0x403141
push dword [ebp - 0xec]
call fcn.0041a4c1
add esp, 4
mov dword [ebp - 0xd8], 0xf
mov dword [ebp - 0xdc], 0
mov byte [ebp - 0xec], 0
cmp dword [ebp - 0xb8], 0x10
jb 0x403173
push dword [ebp - 0xcc]
call fcn.0041a4c1
add esp, 4
mov dword [ebp - 0xb8], 0xf
mov dword [ebp - 0xbc], 0
mov byte [ebp - 0xcc], 0
mov byte [ebp - 4], 0x1e
cmp dword [ebp - 0xf0], 0x10
jb 0x4031a9
push dword [ebp - 0x104]
call fcn.0041a4c1
add esp, 4
push ecx
lea ecx, [ebp - 0x80]
mov dword [ebp - 0xf0], 0xf
mov dword [ebp - 0xf4], 0
mov byte [ebp - 0x104], 0
call fcn.004033f0
lea ecx, [ebp - 0x80]
call fcn.00407260
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x50], eax
mov eax, dword [0x47f620]
mov dword [ebp - 0x80], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [ebp - 0x34], 0
mov byte [ebp - 0x3b], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x40], 0
mov byte [ebp - 4], 0x1f
mov edx, dword [ebx]
push str.Play
add edx, 0x1d8
lea ecx, [ebp - 0x11c]
call fcn.00408900
add esp, 4
push 0x46ca18
mov edx, eax
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0x20
call fcn.004089f0
add esp, 4
push str._Games.url
mov edx, eax
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0x21
call fcn.004089f0
add esp, 4
mov byte [ebp - 4], 0x22
cmp dword [eax + 0x14], 0x10
jb 0x4032a5
mov eax, dword [eax]
push ecx
push 0x32
push eax
lea ecx, [ebp - 0x80]
call fcn.00405cd0
cmp dword [ebp - 0xb8], 0x10
jb 0x4032c8
push dword [ebp - 0xcc]
call fcn.0041a4c1
add esp, 4
cmp dword [ebp - 0xd8], 0x10
mov dword [ebp - 0xb8], 0xf
mov dword [ebp - 0xbc], 0
mov byte [ebp - 0xcc], 0
jb 0x4032fa
push dword [ebp - 0xec]
call fcn.0041a4c1
add esp, 4
mov byte [ebp - 4], 0x1f
cmp dword [ebp - 0x108], 0x10
mov dword [ebp - 0xd8], 0xf
mov dword [ebp - 0xdc], 0
mov byte [ebp - 0xec], 0
jb 0x403330
push dword [ebp - 0x11c]
call fcn.0041a4c1
add esp, 4
cmp dword [ebp - 0x30], 0
jne 0x403353
lea ecx, [ebp - 0x80]
call fcn.00405c60
cmp dword [ebp - 0x14], 0x10
jb 0x40334f
push dword [ebp - 0x28]
call fcn.0041a4c1
add esp, 4
xor bl, bl
jmp 0x4033ae
cmp dword [ebp - 0x14], 0x10
push dword [ebp - 0xd0]
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
lea edi, [ebp - 0x80]
add eax, ecx
cmp dword [ebp - 0x14], 0x10
push edi
mov byte [ebp - 0xd4], 0
push dword [ebp - 0xd4]
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0xd4]
call fcn.004097f0
add esp, 0x10
mov ecx, edi
call fcn.00405c60
cmp dword [ebp - 0x14], 0x10
jb 0x4033ac
push dword [ebp - 0x28]
call fcn.0041a4c1
add esp, 4
mov bl, 1
cmp dword [ebp - 0x84], 0x10
jb 0x4033c5
push dword [ebp - 0x98]
call fcn.0041a4c1
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00419056
mov esp, ebp
pop ebp
ret