Function at 0x1004acb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10108e66
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x10137920]
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 eax, dword [ebp + 8]
xor ebx, ebx
lea esi, [ebp - 0x144]
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x148], ebx
call fcn.1001c350
mov dword [ebp - 4], ebx
lea esi, [ebp - 0xd4]
mov dword [ebp - 0x14c], reloc.WS2_32.dll_accept
call fcn.1001c2c0
mov edi, eax
push str.360se6
lea ecx, [ebp - 0x144]
push ecx
lea edx, [ebp - 0x9c]
push edx
mov byte [ebp - 4], 1
call fcn.10010100
add esp, 0xc
mov dword [ebp - 0x150], eax
mov byte [ebp - 4], 2
cmp dword [0x1013ba54], ebx
jne 0x1004ad74
push 0x138
call fcn.100656b5
add esp, 4
mov dword [ebp - 0x154], eax
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x1004ad69
mov esi, eax
call fcn.10011610
jmp 0x1004ad6b
xor eax, eax
mov byte [ebp - 4], 2
mov dword [0x1013ba54], eax
mov ecx, dword [ebp - 0x150]
push ebx
lea eax, [ebp - 0x14c]
push eax
mov edx, edi
lea esi, [ebp - 0x48]
call fcn.10011fc0
mov esi, 8
cmp dword [ebp - 0x88], esi
jb 0x1004ada8
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.10065453
add esp, 4
mov edi, 7
xor edx, edx
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], dx
mov byte [ebp - 4], 6
cmp dword [ebp - 0xc0], esi
jb 0x1004addd
mov eax, dword [ebp - 0xd4]
push eax
call fcn.10065453
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xc4], ebx
mov word [ebp - 0xd4], cx
cmp dword [ebp - 0x38], ebx
ja 0x1004b1e0
push str.IsWow64Process
push str.kernel32
mov dword [ebp - 0x14c], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x1004ae32
lea edx, [ebp - 0x14c]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x1004ae5a
cmp dword [ebp - 0x14c], ebx
je 0x1004ae5a
lea esi, [ebp - 0x10c]
call fcn.1001c380
mov byte [ebp - 4], 7
mov dword [ebp - 0x148], 1
mov esi, 8
jmp 0x1004ae77
lea esi, [ebp - 0xb8]
call fcn.1001c350
mov esi, 8
mov dword [ebp - 4], esi
mov dword [ebp - 0x148], 2
xor ecx, ecx
mov word [ebp - 0x80], cx
push eax
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
call fcn.10009ca0
mov dword [ebp - 4], 9
test byte [ebp - 0x148], 2
je 0x1004aecf
and dword [ebp - 0x148], 0xfffffffd
cmp dword [ebp - 0xa4], esi
jb 0x1004aeba
mov edx, dword [ebp - 0xb8]
push edx
call fcn.10065453
add esp, 4
xor eax, eax
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], ax
mov byte [ebp - 4], 0xb
test byte [ebp - 0x148], 1
je 0x1004af0f
and dword [ebp - 0x148], 0xfffffffe
cmp dword [ebp - 0xf8], esi
jb 0x1004aefa
mov ecx, dword [ebp - 0x10c]
push ecx
call fcn.10065453
add esp, 4
xor edx, edx
mov dword [ebp - 0xf8], edi
mov dword [ebp - 0xfc], ebx
mov word [ebp - 0x10c], dx
lea esi, [ebp - 0x64]
mov dword [ebp - 0x150], reloc.OLEAUT32.dll_SysReAllocString
call fcn.1001c2c0
mov edi, eax
push str.360se6
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x128]
push ecx
mov byte [ebp - 4], 0xc
call fcn.10010100
add esp, 0xc
mov dword [ebp - 0x14c], eax
mov byte [ebp - 4], 0xd
cmp dword [0x1013ba54], ebx
jne 0x1004af80
push 0x138
call fcn.100656b5
add esp, 4
mov dword [ebp - 0x154], eax
mov byte [ebp - 4], 0xe
cmp eax, ebx
je 0x1004af75
mov esi, eax
call fcn.10011610
jmp 0x1004af77
xor eax, eax
mov byte [ebp - 4], 0xd
mov dword [0x1013ba54], eax
mov ecx, dword [ebp - 0x14c]
push ebx
lea edx, [ebp - 0x150]
push edx
mov edx, edi
lea esi, [ebp - 0x2c]
call fcn.10011fc0
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xf
call fcn.10009ca0
mov edi, 8
cmp dword [ebp - 0x18], edi
jb 0x1004afbb
mov eax, dword [ebp - 0x2c]
push eax
call fcn.10065453
add esp, 4
xor ecx, ecx
mov esi, 7
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x114], edi
jb 0x1004afe3
mov edx, dword [ebp - 0x128]
push edx
call fcn.10065453
add esp, 4
xor eax, eax
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x114], esi
mov dword [ebp - 0x118], ebx
mov word [ebp - 0x128], ax
cmp dword [ebp - 0x50], edi
jb 0x1004b00d
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.10065453
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
cmp dword [ebp - 0x38], ebx
ja 0x1004b083
mov ecx, dword [0x1013ba54]
cmp ecx, ebx
jne 0x1004b05a
push 0x138
call fcn.100656b5
add esp, 4
mov dword [ebp - 0x154], eax
mov byte [ebp - 4], 0x10
cmp eax, ebx
je 0x1004b04c
mov esi, eax
call fcn.10011610
jmp 0x1004b04e
xor eax, eax
mov ecx, eax
mov byte [ebp - 4], 0xb
mov dword [0x1013ba54], ecx
lea edx, [ebp - 0xf0]
call fcn.10011d50
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x11
call fcn.10009ca0
cmp dword [ebp - 0xdc], edi
jb 0x1004b0ee
mov eax, dword [ebp - 0xf0]
push eax
jmp 0x1004b0e6
xor ecx, ecx
push esi
mov word [ebp - 0x2c], cx
push str.360se6
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
call fcn.1000abb0
lea edx, [ebp - 0x2c]
push edx
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x12
call fcn.1000bb10
add esp, 4
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x13
call fcn.10009ca0
cmp dword [ebp - 0x50], edi
jb 0x1004b0d1
mov eax, dword [ebp - 0x64]
push eax
call fcn.10065453
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
cmp dword [ebp - 0x18], edi
jb 0x1004b0ee
mov edx, dword [ebp - 0x2c]
push edx
call fcn.10065453
add esp, 4
mov byte [ebp - 4], 6
cmp dword [ebp - 0x6c], edi
jb 0x1004b103
mov eax, dword [ebp - 0x80]
push eax
call fcn.10065453
add esp, 4
mov esi, 8
mov edi, 7
push edi
xor eax, eax
push str.360se6
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.1000abb0
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x16
call fcn.1000a320
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], esi
jb 0x1004b14f
mov edx, dword [ebp - 0x2c]
push edx
call fcn.10065453
add esp, 4
lea esi, [ebp - 0xf0]
call fcn.1004d030
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x17
call fcn.1000a320
mov esi, 8
mov byte [ebp - 4], 6
cmp dword [ebp - 0xdc], esi
jb 0x1004b18a
mov eax, dword [ebp - 0xf0]
push eax
call fcn.10065453
add esp, 4
cmp dword [ebp - 0x38], ebx
je 0x1004b258
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x1004b19e
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
cmp al, bl
je 0x1004b258
push 0xffffffffffffffff
xor ecx, ecx
push ebx
lea edx, [ebp - 0x48]
mov word [ebp - 0x2c], cx
push edx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
call fcn.1000b050
mov byte [ebp - 4], 0x18
or dword [ebp - 0x148], 4
lea eax, [ebp - 0x2c]
jmp 0x1004b282
xor ecx, ecx
push edi
mov word [ebp - 0x2c], cx
push str.360se6
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
call fcn.1000abb0
lea edx, [ebp - 0x2c]
push edx
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x14
call fcn.1000bb10
add esp, 4
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x15
call fcn.10009ca0
cmp dword [ebp - 0x50], esi
jb 0x1004b22e
mov eax, dword [ebp - 0x64]
push eax
call fcn.10065453
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], 6
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
cmp dword [ebp - 0x18], esi
jb 0x1004b10d
mov edx, dword [ebp - 0x2c]
push edx
call fcn.10065453
add esp, 4
jmp 0x1004b10d
push ebx
xor eax, eax
push 0x101134e8
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], ax
call fcn.1000abb0
mov dword [ebp - 4], 0x19
or dword [ebp - 0x148], esi
lea eax, [ebp - 0x80]
mov esi, dword [ebp - 0x158]
xor ecx, ecx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov word [esi], cx
push eax
mov ecx, esi
call fcn.10009ca0
mov eax, dword [ebp - 0x148]
or eax, 0x10
test al, 8
je 0x1004b2d5
and eax, 0xfffffff7
cmp dword [ebp - 0x6c], 8
mov dword [ebp - 0x148], eax
jb 0x1004b2c9
mov edx, dword [ebp - 0x80]
push edx
call fcn.10065453
mov eax, dword [ebp - 0x148]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], cx
test al, 4
je 0x1004b2f7
cmp dword [ebp - 0x18], 8
jb 0x1004b2eb
mov edx, dword [ebp - 0x2c]
push edx
call fcn.10065453
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], 8
jb 0x1004b309
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.10065453
add esp, 4
xor edx, edx
cmp dword [ebp - 0x130], 8
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
jb 0x1004b32d
mov eax, dword [ebp - 0x144]
push eax
call fcn.10065453
add esp, 4
mov eax, esi
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.1006656c
mov esp, ebp
pop ebp
ret