Function at 0x413630
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506edd
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x556754]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xd4], 0
push eax
call fcn.00418950
mov ecx, eax
call fcn.00418920
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 4], 0
mov eax, dword [eax + 0x38]
sub eax, 0x10
push eax
call fcn.0040f630
mov dword [ebp - 0xec], eax
lea esi, [eax + 0x10]
mov dword [ebp - 0xf0], esi
mov eax, dword [ebp - 0xc4]
mov byte [ebp - 4], 1
mov eax, dword [eax + 0x3c]
sub eax, 0x10
push eax
call fcn.0040f630
lea edi, [eax + 0x10]
mov dword [ebp - 0xf4], edi
mov eax, dword [ebp - 0xc4]
mov byte [ebp - 4], 2
mov eax, dword [eax + 0x34]
sub eax, 0x10
push eax
call fcn.0040f630
add eax, 0x10
add esp, 0xc
mov dword [ebp - 0xd8], eax
push esi
mov byte [ebp - 4], 3
mov dword [ebp - 0xe8], 0
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x413705
push eax
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp - 0xc0]
test eax, eax
je 0x413725
lock inc dword [eax + 4]
mov eax, dword [ebp - 0xc4]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc0]
mov dword [ecx + 4], eax
call fcn.004151c0
add esp, 8
or ecx, 0xffffffff
test eax, eax
je 0x41408c
mov esi, dword [ebp - 0xc0]
test esi, esi
je 0x41375d
lock inc dword [esi + 4]
mov esi, dword [ebp - 0xc0]
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 0xe0], edx
mov dword [ebp - 0xdc], esi
mov byte [ebp - 4], 4
test edx, edx
je 0x4137cd
push 0x191
sub esp, 8
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
test esi, esi
je 0x413796
lock inc dword [esi + 4]
mov dword [eax], edx
mov dword [eax + 4], esi
lea eax, [ebp - 0xd0]
push eax
call fcn.00410e80
mov edx, dword [ebp - 0xd0]
or ecx, 0xffffffff
add esp, 0x10
add edx, 0xfffffff0
mov eax, ecx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4137cd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
or ecx, 0xffffffff
mov byte [ebp - 4], 3
test esi, esi
je 0x4137f5
mov eax, ecx
lock xadd dword [esi + 4], eax
jne 0x4137f5
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x4137f5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp - 0xc0]
test eax, eax
je 0x413815
lock inc dword [eax + 4]
mov eax, dword [ebp - 0xc4]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc0]
mov dword [ecx + 4], eax
call fcn.00411710
add esp, 8
test eax, eax
je 0x41408c
mov eax, dword [ebp - 0xc4]
mov esi, dword [0x556074]
mov dword [ebp - 0xd0], eax
mov eax, dword [eax + 0x3c]
mov byte [ebp - 4], 5
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x413863
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
jne 0x41387b
call fcn.0040b050
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x414132
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xd4], 1
mov dword [ebp - 0xcc], eax
test esi, esi
jne 0x41389d
xor ecx, ecx
jmp 0x4138b1
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4138a2
sub ecx, edx
sar ecx, 1
mov eax, dword [ebp - 0xd0]
push ecx
push esi
mov eax, dword [eax + 0x3c]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.0040f6d0
mov esi, dword [ebp - 0xcc]
push esi
call fcn.004c32c0
xor eax, eax
mov byte [ebp - 4], 3
mov dword [ebp - 0xd4], eax
add esp, 0x18
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4138ff
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00437e80
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
test al, al
je 0x413c2b
mov dword [ebp - 0x8c], 0
push 0x50
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
call fcn.004b58fc
movups xmm0, xmmword [str.D:workWeiDuanGameMicroGameBox_srcmicrogameboxinst_helper.cc]
mov dword [ebp - 0x7c], 0x40
add esp, 4
mov dword [ebp - 0x78], 0x4f
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x515dd0]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [0x515de0]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [0x515df0]
movups xmmword [eax + 0x30], xmm0
mov byte [eax + 0x40], 0
mov dword [ebp - 0x8c], eax
mov ax, word [0x515fd4]
mov dword [ebp - 0xa4], 0
mov word [ebp - 0xa4], ax
mov al, byte [0x515fd6]
mov dword [ebp - 0x90], 0xf
mov dword [ebp - 0x94], 3
mov byte [ebp - 0xa2], al
mov byte [ebp - 0xa1], 0
mov byte [ebp - 4], 7
call fcn.00437e80
push 1
lea ecx, [ebp - 0x194]
mov dword [ebp - 0xdc], eax
call fcn.00407770
push 0xffffffffffffffff
push 0x515a98
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 8
call fcn.0040c9a0
push 0xffffffffffffffff
push 0x515a9c
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0xd0], eax
call fcn.0040c9a0
push 0x64
mov esi, eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.004d5900
add esp, 0xc
cmp esi, 0xffffffff
je 0x413b1b
mov ecx, dword [ebp - 0xd0]
lea eax, [esi - 1]
cmp ecx, eax
jae 0x413b1b
mov eax, dword [ebp - 0x7c]
lea edx, [ecx + 1]
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
cmp eax, edx
jb 0x41413c
sub esi, ecx
sub eax, edx
lea ecx, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x78], 0x10
lea eax, [ebp - 0x8c]
cmovae eax, dword [ebp - 0x8c]
push ecx
add eax, edx
lea ecx, [ebp - 0xbc]
push eax
call fcn.0040c050
cmp dword [ebp - 0xa8], 0x10
mov eax, 2
mov dword [ebp - 0xd4], eax
lea eax, [ebp - 0xbc]
cmovae eax, dword [ebp - 0xbc]
push eax
push 0xa6
lea eax, [ebp - 0x74]
push str.__4d___s_
push eax
call fcn.004074e0
mov edx, dword [ebp - 0xa8]
add esp, 0x10
cmp edx, 0x10
jb 0x413afe
mov ecx, dword [ebp - 0xbc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413af4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414141
push edx
push ecx
call fcn.004b592c
add esp, 8
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
jmp 0x413b31
push 0xa6
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.004074e0
add esp, 0xc
cmp dword [ebp - 0x90], 0x10
lea eax, [ebp - 0xa4]
cmovae eax, dword [ebp - 0xa4]
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.00408ea0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.00408ea0
lea eax, [ebp - 0x194]
mov byte [ebp - 4], 9
push str.net::InitNet_L.._____NetBridge.dll_
push eax
call fcn.00408ea0
mov ecx, dword [ebp - 0xdc]
lea edx, [ebp - 0x194]
add esp, 0x18
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c]
lea ecx, [ebp - 0x194]
call fcn.00408fe0
mov edx, dword [ebp - 0x90]
mov byte [ebp - 4], 6
cmp edx, 0x10
jb 0x413bd5
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413bcb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414146
push edx
push ecx
call fcn.004b592c
add esp, 8
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x413c2b
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413c21
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414146
push edx
push ecx
call fcn.004b592c
add esp, 8
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp - 0xc0]
test eax, eax
je 0x413c4b
lock inc dword [eax + 4]
mov eax, dword [ebp - 0xc4]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc0]
mov dword [ecx + 4], eax
call fcn.00411280
mov esi, dword [ebp - 0xd8]
add esp, 8
test eax, eax
je 0x414092
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x413c86
push eax
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp - 0xc0]
test eax, eax
je 0x413ca6
lock inc dword [eax + 4]
mov eax, dword [ebp - 0xc4]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc0]
mov dword [ecx + 4], eax
call fcn.00411af0
add esp, 8
test eax, eax
je 0x414092
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp - 0xc0]
test eax, eax
je 0x413ce7
lock inc dword [eax + 4]
mov eax, dword [ebp - 0xc4]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc0]
mov dword [ecx + 4], eax
call fcn.00411f70
add esp, 8
test eax, eax
je 0x414092
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp - 0xc0]
test eax, eax
je 0x413d28
lock inc dword [eax + 4]
mov eax, dword [ebp - 0xc4]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc0]
mov dword [ecx + 4], eax
call fcn.00410880
add esp, 8
test eax, eax
je 0x414092
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp - 0xc0]
test eax, eax
je 0x413d69
lock inc dword [eax + 4]
mov eax, dword [ebp - 0xc4]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc0]
mov dword [ecx + 4], eax
call fcn.004102e0
add esp, 8
test eax, eax
je 0x414092
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp - 0xc0]
test eax, eax
je 0x413daa
lock inc dword [eax + 4]
mov eax, dword [ebp - 0xc4]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc0]
mov dword [ecx + 4], eax
call fcn.00410bd0
add esp, 8
test eax, eax
je 0x414092
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp - 0xc0]
test eax, eax
je 0x413deb
lock inc dword [eax + 4]
mov eax, dword [ebp - 0xc4]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc0]
mov dword [ecx + 4], eax
call fcn.00412270
add esp, 8
test eax, eax
je 0x414092
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp - 0xc0]
test eax, eax
je 0x413e2c
lock inc dword [eax + 4]
mov eax, dword [ebp - 0xc4]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc0]
mov dword [ecx + 4], eax
call fcn.00411960
add esp, 8
test eax, eax
je 0x414092
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0xdc], ecx
cmp dword [ecx + 0x84], 0
je 0x413fba
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xcc], eax
test eax, eax
je 0x413e92
lock inc dword [eax + 4]
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xdc], ecx
mov dword [ebp - 0xfc], ecx
mov dword [ebp - 0xf8], eax
lea eax, [ecx + 0x34]
mov byte [ebp - 4], 0xa
push str.cef
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.0040d650
mov eax, dword [ebp - 0xdc]
add eax, 0x34
mov byte [ebp - 4], 0xb
push 0x5169a0
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.0040d650
add esp, 0x18
push dword [ebp - 0xe4]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0xdc], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x413f3c
push dword [ebp - 0xe4]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0xc8], eax
test eax, eax
je 0x413f3c
push str.StartFlashEx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x413f30
push str.24.0.0.221
push dword [ebp - 0xd0]
call eax
mov dword [ebp - 0xdc], eax
push dword [ebp - 0xc8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp - 0xe4]
or eax, 0xffffffff
mov byte [ebp - 4], 0xb
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413f5e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xd0]
or eax, 0xffffffff
mov byte [ebp - 4], 0xa
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413f80
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xcc]
test ecx, ecx
je 0x413fad
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x413fad
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0xcc]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x413fad
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0xdc], 0
je 0x414092
mov eax, dword [0x55605c]
mov dword [ebp - 0xc8], eax
mov ecx, dword [edi - 0x10]
mov byte [ebp - 4], 0xd
test ecx, ecx
je 0x413fdd
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
jne 0x413ff5
call fcn.0040b050
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x41414b
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
or dword [ebp - 0xd4], 4
add eax, 0x10
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], eax
test edx, edx
jne 0x41401a
xor ecx, ecx
jmp 0x414038
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xc8], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414025
sub ecx, dword [ebp - 0xc8]
sar ecx, 1
push ecx
push edx
push dword [edi - 0xc]
lea eax, [ebp - 0xcc]
push edi
push eax
call fcn.0040f6d0
lea eax, [ebp - 0xcc]
push eax
call fcn.004275d0
mov edx, dword [ebp - 0xcc]
add esp, 0x18
mov byte [ebp - 4], 3
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41407b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0xe8], 1
call fcn.004c37e0
jmp 0x414092
mov esi, dword [ebp - 0xd8]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4140b0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4140cb
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xec]
mov eax, esi
mov byte [ebp - 4], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4140e9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0xc0]
test edi, edi
je 0x414111
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x414111
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x414111
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov eax, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b5d96
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404b30
call fcn.0040bc70
call fcn.004d899e
call fcn.004d899e
push 0x80004005
call fcn.00404b30
int3