Function at 0x10044d20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10109638
mov eax, dword fs:[0]
push eax
sub esp, 0x170
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 - 0x128]
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x164], ebx
call fcn.1001c350
mov dword [ebp - 4], ebx
lea esi, [ebp - 0xf0]
mov dword [ebp - 0x168], reloc.WS2_32.dll_accept
call fcn.1001c2c0
mov edi, eax
lea esi, [ebp - 0x10c]
mov byte [ebp - 4], 1
call fcn.1004cbb0
mov esi, eax
push 0x1012329c
lea ecx, [ebp - 0x128]
push ecx
lea edx, [ebp - 0x160]
push edx
mov byte [ebp - 4], 2
call fcn.10010100
add esp, 0xc
push esi
push eax
lea eax, [ebp - 0xd4]
push eax
mov byte [ebp - 4], 3
call fcn.10010440
add esp, 0xc
mov dword [ebp - 0x16c], eax
mov byte [ebp - 4], 4
cmp dword [0x1013ba54], ebx
jne 0x10044e0a
push 0x138
call fcn.100656b5
add esp, 4
mov dword [ebp - 0x170], eax
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x10044dff
mov esi, eax
call fcn.10011610
jmp 0x10044e01
xor eax, eax
mov byte [ebp - 4], 4
mov dword [0x1013ba54], eax
push ebx
lea ecx, [ebp - 0x168]
push ecx
mov ecx, dword [ebp - 0x16c]
mov edx, edi
lea esi, [ebp - 0x64]
call fcn.10011fc0
mov edi, 8
cmp dword [ebp - 0xc0], edi
jb 0x10044e3e
mov edx, dword [ebp - 0xd4]
push edx
call fcn.10065453
add esp, 4
mov esi, 7
xor eax, eax
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xc4], ebx
mov word [ebp - 0xd4], ax
cmp dword [ebp - 0x14c], edi
jb 0x10044e6f
mov ecx, dword [ebp - 0x160]
push ecx
call fcn.10065453
add esp, 4
xor edx, edx
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x150], ebx
mov word [ebp - 0x160], dx
cmp dword [ebp - 0xf8], edi
jb 0x10044e9b
mov eax, dword [ebp - 0x10c]
push eax
call fcn.10065453
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xf8], esi
mov dword [ebp - 0xfc], ebx
mov word [ebp - 0x10c], cx
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0xdc], edi
jb 0x10044ecb
mov edx, dword [ebp - 0xf0]
push edx
call fcn.10065453
add esp, 4
xor eax, eax
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xe0], ebx
mov word [ebp - 0xf0], ax
cmp dword [ebp - 0x54], ebx
ja 0x100453be
push str.IsWow64Process
push str.kernel32
mov dword [ebp - 0x168], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x10044f20
lea ecx, [ebp - 0x168]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x10044f40
cmp dword [ebp - 0x168], ebx
je 0x10044f40
lea esi, [ebp - 0x80]
call fcn.1001c380
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x164], 1
jmp 0x10044f59
lea esi, [ebp - 0x48]
call fcn.1001c350
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x164], 2
push eax
lea ecx, [ebp - 0x128]
call fcn.10009ca0
test byte [ebp - 0x164], 2
je 0x10044f96
and dword [ebp - 0x164], 0xfffffffd
cmp dword [ebp - 0x34], edi
jb 0x10044f86
mov edx, dword [ebp - 0x48]
push edx
call fcn.10065453
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
mov dword [ebp - 4], 0xa
test byte [ebp - 0x164], 1
je 0x10044fbe
and dword [ebp - 0x164], 0xfffffffe
cmp dword [ebp - 0x6c], edi
jb 0x10044fbe
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.10065453
add esp, 4
lea esi, [ebp - 0x80]
mov dword [ebp - 0x16c], reloc.OLEAUT32.dll_SysReAllocString
call fcn.1001c2c0
mov dword [ebp - 0x168], eax
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 0xd
call fcn.1004cbb0
mov esi, eax
push 0x1012329c
lea edx, [ebp - 0x128]
push edx
lea eax, [ebp - 0x144]
push eax
mov byte [ebp - 4], 0xe
call fcn.10010100
add esp, 0xc
push esi
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov byte [ebp - 4], 0xf
call fcn.10010440
add esp, 0xc
mov dword [ebp - 0x170], eax
mov byte [ebp - 4], 0x10
cmp dword [0x1013ba54], ebx
jne 0x10045059
push 0x138
call fcn.100656b5
add esp, 4
mov dword [ebp - 0x174], eax
mov byte [ebp - 4], 0x11
cmp eax, ebx
je 0x1004504e
mov esi, eax
call fcn.10011610
jmp 0x10045050
xor eax, eax
mov byte [ebp - 4], 0x10
mov dword [0x1013ba54], eax
mov ecx, dword [ebp - 0x170]
push ebx
lea edx, [ebp - 0x16c]
push edx
mov edx, dword [ebp - 0x168]
lea esi, [ebp - 0x48]
call fcn.10011fc0
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x12
call fcn.10009ca0
cmp dword [ebp - 0x34], edi
jb 0x10045093
mov eax, dword [ebp - 0x48]
push eax
call fcn.10065453
add esp, 4
xor ecx, ecx
mov esi, 7
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x18], edi
jb 0x100450b5
mov edx, dword [ebp - 0x2c]
push edx
call fcn.10065453
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x130], edi
jb 0x100450d8
mov ecx, dword [ebp - 0x144]
push ecx
call fcn.10065453
add esp, 4
xor edx, edx
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x134], ebx
mov word [ebp - 0x144], dx
cmp dword [ebp - 0x88], edi
jb 0x10045104
mov eax, dword [ebp - 0x9c]
push eax
call fcn.10065453
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], cx
cmp dword [ebp - 0x6c], edi
jb 0x1004512e
mov edx, dword [ebp - 0x80]
push edx
call fcn.10065453
add esp, 4
xor eax, eax
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], ax
cmp dword [ebp - 0x54], ebx
ja 0x100452c7
mov edi, dword [0x1013ba54]
cmp edi, ebx
jne 0x1004517f
push 0x138
call fcn.100656b5
add esp, 4
mov dword [ebp - 0x174], eax
mov byte [ebp - 4], 0x13
cmp eax, ebx
je 0x10045171
mov esi, eax
call fcn.10011610
jmp 0x10045173
xor eax, eax
mov edi, eax
mov byte [ebp - 4], 0xa
mov dword [0x1013ba54], edi
lea ebx, [ebp - 0xb8]
call fcn.10011900
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x14
call fcn.10009ca0
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0xa4], 8
jb 0x100451b3
mov ecx, dword [ebp - 0xb8]
push ecx
call fcn.10065453
add esp, 4
mov edi, 8
xor ebx, ebx
xor ecx, ecx
push 1
mov word [ebp - 0x48], cx
push 0x1012329c
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
call fcn.1000abb0
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x1d
call fcn.1000a320
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x34], edi
jb 0x10045201
mov eax, dword [ebp - 0x48]
push eax
call fcn.10065453
add esp, 4
lea esi, [ebp - 0xb8]
call fcn.1004cbb0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x1e
call fcn.1000a320
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0xa4], edi
jb 0x10045237
mov ecx, dword [ebp - 0xb8]
push ecx
call fcn.10065453
add esp, 4
lea esi, [ebp - 0xb8]
call fcn.1004cbe0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x1f
call fcn.1000a320
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0xa4], edi
jb 0x1004526d
mov edx, dword [ebp - 0xb8]
push edx
call fcn.10065453
add esp, 4
cmp dword [ebp - 0x54], ebx
je 0x100454b5
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], edi
jae 0x10045281
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
cmp al, bl
je 0x100454b5
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x64]
xor eax, eax
push ecx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
call fcn.1000b050
mov byte [ebp - 4], 0x20
or dword [ebp - 0x164], 4
lea eax, [ebp - 0x48]
jmp 0x100454e3
lea esi, [ebp - 0xb8]
call fcn.1004cbb0
mov esi, eax
mov byte [ebp - 4], 0x15
push 1
xor edx, edx
push 0x1012329c
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
call fcn.1000abb0
push esi
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x9c]
push ecx
mov byte [ebp - 4], 0x16
call fcn.10010440
add esp, 0xc
push eax
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x17
call fcn.1000bb10
add esp, 4
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x18
call fcn.10009ca0
cmp dword [ebp - 0x6c], edi
jb 0x10045340
mov edx, dword [ebp - 0x80]
push edx
call fcn.10065453
add esp, 4
xor eax, eax
mov esi, 7
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], ax
cmp dword [ebp - 0x88], edi
jb 0x10045368
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.10065453
add esp, 4
xor edx, edx
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], dx
cmp dword [ebp - 0x18], edi
jb 0x1004538e
mov eax, dword [ebp - 0x2c]
push eax
call fcn.10065453
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0xa4], edi
jb 0x100451ba
mov edx, dword [ebp - 0xb8]
push edx
call fcn.10065453
add esp, 4
jmp 0x100451ba
lea esi, [ebp - 0xb8]
call fcn.1004cbb0
mov esi, eax
mov byte [ebp - 4], 0x19
push 1
xor eax, eax
push 0x1012329c
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.1000abb0
push esi
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x9c]
push edx
mov byte [ebp - 4], 0x1a
call fcn.10010440
add esp, 0xc
push eax
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x1b
call fcn.1000bb10
add esp, 4
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x1c
call fcn.10009ca0
cmp dword [ebp - 0x6c], edi
jb 0x10045437
mov eax, dword [ebp - 0x80]
push eax
call fcn.10065453
add esp, 4
xor ecx, ecx
mov esi, 7
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], cx
cmp dword [ebp - 0x88], edi
jb 0x1004545f
mov edx, dword [ebp - 0x9c]
push edx
call fcn.10065453
add esp, 4
xor eax, eax
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], ax
cmp dword [ebp - 0x18], edi
jb 0x10045485
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.10065453
add esp, 4
xor edx, edx
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
cmp dword [ebp - 0xa4], edi
jb 0x100451ba
mov eax, dword [ebp - 0xb8]
push eax
call fcn.10065453
add esp, 4
jmp 0x100451ba
push ebx
xor edx, edx
push 0x101134e8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
call fcn.1000abb0
mov dword [ebp - 4], 0x21
or dword [ebp - 0x164], edi
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x178]
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], cx
push eax
mov ecx, esi
call fcn.10009ca0
mov eax, dword [ebp - 0x164]
or eax, 0x10
test al, 8
je 0x1004553d
and eax, 0xfffffff7
mov dword [ebp - 0x164], eax
cmp dword [ebp - 0x18], edi
jb 0x1004552d
mov edx, dword [ebp - 0x2c]
push edx
call fcn.10065453
mov eax, dword [ebp - 0x164]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
test al, 4
je 0x10045562
cmp dword [ebp - 0x34], edi
jb 0x10045552
mov edx, dword [ebp - 0x48]
push edx
call fcn.10065453
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x50], edi
jb 0x10045573
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.10065453
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
cmp dword [ebp - 0x114], edi
jb 0x1004559a
mov eax, dword [ebp - 0x128]
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