Function at 0x4011fa
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
mov dword [0x4b5ac5], eax
push 1
push 0x1f40
push 1
push 0x1388
call fcn.00401e4a
mov dword [0x4b5ac9], eax
call fcn.00401ebc
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 0xc]
push dword [ebp + 8]
call dword [0x4b5c79]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x40125e
push 6
call fcn.0044dbd4
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40126e
push ebx
call fcn.0044dbce
add esp, 4
push accept
push 0x4b5ac1
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xf0]
push 0x7c
call fcn.00401fe6
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
push 1
push dword [ebp - 0xc]
push 0x4b5ac1
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x19c]
mov dword [ebp - 0xc], esp
push 0xffffffec
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongA]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4012e8
push 6
call fcn.0044dbd4
add esp, 4
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 0x80000
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.0044e0a0
add esp, 0x1c
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
push 0xffffffec
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowLongA]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x401340
push 6
call fcn.0044dbd4
add esp, 4
push 0x80000301
push 0
push 0xc0
push 0x80000301
push 0
push 0xe
push 0x80000301
push 0
push 0x7f
push 3
mov ebx, 0x338
call fcn.0044e0c0
add esp, 0x28
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push 1
push 2
mov ebx, 0xc8
call fcn.0044e0a0
add esp, 0x1c
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push dword [ebp - 0x10]
push 0xff
push dword [ebp - 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x4013d3
push 6
call fcn.0044dbd4
add esp, 4
push 1
push 1
push 0x4b5ac1
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1cc]
push 0x81
call fcn.00402022
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 1
push dword [ebp - 0xc]
push 0x4b5ac1
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1a4]
push 1
push 0x20
push 1
push 0x18
push 1
push 0xd1
push 1
push 0xcf
push 1
push 0x58
push 1
push 1
push dword [ebp + 8]
push 0x4b5acd
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x184]
push 0x4b5acd
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x80]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 1
push 0x18
push 1
push 0xc8
push 1
push 0
push 1
push 2
push 1
push 0x201
push 1
mov eax, 0x4992d0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0xc]
push 0x4b5ad1
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x184]
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4014d2
push ebx
call fcn.0044dbce
add esp, 4
push 0x64
push 0
push 0x4b5acd
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x194]
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 1
push 0xe
push 1
push 0x17
push 1
push 6
push 1
push 0x179
push 0x28
call fcn.0044dbc8
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x14]
push eax
push 1
push 0x11170
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
push 0x4b5ad5
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x184]
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40157e
push ebx
call fcn.0044dbce
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.0044dbce
add esp, 4
push 0x7d
call fcn.00401fe6
mov dword [ebp - 0xc], eax
push 1
push dword [ebp - 0xc]
push 0x4b5ad5
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1a8]
push 0x7d
call fcn.00401fe6
mov dword [ebp - 0xc], eax
push 1
push dword [ebp - 0xc]
push 0x4b5ad5
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1ac]
push 0x7d
call fcn.00401fe6
mov dword [ebp - 0xc], eax
push 1
push dword [ebp - 0xc]
push 0x4b5ad5
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1b4]
push 1
push 0
push 0x4b5ad5
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1a0]
mov eax, str.SOFTWARETqdigitalSoulPath
push eax
mov ebx, dword [0x4b5ad9]
test ebx, ebx
je 0x401628
push ebx
call fcn.0044dbce
add esp, 4
pop eax
mov dword [0x4b5ad9], eax
push 0x4026ee
push 0x4b5ad5
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1d4]
push 0
push 0
push 0
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [0x4b5ad9]
test eax, eax
jne 0x401660
mov eax, 0x499305
push eax
push 0x80000301
push 0
push 4
push 3
mov ebx, 0x698
call fcn.0044e0f0
add esp, 0x28
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x401696
push ebx
call fcn.0044dbce
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x80000301
push 0
push 1
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4016b9
mov eax, 0x499305
push eax
push 2
mov ebx, 0x138
call fcn.0044e290
add esp, 0x1c
mov dword [ebp - 0xc], eax
push 0x80000101
push 0
push 0x5c
push 1
mov ebx, 0x140
call fcn.0044e300
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
push dword [ebp - 0xc]
call fcn.00401096
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40171d
push ebx
call fcn.0044dbce
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40172d
push ebx
call fcn.0044dbce
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x401796
push 0x80000101
push 0
push 0x5c
push 1
mov ebx, 0x140
call fcn.0044e300
add esp, 0x10
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
push dword [ebp - 8]
mov ecx, 2
call fcn.0040119e
add esp, 8
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40177e
push ebx
call fcn.0044dbce
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x401792
push ebx
call fcn.0044dbce
add esp, 4
pop eax
mov dword [ebp - 8], eax
call fcn.0040205e
mov dword [ebp - 0xc], eax
push str.ani_fenland.ani
push dword [ebp - 0xc]
mov ecx, 2
call fcn.0040119e
add esp, 8
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4017c6
push ebx
call fcn.0044dbce
add esp, 4
mov dword [ebp - 0x14], esp
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x4017e8
push 6
call fcn.0044dbd4
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4017fb
push ebx
call fcn.0044dbce
add esp, 4
cmp dword [ebp - 0x18], 0
je 0x40187b
call fcn.0040205e
mov dword [ebp - 0x20], eax
push str.ani_new.ani
push dword [ebp - 0x20]
mov ecx, 2
call fcn.0040119e
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401835
push ebx
call fcn.0044dbce
add esp, 4
mov dword [ebp - 0x28], esp
push dword [ebp - 0x24]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x401857
push 6
call fcn.0044dbd4
add esp, 4
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40186a
push ebx
call fcn.0044dbce
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x40187b
mov eax, 1
jmp 0x40187d
xor eax, eax
test eax, eax
je 0x401ba1
call fcn.0040205e
mov dword [ebp - 0xc], eax
call fcn.00402133
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
push 0x499322
push dword [ebp - 0xc]
mov ecx, 3
call fcn.0040119e
add esp, 0xc
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4018c0
push ebx
call fcn.0044dbce
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4018d0
push ebx
call fcn.0044dbce
add esp, 4
mov dword [ebp - 0x18], esp
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x4018f2
push 6
call fcn.0044dbd4
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401905
push ebx
call fcn.0044dbce
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x401990
call fcn.0040205e
mov dword [ebp - 0xc], eax
call fcn.00402133
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
push 0x499322
push dword [ebp - 0xc]
mov ecx, 3
call fcn.0040119e
add esp, 0xc
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40194a
push ebx
call fcn.0044dbce
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40195a
push ebx
call fcn.0044dbce
add esp, 4
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x40196d
mov eax, 0x499305
push eax
push 1
mov ebx, 0x244
call fcn.0044e320
add esp, 0x10
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401990
push ebx
call fcn.0044dbce
add esp, 4
call fcn.0040205e
mov dword [ebp - 0xc], eax
call fcn.00402133
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
push dword [ebp - 0xc]
mov ecx, 2
call fcn.0040119e
add esp, 8
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4019c6
push ebx
call fcn.0044dbce
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4019d6
push ebx
call fcn.0044dbce
add esp, 4
call fcn.0040205e
mov dword [ebp - 0x18], eax
call fcn.00402133
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push 0x499322
push dword [ebp - 0x18]
mov ecx, 3
call fcn.0040119e
add esp, 0xc
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401a11
push ebx
call fcn.0044dbce
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x401a21
push ebx
call fcn.0044dbce
add esp, 4
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x401a34
mov eax, 0x499305
push eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x401a48
mov eax, 0x499305
push eax
push 2
mov ebx, 0x23c
call fcn.0044e330
add esp, 0x1c
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401a6b
push ebx
call fcn.0044dbce
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401a7b
push ebx
call fcn.0044dbce
add esp, 4
push 0
push 0
push 0
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [0x4b5ad9]
test eax, eax
jne 0x401a96
mov eax, 0x499305
push eax
push 0x80000301
push 0
push 4
push 3
mov ebx, 0x698
call fcn.0044e0f0
add esp, 0x28
mov dword [ebp - 0xc], eax
call fcn.0040205e
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
push dword [ebp - 0xc]
call fcn.00401096
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401aed
push ebx
call fcn.0044dbce
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401afd
push ebx
call fcn.0044dbce
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x401b67
call fcn.0040205e
mov dword [ebp - 0xc], eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x401b22
mov eax, 0x499305
push eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [0x4b5ad9]
test eax, eax
jne 0x401b38
mov eax, 0x499305
push eax
push 0x80000301
push 0
push 4
push 3
mov ebx, 0x6a4
call fcn.0044e350
add esp, 0x28
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401b67
push ebx
call fcn.0044dbce
add esp, 4
push 0x80000301
push 0
push 0x4b5add
push 0
push 0
push 0
push reloc.WSOCK32.dll_getsockname
push 0
push 0x41661b
push 3
mov ebx, 0
mov eax, 0x4540e0
call fcn.0044e000
add esp, 0x28
jmp 0x401e34
push str.ani_new.ani
push dword [ebp - 8]
mov ecx, 2
call fcn.0040119e
add esp, 8
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x401bdb
push 6
call fcn.0044dbd4
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401bee
push ebx
call fcn.0044dbce
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x401c56
push str.ani_fenland.ANI
push dword [ebp - 8]
mov ecx, 2
call fcn.0040119e
add esp, 8
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0x1c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x401c32
push 6
call fcn.0044dbd4
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x401c45
push ebx
call fcn.0044dbce
add esp, 4
cmp dword [ebp - 0x24], 0
je 0x401c56
mov eax, 1
jmp 0x401c58
xor eax, eax
test eax, eax
je 0x401cac
call fcn.00402133
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
push dword [ebp - 8]
mov ecx, 2
call fcn.0040119e
add esp, 8
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401c8e
push ebx
call fcn.0044dbce
add esp, 4
lea eax, [ebp - 0x10]
push eax
call fcn.00402196
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401ca7
push ebx
call fcn.0044dbce
add esp, 4
jmp 0x401e34
call fcn.004025a1
mov dword [ebp - 0xc], eax
push str.ani_new.ani
push dword [ebp - 0xc]
mov ecx, 2
call fcn.0040119e
add esp, 8
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401cdc
push ebx
call fcn.0044dbce
add esp, 4
mov dword [ebp - 0x14], esp
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x401cfe
push 6
call fcn.0044dbd4
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401d11
push ebx
call fcn.0044dbce
add esp, 4
cmp dword [ebp - 0x18], 0
je 0x401d91
call fcn.004025a1
mov dword [ebp - 0x20], eax
push str.ani_fenland.ANI
push dword [ebp - 0x20]
mov ecx, 2
call fcn.0040119e
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401d4b
push ebx
call fcn.0044dbce
add esp, 4
mov dword [ebp - 0x28], esp
push dword [ebp - 0x24]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x401d6d
push 6
call fcn.0044dbd4
add esp, 4
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401d80
push ebx
call fcn.0044dbce
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x401d91
mov eax, 1
jmp 0x401d93
xor eax, eax
test eax, eax
je 0x401dff
call fcn.004025a1
mov dword [ebp - 0xc], eax
call fcn.00402133
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
push dword [ebp - 0xc]
mov ecx, 2
call fcn.0040119e
add esp, 8
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401dd1
push ebx
call fcn.0044dbce
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401de1
push ebx
call fcn.0044dbce
add esp, 4
lea eax, [ebp - 0x14]
push eax
call fcn.00402196
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401dfa
push ebx
call fcn.0044dbce
add esp, 4
jmp 0x401e34
push 0x80000301
push 0
push 0x4b5ae1
push 0
push 0
push 0
push reloc.WSOCK32.dll_getsockname
push 0
push 0x417880
push 3
mov ebx, 0
mov eax, 0x4540e0
call fcn.0044e000
add esp, 0x28
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x401e44
push ebx
call fcn.0044dbce
add esp, 4
mov esp, ebp
pop ebp
ret 4