Function at 0x1003a430
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016c5ed
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x101d7c7c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call fcn.10112750
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.100b8f50
xor eax, eax
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003a4b0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.10012940
cmp dword [ebp - 0x238], 0
mov bl, 1
mov dword [ebp - 4], 0
je 0x1003a785
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1003a4f2
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003a785
cmp dword [esi + 0x14], 8
jb 0x1003a509
mov esi, dword [esi]
push 0x10186a64
push 0x1018a158
push str.Login
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.1003b180
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x230]
push eax
push str.show1_:__s
call fcn.1004d370
add esp, 0x1c
cmp dword [ebp - 0x220], 0
je 0x1003a749
cmp dword [ebp - 0x234], 8
lea esi, [ebp - 0x248]
cmovae esi, dword [ebp - 0x248]
call fcn.1000cdc0
mov ecx, eax
test ecx, ecx
je 0x1003a7e0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x250], eax
push esi
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 2
call fcn.1000e2c0
test al, al
jne 0x1003a5cc
test esi, esi
jne 0x1003a5a5
xor ecx, ecx
jmp 0x1003a5bf
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003a5b0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x250]
call fcn.1000d900
cmp dword [ebp - 0x21c], 8
lea esi, [ebp - 0x230]
mov byte [ebp - 4], 3
cmovae esi, dword [ebp - 0x230]
call fcn.1000cdc0
mov ecx, eax
test ecx, ecx
je 0x1003a7ea
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24c], eax
push esi
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 4
call fcn.1000e2c0
test al, al
jne 0x1003a63e
test esi, esi
jne 0x1003a61d
xor ecx, ecx
jmp 0x1003a631
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003a622
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x24c]
call fcn.1000d900
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.100ae2b0
add esp, 0xc
mov edx, dword [eax]
mov ecx, edx
mov byte [ebp - 4], 6
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003a670
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.10012940
mov edx, dword [ebp - 0x254]
or esi, 0xffffffff
mov byte [ebp - 4], 5
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003a6b0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24c]
mov eax, esi
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003a6d1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x250]
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x1003a6f0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push str.show2_:__s
call fcn.1004d370
add esp, 8
cmp dword [ebp - 0x220], 0
je 0x1003a749
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.1013ff91
add esp, 4
test eax, eax
jle 0x1003a749
lea ecx, [ebp - 0x230]
call fcn.100109e0
jmp 0x1003a787
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x1003a785
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003a77b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a7f4
push edx
push ecx
call fcn.100acb1e
add esp, 8
xor bl, bl
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x1003a7c3
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003a7b9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a7f9
push edx
push ecx
call fcn.100acb1e
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100acb08
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.1000ae00
push 0x80004005
call fcn.1000ae00
call fcn.1012fb57
call fcn.1012fb57
int3