Function at 0x67c67f0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x681c7fc
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x10f0
call fcn.067f95a0
mov eax, dword [0x6831080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x10e8], esi
mov dword [ebp - 0x10f0], ecx
push 0xfffffffffffffff5
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x1020], 0
push 0x68287ac
lea ecx, [ebp - 0x1030]
mov dword [ebp - 0x101c], 0
movups xmmword [ebp - 0x1030], xmm0
call fcn.067cb450
push 0xfff
lea eax, [ebp - 0x1017]
mov byte [ebp - 4], 2
push 0
push eax
mov byte [ebp - 0x1018], 0
call fcn.067fa1c0
add esp, 0xc
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
lea eax, [ebp - 0x1034]
push eax
push 0x1000
lea eax, [ebp - 0x1018]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x67c6dbd
cmp dword [ebp - 0x1034], 0
je 0x67c6dbd
xorps xmm0, xmm0
mov dword [ebp - 0x103c], 0
lea eax, [ebp - 0x1018]
mov dword [ebp - 0x1038], 0
movups xmmword [ebp - 0x104c], xmm0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x67c6906
sub eax, edx
lea ecx, [ebp - 0x104c]
push eax
lea eax, [ebp - 0x1018]
push eax
call fcn.067cb450
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1034]
mov edx, dword [ebp - 0x103c]
cmp ecx, edx
ja 0x67c6956
cmp dword [ebp - 0x1038], 0xf
lea eax, [ebp - 0x104c]
mov dword [ebp - 0x103c], ecx
cmova eax, dword [ebp - 0x104c]
mov byte [eax + ecx], 0
jmp 0x67c69af
mov esi, dword [ebp - 0x1038]
mov edi, ecx
mov eax, esi
sub edi, edx
sub eax, edx
cmp edi, eax
ja 0x67c6993
cmp esi, 0xf
mov dword [ebp - 0x103c], ecx
lea eax, [ebp - 0x104c]
cmova eax, dword [ebp - 0x104c]
push edi
push 0
lea esi, [eax + edx]
push esi
call fcn.067fa1c0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x67c69af
push 0
push edi
mov byte [ebp - 0x10f8], 0
lea ecx, [ebp - 0x104c]
push dword [ebp - 0x10f8]
push edi
call fcn.067cb840
cmp dword [ebp - 0x1038], 0xf
lea eax, [ebp - 0x104c]
mov edi, dword [ebp - 0x104c]
lea esi, [ebp - 0x104c]
mov ecx, dword [ebp - 0x103c]
cmova eax, edi
mov edx, dword [ebp - 0x1020]
cmova esi, edi
mov dword [ebp - 0x10f4], edi
mov dword [ebp - 0x10fc], esi
mov al, byte [ecx + eax - 1]
mov byte [ebp - 0x10e1], al
mov eax, dword [ebp - 0x101c]
sub eax, edx
push ecx
cmp ecx, eax
ja 0x67c6a37
cmp dword [ebp - 0x101c], 0xf
lea esi, [ebp - 0x1030]
push dword [ebp - 0x10fc]
cmova esi, dword [ebp - 0x1030]
lea eax, [edx + ecx]
add esi, edx
mov dword [ebp - 0x1020], eax
push esi
call fcn.067f9c40
mov eax, dword [ebp - 0x103c]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x67c6a5d
push esi
mov byte [ebp - 0x10ec], 0
push dword [ebp - 0x10ec]
push ecx
lea ecx, [ebp - 0x1030]
call fcn.067cb9a0
mov edi, dword [ebp - 0x104c]
mov dword [ebp - 0x10f4], edi
cmp byte [ebp - 0x10e1], 0x3e
je 0x67c6ae2
cmp dword [ebp - 0x10f0], 0
jne 0x67c6ae2
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1038]
cmp eax, 0xf
jbe 0x67c6aa9
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x67c6a9f
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x67c6e44
push ecx
push edi
call fcn.067f847c
add esp, 8
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
lea eax, [ebp - 0x1034]
push eax
push 0x1000
lea eax, [ebp - 0x1018]
push eax
push dword [ebp - 0x10e8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x67c68d2
jmp 0x67c6dbd
xor ecx, ecx
cmp dword [ebp - 0x1020], ecx
jle 0x67c6b3f
mov edx, dword [ebp - 0x101c]
mov esi, dword [ebp - 0x1030]
mov edi, dword [ebp - 0x1020]
nop
cmp edx, 0xf
lea eax, [ebp - 0x1030]
cmova eax, esi
cmp byte [eax + ecx], 0xd
jne 0x67c6b34
cmp edx, 0xf
lea eax, [ebp - 0x1030]
cmova eax, esi
mov byte [eax + ecx], 0x20
mov edx, dword [ebp - 0x101c]
mov esi, dword [ebp - 0x1030]
mov edi, dword [ebp - 0x1020]
inc ecx
cmp ecx, edi
jl 0x67c6b00
mov edi, dword [ebp - 0x10f4]
sub esp, 0x18
lea eax, [ebp - 0x1030]
mov ecx, esp
push eax
call fcn.067c9480
lea eax, [ebp - 0x107c]
push eax
lea ecx, [ebx + 8]
call fcn.067d1a20
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1064]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x1054], 0
push 0x68287ac
movups xmmword [ebp - 0x1064], xmm0
mov dword [ebp - 0x1050], 0
call fcn.067cb450
mov byte [ebp - 4], 5
lea ecx, [ebx + 0x94]
cmp dword [ebx + 0xa8], 7
mov eax, dword [ebx + 0xa4]
cmova ecx, dword [ebx + 0x94]
lea eax, [ecx + eax*2]
lea ecx, [ebx + 0x94]
cmova ecx, dword [ebx + 0x94]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x1094]
call fcn.067cad80
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0x10e8], esp
xorps xmm0, xmm0
push 0xc
movups xmmword [ecx], xmm0
push str._api_session
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.067cb450
sub esp, 0x18
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x10f0], esp
xorps xmm0, xmm0
push 0x11
movups xmmword [ecx], xmm0
push str._api_connectivity
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.067cb450
sub esp, 0x18
mov byte [ebp - 4], 8
lea eax, [ebp - 0x1094]
mov ecx, esp
push eax
call fcn.067c9480
lea ecx, [ebp - 0x10e0]
mov byte [ebp - 4], 6
call fcn.067c29d0
sub esp, 0x18
mov byte [ebp - 4], 9
lea eax, [ebp - 0x107c]
mov dword [ebp - 0x10e8], esp
mov ecx, esp
push eax
call fcn.067c9480
sub esp, 0x18
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0x10f0], esp
lea eax, [ebp - 0x10b0]
push eax
call fcn.067c9480
sub esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x10e0]
mov ecx, esp
push eax
call fcn.067c9480
lea eax, [ebp - 0x1064]
mov byte [ebp - 4], 9
push eax
call fcn.067ccec0
lea ecx, [ebp - 0x10e0]
mov dword [ebx + 0x40], 0
call fcn.067c3ab0
mov ecx, dword [ebp - 0x1080]
cmp ecx, 0xf
jbe 0x67c6cf8
mov edx, dword [ebp - 0x1094]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x67c6cee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x67c6e3f
push ecx
push edx
call fcn.067f847c
add esp, 8
mov ecx, dword [ebp - 0x1050]
cmp ecx, 0xf
jbe 0x67c6d32
mov edx, dword [ebp - 0x1064]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x67c6d28
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x67c6e3f
push ecx
push edx
call fcn.067f847c
add esp, 8
mov ecx, dword [ebp - 0x1068]
cmp ecx, 0xf
jbe 0x67c6d6c
mov edx, dword [ebp - 0x107c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x67c6d62
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x67c6e3f
push ecx
push edx
call fcn.067f847c
add esp, 8
mov eax, dword [ebp - 0x1038]
mov dword [ebp - 0x106c], 0
mov dword [ebp - 0x1068], 0xf
mov byte [ebp - 0x107c], 0
cmp eax, 0xf
jbe 0x67c6dbd
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x67c6db3
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x67c6e3f
push ecx
push edi
call fcn.067f847c
add esp, 8
mov ecx, dword [ebp - 0x101c]
cmp ecx, 0xf
jbe 0x67c6df3
mov edx, dword [ebp - 0x1030]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x67c6de9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x67c6e44
push ecx
push edx
call fcn.067f847c
add esp, 8
lea ecx, [ebx + 8]
mov dword [ebp - 0x1020], 0
mov dword [ebp - 0x101c], 0xf
mov byte [ebp - 0x1030], 0
call fcn.067c3b90
lea ecx, [ebx + 0x94]
call fcn.067c3920
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.067f846e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.067fd39a
call fcn.067fd39a
int3