Function at 0x10004b00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10030161
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x1003fe70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 0x40], ebx
push ebx
push ebx
push ebx
push ebx
mov esi, 1
push esi
push ebx
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], esi
call fcn.1000f795
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x50], vtable.myedit.0
mov byte [ebp - 4], 3
call fcn.1000d85c
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x10004b71
push 0x80004005
call fcn.10001680
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
call fcn.1000d85c
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x10004b9e
push 0x80004005
call fcn.10001680
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 5
call fcn.1000d85c
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x10004bcb
push 0x80004005
call fcn.10001680
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 6
call fcn.1000d85c
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x10004bf8
push 0x80004005
call fcn.10001680
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 7
call fcn.1000d85c
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x10004c25
push 0x80004005
call fcn.10001680
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 8
call fcn.1000d85c
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x10004c52
push 0x80004005
call fcn.10001680
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 9
call fcn.1000d85c
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x10004c7f
push 0x80004005
call fcn.10001680
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0xa
call fcn.1000d85c
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x10004cac
push 0x80004005
call fcn.10001680
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 0xb
call fcn.1000d85c
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x10004cd9
push 0x80004005
call fcn.10001680
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xc
call fcn.1000d85c
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x10004d06
push 0x80004005
call fcn.10001680
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp + 0xc]
add eax, 0x10
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
push ebx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x48], esp
mov edi, esp
push eax
mov dword [ebp - 0x40], esi
call fcn.10001040
add esp, 4
lea edx, [ebp - 0x44]
add eax, 0x10
push edx
mov dword [edi], eax
call fcn.10001e90
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xd
call fcn.100046b0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10004d6e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x10]
push esi
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x48], esp
mov edi, esp
push eax
call fcn.10001040
add esp, 4
lea ecx, [ebp - 0x44]
add eax, 0x10
push ecx
mov dword [edi], eax
call fcn.10001e90
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xe
call fcn.100046b0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10004dc2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x10]
push 2
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x48], esp
mov edi, esp
push eax
call fcn.10001040
add esp, 4
lea ecx, [ebp - 0x44]
add eax, 0x10
push ecx
mov dword [edi], eax
call fcn.10001e90
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xf
call fcn.100046b0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10004e17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x10]
push 3
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x48], esp
mov edi, esp
push eax
call fcn.10001040
add esp, 4
lea ecx, [ebp - 0x44]
add eax, 0x10
push ecx
mov dword [edi], eax
call fcn.10001e90
mov eax, dword [eax]
push eax
call fcn.1001b858
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10004e69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x34]
push str.https
push ecx
call fcn.1001b0dd
mov esi, dword [ebp + 8]
add esp, 8
cmp eax, ebx
sete al
movzx edi, al
neg edi
sbb edi, edi
and edi, 0x24a03000
add edi, 0x80080000
call fcn.10005610
call fcn.100056e0
lea edx, [ebp - 0x44]
push edx
push esi
call fcn.10005470
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x10
call fcn.100046b0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10004ed9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x44]
push ecx
push esi
call fcn.10005910
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x11
call fcn.100046b0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10004f13
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.cookie.txt
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x10005027
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push str.cookie.txt
call fcn.10001470
lea ecx, [ebp - 0x44]
push ecx
call fcn.100023c0
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x12
call fcn.100046b0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10004f70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x14]
cmp dword [ebx - 0xc], 0
jl 0x10004fd4
push str.cookie:
push ebx
call fcn.1001be01
add esp, 8
test eax, eax
je 0x10004f96
sub eax, ebx
cmp eax, 0xffffffff
jne 0x10005019
cmp dword [ebx - 0xc], 0
jl 0x10004fd4
push 0x1003626c
push ebx
call fcn.1001be01
add esp, 8
test eax, eax
je 0x10004fb5
sub eax, ebx
cmp eax, 0xffffffff
jne 0x10005019
cmp dword [ebx - 0xc], 0
jl 0x10004fd4
push str.COOKIE:
push ebx
call fcn.1001be01
add esp, 8
test eax, eax
je 0x10004fd4
sub eax, ebx
cmp eax, 0xffffffff
jne 0x10005019
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x44]
push str.Cookie:
push edx
call fcn.10004170
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x13
call fcn.100046b0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10005019
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x20]
call fcn.100046b0
xor ebx, ebx
push 0x10035da8
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x30]
push 0x10035da8
push edx
push eax
lea ecx, [ebp - 0x68]
call fcn.1001017d
mov ecx, dword [ebp - 0x2c]
push edi
push ebx
push ebx
push 1
push ebx
push ecx
push 1
mov ecx, eax
mov dword [ebp - 0x24], eax
call fcn.10010234
mov ebx, eax
push 0x10000000
lea edx, [ebp - 0x28]
push edx
mov ecx, ebx
mov dword [ebp - 0x3c], ebx
call fcn.1000f701
lea eax, [ebp - 0x38]
push eax
push 0x1f
mov ecx, ebx
call fcn.1000f0fc
mov eax, dword [ebp - 0x38]
push 0
push 4
lea ecx, [ebp - 0x48]
push ecx
or eax, 0x3380
push 0x1f
mov ecx, ebx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x48], eax
call fcn.1000f120
push 0
push 4
lea edx, [ebp - 0x48]
push edx
mov edi, 0x2ee0
push 2
mov ecx, ebx
mov dword [ebp - 0x48], edi
call fcn.1000f120
push 0
push 4
lea eax, [ebp - 0x48]
push eax
push 6
mov ecx, ebx
mov dword [ebp - 0x48], edi
call fcn.1000f120
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx - 0xc]
push 0
push 0
push eax
push ecx
mov ecx, ebx
call fcn.1000fd13
lea ecx, [ebp - 0x54]
push ecx
mov ecx, ebx
call fcn.1000f1a6
push 0
lea edx, [ebp - 0x1c]
push edx
push 0x16
mov ecx, ebx
call fcn.1000fdf5
push ecx
mov dword [ebp - 0x48], esp
mov edi, esp
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
push eax
call fcn.10001040
add esp, 4
add eax, 0x10
push esi
mov dword [edi], eax
call fcn.10005b50
call fcn.10005f50
cmp dword [ebp + 0x14], 0
je 0x10005280
push 0
push 0x10035da8
lea ecx, [ebp - 0x18]
call fcn.10001360
mov esi, dword [ebp + 8]
mov eax, dword [ebx]
mov edx, dword [eax + 0x34]
push 0x3e7
lea edi, [esi + 0x7bc]
push edi
mov ecx, ebx
call edx
test eax, eax
jne 0x10005243
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x18]
mov esi, dword [ecx]
add eax, 0xfffffff0
sub esi, 0x10
cmp eax, esi
je 0x100051b4
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x100051a4
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x100051a4
push eax
call fcn.10001040
mov dword [ebp + 8], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x10005197
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
add ecx, 0x10
mov dword [edx], ecx
jmp 0x100051b4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.10001360
cmp dword [ebp + 0x14], 1
jle 0x1000528c
push 0x10036288
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0x14]
push ecx
call fcn.10004090
add esp, 0xc
mov byte [ebp - 4], 0x15
mov esi, dword [ebp + 0xc]
push esi
push eax
lea edx, [ebp + 8]
push edx
call fcn.10003fd0
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 0x16
call fcn.100046b0
mov byte [ebp - 4], 0x15
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10005217
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x14
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000528c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xc
jmp 0x100052b2
mov byte [eax + esi + 0x7bc], 0
test edi, edi
jne 0x10005253
xor eax, eax
jmp 0x10005261
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10005258
sub eax, edx
push eax
push edi
lea ecx, [ebp - 0x14]
call fcn.10001360
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.10004380
jmp 0x10005134
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.100046b0
mov dword [ebp - 4], 0xc
jmp 0x100052b2
mov esi, dword [ebp - 0x24]
test ebx, ebx
je 0x100052cd
mov edx, dword [ebx]
mov eax, dword [edx + 0x4c]
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 4]
push 1
mov ecx, ebx
call eax
test esi, esi
je 0x100052e5
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10005308
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000532b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000534e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10005371
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10005394
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100053b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100053da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100053fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10005420
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 1
call fcn.1000fe67
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000544f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10